Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/ExportableWaveConditions.cs =================================================================== diff -u -r589249bddd12bd66da39205d408ff6e907220116 -r878116dd950653a518d005a6f1a6e87e8ed585b1 --- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/ExportableWaveConditions.cs (.../ExportableWaveConditions.cs) (revision 589249bddd12bd66da39205d408ff6e907220116) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/ExportableWaveConditions.cs (.../ExportableWaveConditions.cs) (revision 878116dd950653a518d005a6f1a6e87e8ed585b1) @@ -65,11 +65,11 @@ LocationName = waveConditionsInput.HydraulicBoundaryLocation.Name; LocationXCoordinate = waveConditionsInput.HydraulicBoundaryLocation.Location.X; LocationYCoordinate = waveConditionsInput.HydraulicBoundaryLocation.Location.Y; - UseForeshore = waveConditionsInput.UseForeshore; - if (UseForeshore) + if (waveConditionsInput.ForeshoreProfile != null) { ForeshoreName = waveConditionsInput.ForeshoreProfile.Name; } + UseForeshore = waveConditionsInput.UseForeshore; UseBreakWater = waveConditionsInput.UseBreakWater; CoverType = coverType; WaterLevel = waveConditionsOutput.WaterLevel; @@ -110,6 +110,11 @@ public CoverType CoverType { get; private set; } /// + /// Gets the name of the foreshore. + /// + public string ForeshoreName { get; private set; } + + /// /// Gets a value indicating whether a foreshore profile was used in the calculation. /// public bool UseForeshore { get; private set; } @@ -120,11 +125,6 @@ public bool UseBreakWater { get; private set; } /// - /// Gets the name of the foreshore. - /// - public string ForeshoreName { get; private set; } - - /// /// Gets the y coordinate of the location. /// public double LocationYCoordinate { get; private set; }