Index: Ringtoets/Common/src/Ringtoets.Common.Service/IWaveHeightCalculationService.cs =================================================================== diff -u -r1e533850c7711172462df1e8f569b9f3ff950045 -ra97c4ffe5254af061462539883d25722be13e539 --- Ringtoets/Common/src/Ringtoets.Common.Service/IWaveHeightCalculationService.cs (.../IWaveHeightCalculationService.cs) (revision 1e533850c7711172462df1e8f569b9f3ff950045) +++ Ringtoets/Common/src/Ringtoets.Common.Service/IWaveHeightCalculationService.cs (.../IWaveHeightCalculationService.cs) (revision a97c4ffe5254af061462539883d25722be13e539) @@ -26,7 +26,7 @@ namespace Ringtoets.Common.Service { /// - /// Interface that provides methods for performing Hydra-Ring calculations for design water level. + /// Interface that provides methods for performing Hydra-Ring calculations for wave height. /// public interface IWaveHeightCalculationService { @@ -43,15 +43,12 @@ /// Performs a wave height calculation based on the supplied and returns the result /// if the calculation was successful. Error and status information is logged during the execution of the operation. /// - /// The message provider for the services. /// The to perform the calculation for. /// The HLCD file that should be used for performing the calculation. /// The id of the ring to perform the calculation for. /// The norm to use during the calculation. + /// The message provider for the services. /// A on a successful calculation, null otherwise. - ReliabilityIndexCalculationOutput Calculate(ICalculationMessageProvider messageProvider, - IHydraulicBoundaryLocation hydraulicBoundaryLocation, - string hydraulicBoundaryDatabaseFilePath, - string ringId, double norm); + ReliabilityIndexCalculationOutput Calculate(IHydraulicBoundaryLocation hydraulicBoundaryLocation, string hydraulicBoundaryDatabaseFilePath, string ringId, double norm, ICalculationMessageProvider messageProvider); } } \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationActivity.cs =================================================================== diff -u -r1e533850c7711172462df1e8f569b9f3ff950045 -ra97c4ffe5254af061462539883d25722be13e539 --- Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationActivity.cs (.../WaveHeightCalculationActivity.cs) (revision 1e533850c7711172462df1e8f569b9f3ff950045) +++ Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationActivity.cs (.../WaveHeightCalculationActivity.cs) (revision a97c4ffe5254af061462539883d25722be13e539) @@ -86,9 +86,9 @@ messageProvider.GetCalculationName(hydraulicBoundaryLocation.Name), hydraulicBoundaryDatabaseFilePath), () => hydraulicBoundaryLocation.WaveHeight = (RoundedDouble) double.NaN, - () => WaveHeightCalculationService.Instance.Calculate( - messageProvider, hydraulicBoundaryLocation, hydraulicBoundaryDatabaseFilePath, - ringId, norm)); + () => WaveHeightCalculationService.Instance.Calculate(hydraulicBoundaryLocation, + hydraulicBoundaryDatabaseFilePath, + ringId, norm, messageProvider)); } protected override void OnFinish() Index: Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs =================================================================== diff -u -r03b153b8f94dc5ff3619bdd52c79394a0d7fde85 -ra97c4ffe5254af061462539883d25722be13e539 --- Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision 03b153b8f94dc5ff3619bdd52c79394a0d7fde85) +++ Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision a97c4ffe5254af061462539883d25722be13e539) @@ -74,10 +74,11 @@ return isValid; } - public ReliabilityIndexCalculationOutput Calculate(ICalculationMessageProvider messageProvider, - IHydraulicBoundaryLocation hydraulicBoundaryLocation, + public ReliabilityIndexCalculationOutput Calculate(IHydraulicBoundaryLocation hydraulicBoundaryLocation, string hydraulicBoundaryDatabaseFilePath, - string ringId, double norm) + string ringId, + double norm, + ICalculationMessageProvider messageProvider) { var hlcdDirectory = Path.GetDirectoryName(hydraulicBoundaryDatabaseFilePath); var input = CreateInput(hydraulicBoundaryLocation, norm); Index: Ringtoets/Common/src/Ringtoets.Common.Service/packages.config =================================================================== diff -u -r1e533850c7711172462df1e8f569b9f3ff950045 -ra97c4ffe5254af061462539883d25722be13e539 --- Ringtoets/Common/src/Ringtoets.Common.Service/packages.config (.../packages.config) (revision 1e533850c7711172462df1e8f569b9f3ff950045) +++ Ringtoets/Common/src/Ringtoets.Common.Service/packages.config (.../packages.config) (revision a97c4ffe5254af061462539883d25722be13e539) @@ -1,5 +1,4 @@  -