namespace Wti.Calculation.Piping { /// /// This class contains all the results of a complete piping calculation. /// public class PipingCalculationResult { private readonly double upliftZValue; private readonly double upliftFactorOfSafety; private readonly double heaveZValue; private readonly double heaveFactorOfSafety; private readonly double sellmeijerZValue; private readonly double sellmeijerFactorOfSafety; /// /// Constructs a new . The result will hold all the values which were given. /// /// The z-value of the Uplift sub calculation. /// The factory of safety of the Uplift sub calculation. /// The z-value of the Heave sub calculation. /// The factory of safety of the Heave sub calculation. /// The z-value of the Sellmeijer sub calculation. /// The factory of safety of the Sellmeijer sub calculation. public PipingCalculationResult(double upliftZValue, double upliftFactorOfSafety, double heaveZValue, double heaveFactorOfSafety, double sellmeijerZValue, double sellmeijerFactorOfSafety) { this.upliftZValue = upliftZValue; this.upliftFactorOfSafety = upliftFactorOfSafety; this.heaveZValue = heaveZValue; this.heaveFactorOfSafety = heaveFactorOfSafety; this.sellmeijerZValue = sellmeijerZValue; this.sellmeijerFactorOfSafety = sellmeijerFactorOfSafety; } #region properties /// /// Gets the z-value of the Uplift sub calculation. /// public double UpliftZValue { get { return upliftZValue; } } /// /// Gets the factory of safety of the Uplift sub calculation. /// public double UpliftFactorOfSafety { get { return upliftFactorOfSafety; } } /// /// Gets the z-value of the Heave sub calculation. /// public double HeaveZValue { get { return heaveZValue; } } /// /// Gets the factory of safety of the Heave sub calculation. /// public double HeaveFactorOfSafety { get { return heaveFactorOfSafety; } } /// /// Gets the z-value of the Sellmeijer sub calculation. /// public double SellmeijerZValue { get { return sellmeijerZValue; } } /// /// Gets the factory of safety of the Sellmeijer sub calculation. /// public double SellmeijerFactorOfSafety { get { return sellmeijerFactorOfSafety; } } #endregion } }