Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs =================================================================== diff -u -r5e3fee978d2dbf7f5a7b2a7118b512a448d5857e -rd8c4ceab914f43e5cfab5f0472477d44ff5fc81f --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision 5e3fee978d2dbf7f5a7b2a7118b512a448d5857e) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision d8c4ceab914f43e5cfab5f0472477d44ff5fc81f) @@ -37,21 +37,27 @@ /// public partial class DesignWaterLevelLocationsView : HydraulicBoundaryLocationsView { + private readonly double norm; private readonly DesignWaterLevelCalculationMessageProvider messageProvider; /// /// Creates a new instance of . /// /// The locations to show in the view. /// The assessment section which the locations belong to. + /// The norm to use during calculations. /// Thrown when or /// is null. - public DesignWaterLevelLocationsView(ObservableList locations, IAssessmentSection assessmentSection) + public DesignWaterLevelLocationsView(ObservableList locations, + IAssessmentSection assessmentSection, + double norm) : base(locations, assessmentSection) { InitializeComponent(); messageProvider = new DesignWaterLevelCalculationMessageProvider(); + + this.norm = norm; } protected override object CreateSelectedItemFromCurrentRow() @@ -69,7 +75,7 @@ AssessmentSection.HydraulicBoundaryDatabase.EffectivePreprocessorDirectory(), locations, hbl => hbl.DesignWaterLevelCalculation, - AssessmentSection.FailureMechanismContribution.Norm, + norm, messageProvider); }