Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs
===================================================================
diff -u -r3f808e3148ed698fcbe6607d7ce998f142038151 -raa56a5d7a6ec9f083ce3bd7a65d0c5b06470fd3b
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision 3f808e3148ed698fcbe6607d7ce998f142038151)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision aa56a5d7a6ec9f083ce3bd7a65d0c5b06470fd3b)
@@ -33,7 +33,8 @@
///
/// Class that holds all grass cover erosion inwards calculation specific input parameters.
///
- public class GrassCoverErosionInwardsInput : Observable, ICalculationInput
+ public class GrassCoverErosionInwardsInput : Observable, ICalculationInput, IUseBreakWater,
+ IUseForeshore
{
private readonly LogNormalDistribution criticalFlowRate;
private RoundedDouble orientation;
@@ -90,34 +91,6 @@
}
///
- /// Gets or sets whether needs to be taken into account.
- ///
- public bool UseBreakWater { get; set; }
-
- ///
- /// Gets the .
- ///
- public BreakWater BreakWater { get; private set; }
-
- ///
- /// Gets or sets whether the needs to be taken into account.
- ///
- public bool UseForeshore { get; set; }
-
- ///
- /// Gets the geometry of the foreshore.
- ///
- public RoundedPoint2DCollection ForeshoreGeometry
- {
- get
- {
- return dikeProfile != null
- ? dikeProfile.ForeshoreGeometry
- : new RoundedPoint2DCollection(2, Enumerable.Empty());
- }
- }
-
- ///
/// Gets the geometry of the dike with roughness data.
///
///
@@ -177,6 +150,34 @@
///
public bool CalculateDikeHeight { get; set; }
+ ///
+ /// Gets or sets whether needs to be taken into account.
+ ///
+ public bool UseBreakWater { get; set; }
+
+ ///
+ /// Gets the .
+ ///
+ public BreakWater BreakWater { get; private set; }
+
+ ///
+ /// Gets or sets whether the needs to be taken into account.
+ ///
+ public bool UseForeshore { get; set; }
+
+ ///
+ /// Gets the geometry of the foreshore.
+ ///
+ public RoundedPoint2DCollection ForeshoreGeometry
+ {
+ get
+ {
+ return dikeProfile != null
+ ? dikeProfile.ForeshoreGeometry
+ : new RoundedPoint2DCollection(2, Enumerable.Empty());
+ }
+ }
+
private void UpdateProfileParameters()
{
if (dikeProfile == null)