Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsFailureMechanismSectionResult.cs =================================================================== diff -u -rb6e0f8d41d92ed18c902138dd49cce6e703ee883 -rb5a3ccef1cfc5e4cbfea0a97a8a9ee8ae5a199e2 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsFailureMechanismSectionResult.cs (.../GrassCoverErosionInwardsFailureMechanismSectionResult.cs) (revision b6e0f8d41d92ed18c902138dd49cce6e703ee883) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsFailureMechanismSectionResult.cs (.../GrassCoverErosionInwardsFailureMechanismSectionResult.cs) (revision b5a3ccef1cfc5e4cbfea0a97a8a9ee8ae5a199e2) @@ -32,12 +32,17 @@ /// public class GrassCoverErosionInwardsFailureMechanismSectionResult : FailureMechanismSectionResult { + private RoundedDouble assessmentLayerThreeValue; + /// /// Creates a new instance of . /// /// The to get the result from. /// Thrown when is null. - public GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSection section) : base(section) {} + public GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSection section) : base(section) + { + assessmentLayerThreeValue = RoundedDouble.NaN; + } /// /// Gets the value of assessment layer two a. @@ -60,10 +65,22 @@ /// public GrassCoverErosionInwardsCalculation Calculation { get; set; } - 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 assessmentLayerThreeValue; + } + set + { + ProbabilityHelper.ValidateProbability(value, null, true); + assessmentLayerThreeValue = value; + } } } } \ No newline at end of file