Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs =================================================================== diff -u -ra663d0eb4c24012fdfafc00ee7aaffb18e75cb96 -rf671892b6623f6561ec3752fd1a3e6344e9a2dbf --- Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision a663d0eb4c24012fdfafc00ee7aaffb18e75cb96) +++ Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision f671892b6623f6561ec3752fd1a3e6344e9a2dbf) @@ -50,6 +50,15 @@ { private const double defaultNorm = 1.0 / 30000; private const RingtoetsWellKnownTileSource defaultWellKnownTileSource = RingtoetsWellKnownTileSource.BingAerial; + + private readonly IList designWaterLevelLocationCalculations1 = new List(); + private readonly IList designWaterLevelLocationCalculations2 = new List(); + private readonly IList designWaterLevelLocationCalculations3 = new List(); + private readonly IList designWaterLevelLocationCalculations4 = new List(); + private readonly IList waveHeightLocationCalculations1 = new List(); + private readonly IList waveHeightLocationCalculations2 = new List(); + private readonly IList waveHeightLocationCalculations3 = new List(); + private readonly IList waveHeightLocationCalculations4 = new List(); private ReferenceLine referenceLine; /// @@ -201,6 +210,94 @@ /// public TechnicalInnovationFailureMechanism TechnicalInnovation { get; } + /// + /// Gets the design water level calculations corresponding to the first norm category boundary. + /// + public IEnumerable DesignWaterLevelLocationCalculations1 + { + get + { + return designWaterLevelLocationCalculations1; + } + } + + /// + /// Gets the design water level calculations corresponding to the second norm category boundary. + /// + public IEnumerable DesignWaterLevelLocationCalculations2 + { + get + { + return designWaterLevelLocationCalculations2; + } + } + + /// + /// Gets the design water level calculations corresponding to the third norm category boundary. + /// + public IEnumerable DesignWaterLevelLocationCalculations3 + { + get + { + return designWaterLevelLocationCalculations3; + } + } + + /// + /// Gets the design water level calculations corresponding to the fourth norm category boundary. + /// + public IEnumerable DesignWaterLevelLocationCalculations4 + { + get + { + return designWaterLevelLocationCalculations4; + } + } + + /// + /// Gets the wave height calculations corresponding to the first norm category boundary. + /// + public IEnumerable WaveHeightLocationCalculations1 + { + get + { + return waveHeightLocationCalculations1; + } + } + + /// + /// Gets the wave height calculations corresponding to the second norm category boundary. + /// + public IEnumerable WaveHeightLocationCalculations2 + { + get + { + return waveHeightLocationCalculations2; + } + } + + /// + /// Gets the wave height calculations corresponding to the third norm category boundary. + /// + public IEnumerable WaveHeightLocationCalculations3 + { + get + { + return waveHeightLocationCalculations3; + } + } + + /// + /// Gets the wave height calculations corresponding to the fourth norm category boundary. + /// + public IEnumerable WaveHeightLocationCalculations4 + { + get + { + return waveHeightLocationCalculations4; + } + } + public string Id { get; set; } public string Name { get; set; } @@ -232,6 +329,37 @@ public BackgroundData BackgroundData { get; } + /// + /// Adds hydraulic boundary location calculations for . + /// + /// The hydraulic boundary location to add calculations for. + public void AddHydraulicBoundaryLocationCalculations(HydraulicBoundaryLocation hydraulicBoundaryLocation) + { + designWaterLevelLocationCalculations1.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + designWaterLevelLocationCalculations2.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + designWaterLevelLocationCalculations3.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + designWaterLevelLocationCalculations4.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + waveHeightLocationCalculations1.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + waveHeightLocationCalculations2.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + waveHeightLocationCalculations3.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + waveHeightLocationCalculations4.Add(new HydraulicBoundaryLocationCalculation(hydraulicBoundaryLocation)); + } + + /// + /// Clears all currently added hydraulic boundary location calculations. + /// + public void ClearHydraulicBoundaryLocationCalculations() + { + designWaterLevelLocationCalculations1.Clear(); + designWaterLevelLocationCalculations2.Clear(); + designWaterLevelLocationCalculations3.Clear(); + designWaterLevelLocationCalculations4.Clear(); + waveHeightLocationCalculations1.Clear(); + waveHeightLocationCalculations2.Clear(); + waveHeightLocationCalculations3.Clear(); + waveHeightLocationCalculations4.Clear(); + } + public IEnumerable GetFailureMechanisms() { yield return Piping;