namespace Ringtoets.HydraRing.Calculation.Settings { /// /// Container for failure mechanims settings. /// public class FailureMechanismSettings { 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. /// 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 { return valueMin; } } /// /// 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; } } } }