Index: Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs
===================================================================
diff -u -rcd7078972189cf51d899754097ef3cbc0ddc26ee -r24e18b63dccdb718dac61c69cc55289553cbaa47
--- Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs (.../DesignWaterLevelCalculationService.cs) (revision cd7078972189cf51d899754097ef3cbc0ddc26ee)
+++ Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs (.../DesignWaterLevelCalculationService.cs) (revision 24e18b63dccdb718dac61c69cc55289553cbaa47)
@@ -74,14 +74,14 @@
/// The hydraulic boundary location used in the calculation.
/// The path which points to the hydraulic boundary database file.
/// The id of the assessment section.
- /// The return period of the assessment section.
+ /// The norm of the assessment section.
/// The object which is used to build log messages.
/// Thrown when an error occurs during parsing of the Hydra-Ring output.
/// Thrown when an error occurs during the calculation.
public void Calculate(HydraulicBoundaryLocation hydraulicBoundaryLocation,
string hydraulicBoundaryDatabaseFilePath,
string ringId,
- double returnPeriod,
+ double norm,
ICalculationMessageProvider messageProvider)
{
string hlcdDirectory = Path.GetDirectoryName(hydraulicBoundaryDatabaseFilePath);
@@ -95,13 +95,13 @@
try
{
- calculator.Calculate(CreateInput(hydraulicBoundaryLocation, returnPeriod, hydraulicBoundaryDatabaseFilePath));
+ calculator.Calculate(CreateInput(hydraulicBoundaryLocation, norm, hydraulicBoundaryDatabaseFilePath));
if (string.IsNullOrEmpty(calculator.LastErrorFileContent))
{
hydraulicBoundaryLocation.DesignWaterLevel = (RoundedDouble)calculator.DesignWaterLevel;
hydraulicBoundaryLocation.DesignWaterLevelCalculationConvergence =
- RingtoetsCommonDataCalculationService.CalculationConverged(calculator.ReliabilityIndex, returnPeriod);
+ RingtoetsCommonDataCalculationService.CalculationConverged(calculator.ReliabilityIndex, norm);
if (hydraulicBoundaryLocation.DesignWaterLevelCalculationConvergence != CalculationConvergence.CalculatedConverged)
{