// Copyright (C) Stichting Deltares 2016. All rights reserved. // // This file is part of Ringtoets. // // Ringtoets is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // // All names, logos, and references to "Deltares" are registered trademarks of // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. namespace Ringtoets.Piping.KernelWrapper { /// /// This class contains all the results of a complete piping calculation. /// public class PipingCalculatorResult { 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 PipingCalculatorResult(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 } }