Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationServiceOutput.cs
===================================================================
diff -u -r2c02ce70cceb9e22c740df034c94782e44eded33 -ra34dbc4a2d6b3689cde30ea81370912cdaa858ce
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationServiceOutput.cs (.../GrassCoverErosionInwardsCalculationServiceOutput.cs) (revision 2c02ce70cceb9e22c740df034c94782e44eded33)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationServiceOutput.cs (.../GrassCoverErosionInwardsCalculationServiceOutput.cs) (revision a34dbc4a2d6b3689cde30ea81370912cdaa858ce)
@@ -32,11 +32,13 @@
/// The beta result of the calculation.
/// The wave height result of the calculation.
/// The value indicating whether overtopping was dominant in the calculation.
- public GrassCoverErosionInwardsCalculationServiceOutput(double beta, double waveHeight, bool isOvertoppingDominant)
+ /// The dike height result of the calculation.
+ public GrassCoverErosionInwardsCalculationServiceOutput(double beta, double waveHeight, bool isOvertoppingDominant, double dikeHeight = double.NaN)
{
Beta = beta;
WaveHeight = waveHeight;
IsOvertoppingDominant = isOvertoppingDominant;
+ DikeHeight = dikeHeight;
}
///
@@ -54,5 +56,10 @@
/// the overflow sub failure mechanism.
///
public bool IsOvertoppingDominant { get; private set; }
+
+ ///
+ /// Gets the dike height that was a result of the dike height calculation.
+ ///
+ public double DikeHeight { get; private set; }
}
}
\ No newline at end of file