Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanismSectionResult.cs
===================================================================
diff -u -rb6e0f8d41d92ed18c902138dd49cce6e703ee883 -rb5a3ccef1cfc5e4cbfea0a97a8a9ee8ae5a199e2
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanismSectionResult.cs (.../MacroStabilityInwardsFailureMechanismSectionResult.cs) (revision b6e0f8d41d92ed18c902138dd49cce6e703ee883)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsFailureMechanismSectionResult.cs (.../MacroStabilityInwardsFailureMechanismSectionResult.cs) (revision b5a3ccef1cfc5e4cbfea0a97a8a9ee8ae5a199e2)
@@ -32,17 +32,34 @@
///
public class MacroStabilityInwardsFailureMechanismSectionResult : FailureMechanismSectionResult
{
+ private RoundedDouble assessmentLayerThree;
+
///
/// Creates a new instance of .
///
/// The to get the result from.
/// Thrown when is null.
- public MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSection section) : base(section) {}
+ public MacroStabilityInwardsFailureMechanismSectionResult(FailureMechanismSection section) : base(section)
+ {
+ AssessmentLayerThree = RoundedDouble.NaN;
+ }
- protected override RoundedDouble ValidateAssessmentLayerThree(RoundedDouble value)
+ ///
+ /// Gets or sets the value of the tailored assessment of safety.
+ ///
+ /// Thrown when
+ /// is outside of the valid ranges.
+ public RoundedDouble AssessmentLayerThree
{
- ProbabilityHelper.ValidateProbability(value, null, true);
- return value;
+ get
+ {
+ return assessmentLayerThree;
+ }
+ set
+ {
+ ProbabilityHelper.ValidateProbability(value, null, true);
+ assessmentLayerThree = value;
+ }
}
}
}
\ No newline at end of file