Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresCalculationService.cs
===================================================================
diff -u -r83024e3b1086e1dba93b83df874bd4781f67aa63 -rab20c4eb4ca81bd3845d50210d2bdb301177af6a
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresCalculationService.cs (.../ClosingStructuresCalculationService.cs) (revision 83024e3b1086e1dba93b83df874bd4781f67aa63)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Service/ClosingStructuresCalculationService.cs (.../ClosingStructuresCalculationService.cs) (revision ab20c4eb4ca81bd3845d50210d2bdb301177af6a)
@@ -27,6 +27,7 @@
using Ringtoets.ClosingStructures.Service.Properties;
using Ringtoets.Common.Data.AssessmentSection;
using Ringtoets.Common.Data.FailureMechanism;
+using Ringtoets.Common.Data.Structures;
using Ringtoets.Common.Service;
using Ringtoets.HydraRing.Calculation.Calculator;
using Ringtoets.HydraRing.Calculation.Calculator.Factory;
@@ -49,18 +50,18 @@
private bool canceled;
///
- /// Performs a height structures calculation based on the supplied and sets
- /// if the calculation was successful. Error and status information is
+ /// Performs a height structures calculation based on the supplied and sets
+ /// if the calculation was successful. Error and status information is
/// logged during the execution of the operation.
///
- /// The that holds all the information required to perform the calculation.
+ /// The that holds all the information required to perform the calculation.
/// The that holds information about the norm used in the calculation.
/// The to create input with.
/// The to create the input with for the calculation.
/// The amount of contribution for this failure mechanism in the assessment section.
/// The directory of the HLCD file that should be used for performing the calculation.
///
- public void Calculate(ClosingStructuresCalculation calculation,
+ public void Calculate(StructuresCalculation calculation,
IAssessmentSection assessmentSection,
FailureMechanismSection failureMechanismSection,
GeneralClosingStructuresInput generalInput,
@@ -127,7 +128,7 @@
canceled = true;
}
- public bool Validate(ClosingStructuresCalculation calculation, IAssessmentSection assessmentSection)
+ public bool Validate(StructuresCalculation calculation, IAssessmentSection assessmentSection)
{
CalculationServiceHelper.LogValidationBeginTime(calculation.Name);
var messages = ValidateInput(calculation.InputParameters, assessmentSection);
@@ -137,7 +138,7 @@
return !messages.Any();
}
- private static StructuresClosureVerticalWallCalculationInput CreateClosureVerticalWallCalculationInput(ClosingStructuresCalculation calculation,
+ private static StructuresClosureVerticalWallCalculationInput CreateClosureVerticalWallCalculationInput(StructuresCalculation calculation,
FailureMechanismSection failureMechanismSection,
GeneralClosingStructuresInput generalInput)
{
@@ -168,7 +169,7 @@
calculation.InputParameters.DeviationWaveDirection);
}
- private static StructuresClosureLowSillCalculationInput CreateLowSillCalculationInput(ClosingStructuresCalculation calculation,
+ private static StructuresClosureLowSillCalculationInput CreateLowSillCalculationInput(StructuresCalculation calculation,
FailureMechanismSection failureMechanismSection,
GeneralClosingStructuresInput generalInput)
{
@@ -198,7 +199,7 @@
calculation.InputParameters.WidthFlowApertures.Mean, calculation.InputParameters.WidthFlowApertures.CoefficientOfVariation);
}
- private static StructuresClosureFloodedCulvertCalculationInput CreateFloodedCulvertCalculationInput(ClosingStructuresCalculation calculation,
+ private static StructuresClosureFloodedCulvertCalculationInput CreateFloodedCulvertCalculationInput(StructuresCalculation calculation,
FailureMechanismSection failureMechanismSection,
GeneralClosingStructuresInput generalInput)
{