Index: src/Plugins/Wti/Wti.Calculation/Piping/PipingCalculationResult.cs
===================================================================
diff -u -r2f9f3715577a997e8717aedc5f3667627ba7eac5 -r5fc71a385897af92ccb092f2f969b5709afab85a
--- src/Plugins/Wti/Wti.Calculation/Piping/PipingCalculationResult.cs (.../PipingCalculationResult.cs) (revision 2f9f3715577a997e8717aedc5f3667627ba7eac5)
+++ src/Plugins/Wti/Wti.Calculation/Piping/PipingCalculationResult.cs (.../PipingCalculationResult.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a)
@@ -3,23 +3,45 @@
///
/// This class contains all the results of a complete piping calculation.
///
- public class PipingCalculationResult {
+ 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
+ public double UpliftZValue
+ {
+ get
{
return upliftZValue;
- }
+ }
}
///
@@ -78,24 +100,5 @@
}
#endregion
-
- ///
- /// 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;
- }
}
}
\ No newline at end of file