Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsView.cs =================================================================== diff -u -r0f28eb71a18af127ad376776ebd2cd597a0aa5c5 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsView.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsView.cs) (revision 0f28eb71a18af127ad376776ebd2cd597a0aa5c5) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsView.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsView.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -103,6 +103,7 @@ CalculationGuiService.CalculateDesignWaterLevels(AssessmentSection.HydraulicBoundaryDatabase.FilePath, AssessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), locations, + hbl => hbl.DesignWaterLevelCalculation, mechanismSpecificNorm, messageProvider); } Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsWaveHeightLocationsView.cs =================================================================== diff -u -r0f28eb71a18af127ad376776ebd2cd597a0aa5c5 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsWaveHeightLocationsView.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsView.cs) (revision 0f28eb71a18af127ad376776ebd2cd597a0aa5c5) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsWaveHeightLocationsView.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsView.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -105,6 +105,7 @@ CalculationGuiService.CalculateWaveHeights(AssessmentSection.HydraulicBoundaryDatabase.FilePath, AssessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), locations, + hbl => hbl.WaveHeightCalculation, mechanismSpecificNorm, messageProvider); } Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs =================================================================== diff -u -r0f28eb71a18af127ad376776ebd2cd597a0aa5c5 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision 0f28eb71a18af127ad376776ebd2cd597a0aa5c5) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -532,6 +532,7 @@ assessmentSection.HydraulicBoundaryDatabase.FilePath, assessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), nodeData.WrappedData, + hbl => hbl.DesignWaterLevelCalculation, mechanismSpecificNorm, new GrassCoverErosionOutwardsDesignWaterLevelCalculationMessageProvider()); }); @@ -582,6 +583,7 @@ assessmentSection.HydraulicBoundaryDatabase.FilePath, assessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), nodeData.WrappedData, + hbl => hbl.WaveHeightCalculation, mechanismSpecificNorm, new GrassCoverErosionOutwardsWaveHeightCalculationMessageProvider()); }); Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs =================================================================== diff -u -r0f28eb71a18af127ad376776ebd2cd597a0aa5c5 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs) (revision 0f28eb71a18af127ad376776ebd2cd597a0aa5c5) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewTest.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -304,7 +304,7 @@ var guiService = mockRepository.StrictMock(); HydraulicBoundaryLocation[] calculatedLocations = null; - guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { calculatedLocations = ((IEnumerable) invocation.Arguments[2]).ToArray(); }); mockRepository.ReplayAll(); @@ -408,7 +408,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); @@ -471,7 +471,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); @@ -536,7 +536,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateDesignWaterLevels(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsWaveHeightLocationsViewTest.cs =================================================================== diff -u -r0f28eb71a18af127ad376776ebd2cd597a0aa5c5 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsWaveHeightLocationsViewTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewTest.cs) (revision 0f28eb71a18af127ad376776ebd2cd597a0aa5c5) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsWaveHeightLocationsViewTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsViewTest.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -304,7 +304,7 @@ var guiService = mockRepository.StrictMock(); HydraulicBoundaryLocation[] calculatedLocations = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { calculatedLocations = ((IEnumerable) invocation.Arguments[2]).ToArray(); }); mockRepository.ReplayAll(); @@ -408,7 +408,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); @@ -470,7 +470,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); @@ -535,7 +535,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs =================================================================== diff -u -r75d12c89224759df39acf21f187f309a3e4ae274 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision 75d12c89224759df39acf21f187f309a3e4ae274) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -68,6 +68,7 @@ CalculationGuiService.CalculateDesignWaterLevels(AssessmentSection.HydraulicBoundaryDatabase.FilePath, AssessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), locations, + hbl => hbl.DesignWaterLevelCalculation, AssessmentSection.FailureMechanismContribution.Norm, messageProvider); } Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs =================================================================== diff -u -r75d12c89224759df39acf21f187f309a3e4ae274 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs (.../WaveHeightLocationsView.cs) (revision 75d12c89224759df39acf21f187f309a3e4ae274) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs (.../WaveHeightLocationsView.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -68,6 +68,7 @@ CalculationGuiService.CalculateWaveHeights(AssessmentSection.HydraulicBoundaryDatabase.FilePath, AssessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), locations, + hbl => hbl.WaveHeightCalculation, AssessmentSection.FailureMechanismContribution.Norm, messageProvider); } Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs =================================================================== diff -u -rc114776ae9eae9848dd5841211bbe2105ae57dc7 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision c114776ae9eae9848dd5841211bbe2105ae57dc7) +++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsPlugin.cs (.../RingtoetsPlugin.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -1430,6 +1430,7 @@ hydraulicBoundaryLocationCalculationGuiService.CalculateDesignWaterLevels(assessmentSection.HydraulicBoundaryDatabase.FilePath, assessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), assessmentSection.HydraulicBoundaryDatabase.Locations, + hbl => hbl.DesignWaterLevelCalculation, assessmentSection.FailureMechanismContribution.Norm, new DesignWaterLevelCalculationMessageProvider()); }); @@ -1462,6 +1463,7 @@ hydraulicBoundaryLocationCalculationGuiService.CalculateWaveHeights(assessmentSection.HydraulicBoundaryDatabase.FilePath, assessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), assessmentSection.HydraulicBoundaryDatabase.Locations, + hbl => hbl.WaveHeightCalculation, assessmentSection.FailureMechanismContribution.Norm, new WaveHeightCalculationMessageProvider()); }); Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs =================================================================== diff -u -r75d12c89224759df39acf21f187f309a3e4ae274 -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs (.../WaveHeightLocationsViewTest.cs) (revision 75d12c89224759df39acf21f187f309a3e4ae274) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightLocationsViewTest.cs (.../WaveHeightLocationsViewTest.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) @@ -299,7 +299,7 @@ var guiService = mockRepository.StrictMock(); IEnumerable locations = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { locations = (IEnumerable) invocation.Arguments[2]; }); mockRepository.ReplayAll(); @@ -361,7 +361,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); @@ -423,7 +423,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString(); @@ -484,7 +484,7 @@ HydraulicBoundaryLocation[] calculatedLocationsValue = null; double normValue = double.NaN; ICalculationMessageProvider messageProviderValue = null; - guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, 1, null)).IgnoreArguments().WhenCalled( + guiService.Expect(ch => ch.CalculateWaveHeights(null, null, null, null, 1, null)).IgnoreArguments().WhenCalled( invocation => { hydraulicBoundaryDatabaseFilePathValue = invocation.Arguments[0].ToString();