Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/WaveConditions/WaveConditionsInput.cs =================================================================== diff -u -r3e94a6380eff6262e82341b80285ca1508ceafd9 -r4570069d5b3d1ff54d5a2bfa6a14d083ac1450df --- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/WaveConditions/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 3e94a6380eff6262e82341b80285ca1508ceafd9) +++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/WaveConditions/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 4570069d5b3d1ff54d5a2bfa6a14d083ac1450df) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Collections.Generic; using Core.Common.Utils; namespace Ringtoets.HydraRing.Calculation.Data.Input.WaveConditions @@ -29,6 +30,8 @@ public abstract class WaveConditionsInput : HydraRingCalculationInput { private readonly double beta; + private readonly IEnumerable forelandPoints; + private readonly HydraRingBreakWater breakWater; private readonly HydraRingSection section; /// @@ -37,10 +40,17 @@ /// The id of the section to use during the calculation. /// The id of the hydraulic station to use during the calculation. /// The norm to use during the calculation. + /// The foreland points to use during the calculation. + /// The break water to use during the calculation. /// As a part of the constructor, the is automatically converted into a reliability index. - protected WaveConditionsInput(int sectionId, long hydraulicBoundaryLocationId, double norm) : base(hydraulicBoundaryLocationId) + protected WaveConditionsInput(int sectionId, long hydraulicBoundaryLocationId, double norm, + IEnumerable hydraRingForelandPoints, + HydraRingBreakWater hydraRingBreakWater) + : base(hydraulicBoundaryLocationId) { beta = StatisticsConverter.NormToBeta(norm); + forelandPoints = hydraRingForelandPoints; + breakWater = hydraRingBreakWater; section = new HydraRingSection(sectionId, double.NaN, double.NaN); } @@ -76,6 +86,22 @@ } } + public override IEnumerable ForelandsPoints + { + get + { + return forelandPoints; + } + } + + public override HydraRingBreakWater BreakWater + { + get + { + return breakWater; + } + } + public override double Beta { get