Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/MacrostabilityInwardsFailureMechanismSectionResult.cs
===================================================================
diff -u -r94b85dc077cddf7535b328b8b3a96a494afac0f6 -r8c0ec57a86cd0d73759f178bee1ed647f62692dc
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/MacrostabilityInwardsFailureMechanismSectionResult.cs (.../MacrostabilityInwardsFailureMechanismSectionResult.cs) (revision 94b85dc077cddf7535b328b8b3a96a494afac0f6)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/StandAlone/SectionResult/MacrostabilityInwardsFailureMechanismSectionResult.cs (.../MacrostabilityInwardsFailureMechanismSectionResult.cs) (revision 8c0ec57a86cd0d73759f178bee1ed647f62692dc)
@@ -19,12 +19,50 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System;
+using Core.Common.Base.Data;
using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Common.Data.Properties;
namespace Ringtoets.Integration.Data.StandAlone.SectionResult
{
- public class MacrostabilityInwardsFailureMechanismSectionResult : ArbitraryProbabilityFailureMechanismSectionResult
+ public class MacrostabilityInwardsFailureMechanismSectionResult : FailureMechanismSectionResult
{
- public MacrostabilityInwardsFailureMechanismSectionResult(FailureMechanismSection section) : base(section) {}
+ private RoundedDouble assessmentLayerTwoA;
+ public MacrostabilityInwardsFailureMechanismSectionResult(FailureMechanismSection section)
+ : base(section)
+ {
+ AssessmentLayerTwoA = (RoundedDouble)1.0;
+ }
+
+ ///
+ /// Gets the probability value of assessment layer two a.
+ ///
+ /// Thrown when is not in range [0,1].
+ public RoundedDouble AssessmentLayerTwoA
+ {
+ get
+ {
+ return assessmentLayerTwoA;
+ }
+ set
+ {
+ if (value < 0 || value > 1)
+ {
+ throw new ArgumentException(Resources.ArbitraryProbabilityFailureMechanismSectionResult_AssessmentLayerTwoA_Value_needs_to_be_between_0_and_1);
+ }
+ assessmentLayerTwoA = value;
+ }
+ }
+
+ ///
+ /// Gets or sets the value of assessment layer three.
+ ///
+ public RoundedDouble AssessmentLayerThree { get; set; }
+
+ ///
+ /// Gets or sets the state of the assessment layer one.
+ ///
+ public bool AssessmentLayerOne { get; set; }
}
}