Index: Ringtoets/Common/src/Ringtoets.Common.Data/Hydraulics/HydraulicBoundaryLocationCalculation.cs =================================================================== diff -u -rda7bb9a6d96d7118d6dcdc2ee17a11d5b43f44c7 -r0e2d1a46c627af6d19cdf21dff840716bac84045 --- Ringtoets/Common/src/Ringtoets.Common.Data/Hydraulics/HydraulicBoundaryLocationCalculation.cs (.../HydraulicBoundaryLocationCalculation.cs) (revision da7bb9a6d96d7118d6dcdc2ee17a11d5b43f44c7) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Hydraulics/HydraulicBoundaryLocationCalculation.cs (.../HydraulicBoundaryLocationCalculation.cs) (revision 0e2d1a46c627af6d19cdf21dff840716bac84045) @@ -21,13 +21,14 @@ using System; using Core.Common.Base; +using Ringtoets.Common.Data.Calculation; namespace Ringtoets.Common.Data.Hydraulics { /// /// This class holds information about a calculation for a hydraulic boundary location. /// - public class HydraulicBoundaryLocationCalculation : Observable + public class HydraulicBoundaryLocationCalculation : Observable, ICalculatable { /// /// Creates a new instance of . @@ -71,17 +72,11 @@ } } - /// - /// Gets a value indicating whether the calculation has already been calculated. - /// - /// true if the calculation is fully calculated, false otherwise. - /// A calculation is fully calculated, depending on whether the illustration points - /// are set to be calculated. - public bool IsCalculated + public bool ShouldCalculate { get { - return HasOutput && InputParameters.ShouldIllustrationPointsBeCalculated == Output.HasGeneralResult; + return !HasOutput || InputParameters.ShouldIllustrationPointsBeCalculated != Output.HasGeneralResult; } } }