Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/GeneralWaveConditionsInput.cs =================================================================== diff -u -r7ac7d2230eac8ce6eb3233596157002c9cb7bc19 -rae93bd6b8ccbffa91f7c5c10e898736b5919b73d --- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/GeneralWaveConditionsInput.cs (.../GeneralWaveConditionsInput.cs) (revision 7ac7d2230eac8ce6eb3233596157002c9cb7bc19) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/GeneralWaveConditionsInput.cs (.../GeneralWaveConditionsInput.cs) (revision ae93bd6b8ccbffa91f7c5c10e898736b5919b73d) @@ -19,13 +19,19 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using Core.Common.Base.Data; + namespace Ringtoets.Revetment.Data { /// /// Class that holds all the static wave conditions input parameters. /// public class GeneralWaveConditionsInput { + private readonly RoundedDouble a; + private readonly RoundedDouble b; + private readonly RoundedDouble c; + /// /// Creates a new instance of . /// @@ -34,24 +40,42 @@ /// The 'c' parameter used in wave conditions calculations. public GeneralWaveConditionsInput(double a, double b, double c) { - A = a; - B = b; - C = c; + this.a = new RoundedDouble(2, a); + this.b = new RoundedDouble(2, b); + this.c = new RoundedDouble(2, c); } /// /// Gets the 'a' parameter used in wave conditions calculations. /// - public double A { get; private set; } + public RoundedDouble A + { + get + { + return a; + } + } /// /// Gets the 'b' parameter used in wave conditions calculations. /// - public double B { get; private set; } + public RoundedDouble B + { + get + { + return b; + } + } /// /// Gets the 'c' parameter used in wave conditions calculations. /// - public double C { get; private set; } + public RoundedDouble C + { + get + { + return c; + } + } } } \ No newline at end of file