Index: Ringtoets/Common/src/Ringtoets.Common.Data/Probability/NormProbabilityInput.cs =================================================================== diff -u -r4936ea40e490dd8a3ed500e1c5a8f8390ff31491 -r8047e7fd59525ed424105aaefc4ee88b9ae8def6 --- Ringtoets/Common/src/Ringtoets.Common.Data/Probability/NormProbabilityInput.cs (.../NormProbabilityInput.cs) (revision 4936ea40e490dd8a3ed500e1c5a8f8390ff31491) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Probability/NormProbabilityInput.cs (.../NormProbabilityInput.cs) (revision 8047e7fd59525ed424105aaefc4ee88b9ae8def6) @@ -29,6 +29,7 @@ /// public class NormProbabilityInput { + private double contribution; private int n; /// @@ -37,12 +38,15 @@ public NormProbabilityInput() { N = 2; + Norm = 0; + Contribution = double.NaN; } /// /// Gets or sets the 'N' parameter used to factor in the 'length effect'. /// - /// Thrown when the is not in interval [1-20]. + /// Thrown when the is not in interval + /// [1-20]. public int N { get @@ -58,5 +62,32 @@ n = value; } } + + /// + /// Gets or sets the contribution of failure mechanism as a percentage (0-100) to the total of the + /// failure probability of the assessment section. + /// + /// Thrown when the is not + /// in interval [1-100]. + public double Contribution + { + get + { + return contribution; + } + set + { + if (value < 0 || value > 100) + { + throw new ArgumentOutOfRangeException("value", Resources.Contribution_Value_should_be_in_interval_0_100); + } + contribution = value; + } + } + + /// + /// Gets or sets the return period to assess for. + /// + public int Norm { get; set; } } } \ No newline at end of file