Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs
===================================================================
diff -u -r5c77968df3d50b52ec1285c1305f00833fd40a79 -r801944e042197afab2cf3bb57359970479e286b3
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs (.../MacroStabilityInwardsInput.cs) (revision 5c77968df3d50b52ec1285c1305f00833fd40a79)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsInput.cs (.../MacroStabilityInwardsInput.cs) (revision 801944e042197afab2cf3bb57359970479e286b3)
@@ -24,6 +24,7 @@
using Core.Common.Base.Data;
using Ringtoets.Common.Data.Calculation;
using Ringtoets.Common.Data.Hydraulics;
+using Ringtoets.MacroStabilityInwards.Data.SoilProfile;
using Ringtoets.MacroStabilityInwards.Primitives;
namespace Ringtoets.MacroStabilityInwards.Data
@@ -162,6 +163,38 @@
}
}
+ #region Derived input
+
+ ///
+ /// Gets or sets the outside high water level.
+ /// [m]
+ ///
+ /// Thrown when the user attempts to set the
+ /// assessment level while is false
+ public RoundedDouble AssessmentLevel
+ {
+ get
+ {
+ if (!UseAssessmentLevelManualInput)
+ {
+ return HydraulicBoundaryLocation?.DesignWaterLevel ?? new RoundedDouble(2, double.NaN);
+ }
+
+ return assessmentLevel;
+ }
+ set
+ {
+ if (!UseAssessmentLevelManualInput)
+ {
+ throw new InvalidOperationException("UseAssessmentLevelManualInput is false");
+ }
+
+ assessmentLevel = value.ToPrecision(assessmentLevel.NumberOfDecimalPlaces);
+ }
+ }
+
+ #endregion
+
#region settings
///
@@ -566,37 +599,5 @@
}
#endregion
-
- #region Derived input
-
- ///
- /// Gets or sets the outside high water level.
- /// [m]
- ///
- /// Thrown when the user attempts to set the
- /// assessment level while is false
- public RoundedDouble AssessmentLevel
- {
- get
- {
- if (!UseAssessmentLevelManualInput)
- {
- return HydraulicBoundaryLocation?.DesignWaterLevel ?? new RoundedDouble(2, double.NaN);
- }
-
- return assessmentLevel;
- }
- set
- {
- if (!UseAssessmentLevelManualInput)
- {
- throw new InvalidOperationException("UseAssessmentLevelManualInput is false");
- }
-
- assessmentLevel = value.ToPrecision(assessmentLevel.NumberOfDecimalPlaces);
- }
- }
-
- #endregion
}
}
\ No newline at end of file