Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Settings/FailureMechanismSettings.cs
===================================================================
diff -u -r6cec21ca5e9396202bd248dfabc181857bf433a5 -r315c97cc1170e8d835360b43435dc816bfaf196c
--- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Settings/FailureMechanismSettings.cs (.../FailureMechanismSettings.cs) (revision 6cec21ca5e9396202bd248dfabc181857bf433a5)
+++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Settings/FailureMechanismSettings.cs (.../FailureMechanismSettings.cs) (revision 315c97cc1170e8d835360b43435dc816bfaf196c)
@@ -7,21 +7,25 @@
{
private readonly double valueMin;
private readonly double valueMax;
+ private readonly double faultTreeModelId;
///
/// Creates a new instance of the class.
///
/// The minimum value to use while iterating to a target probability.
/// The maximum value to use while iterating to a target probability.
- public FailureMechanismSettings(double valueMin, double valueMax)
+ /// The fault tree model id.
+ public FailureMechanismSettings(double valueMin, double valueMax, double faultTreeModelId)
{
this.valueMin = valueMin;
this.valueMax = valueMax;
+ this.faultTreeModelId = faultTreeModelId;
}
///
/// Gets the minimum value to use while iterating to a target probability.
///
+ /// This property is only applicable in case of type-2 computations.
public double ValueMin
{
get
@@ -33,12 +37,24 @@
///
/// Gets the maximum value to use while iterating to a target probability.
///
+ /// This property is only applicable in case of type-2 computations.
public double ValueMax
{
get
{
return valueMax;
}
}
+
+ ///
+ /// Gets the fault tree model id.
+ ///
+ public double FaultTreeModelId
+ {
+ get
+ {
+ return faultTreeModelId;
+ }
+ }
}
}
\ No newline at end of file