Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs =================================================================== diff -u -r5bf3ab7f70cfc6ef3d15d590b527ade100e01235 -rae93bd6b8ccbffa91f7c5c10e898736b5919b73d --- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 5bf3ab7f70cfc6ef3d15d590b527ade100e01235) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision ae93bd6b8ccbffa91f7c5c10e898736b5919b73d) @@ -42,7 +42,6 @@ private ForeshoreProfile foreshoreProfile; private RoundedDouble upperBoundaryRevetment; private RoundedDouble lowerBoundaryRevetment; - private WaveConditionsInputStepSize stepSize; private RoundedDouble upperBoundaryWaterLevels; private RoundedDouble lowerBoundaryWaterLevels; private RoundedDouble orientation; @@ -56,7 +55,7 @@ upperBoundaryRevetment = new RoundedDouble(2, double.NaN); lowerBoundaryRevetment = new RoundedDouble(2, double.NaN); - stepSize = WaveConditionsInputStepSize.Half; + StepSize = WaveConditionsInputStepSize.Half; upperBoundaryWaterLevels = new RoundedDouble(2, double.NaN); lowerBoundaryWaterLevels = new RoundedDouble(2, double.NaN); @@ -194,18 +193,7 @@ /// /// Gets or sets the step size used for determining . /// - /// Thrown when value is smaller than or equal to 0. - public WaveConditionsInputStepSize StepSize - { - get - { - return stepSize; - } - set - { - stepSize = value; - } - } + public WaveConditionsInputStepSize StepSize { get; set; } /// /// Gets or sets the lower boundary of the range. @@ -310,7 +298,7 @@ waterLevels.Add(lowerBoundary); - double stepSizeValue = stepSize.AsValue(); + double stepSizeValue = StepSize.AsValue(); RoundedDouble currentWaterLevel = new RoundedDouble(2, Math.Floor(lowerBoundary/stepSizeValue)*stepSizeValue + stepSizeValue); while (currentWaterLevel < upperBoundary)