Index: Ringtoets/Common/src/Ringtoets.Common.Data/Hydraulics/WaveHeightCalculation.cs
===================================================================
diff -u -ra5c551a343fee7ea3d7e46dd36c82cf180a1b597 -r7f4eb38b0c9023e8a66cbce632cd10a16ef9e4bb
--- Ringtoets/Common/src/Ringtoets.Common.Data/Hydraulics/WaveHeightCalculation.cs (.../WaveHeightCalculation.cs) (revision a5c551a343fee7ea3d7e46dd36c82cf180a1b597)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Hydraulics/WaveHeightCalculation.cs (.../WaveHeightCalculation.cs) (revision 7f4eb38b0c9023e8a66cbce632cd10a16ef9e4bb)
@@ -46,6 +46,17 @@
this.hydraulicBoundaryLocation = hydraulicBoundaryLocation;
}
+ ///
+ /// Gets the observable object to notify upon an internal state change.
+ ///
+ public IObservable ObservableObject
+ {
+ get
+ {
+ return hydraulicBoundaryLocation;
+ }
+ }
+
public long Id
{
get
@@ -85,21 +96,14 @@
///
/// Gets a value indicating whether this calculation has already been calculated.
///
- ///
+ /// true if the calculation is fully calculated, false otherwise.
+ /// A calculation is fully calculated, depending on if the illustration points
+ /// are set to be calculated.
public bool IsCalculated()
{
HydraulicBoundaryLocationCalculation calculation = hydraulicBoundaryLocation.WaveHeightCalculation;
return calculation.HasOutput
&& calculation.InputParameters.ShouldIllustrationPointsBeCalculated == calculation.Output.HasIllustrationPoints;
}
-
- ///
- /// Gets the observable object to notify upon an internal state change.
- ///
- ///
- public IObservable GetObservableObject()
- {
- return hydraulicBoundaryLocation;
- }
}
}
\ No newline at end of file