Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingInput.cs =================================================================== diff -u -r428346aca4810ed68d8778943246f581cb1a4386 -r1ce62a05fe624df22af3f1d83288457ec163dabc --- Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingInput.cs (.../PipingInput.cs) (revision 428346aca4810ed68d8778943246f581cb1a4386) +++ Ringtoets/Piping/src/Ringtoets.Piping.Data/PipingInput.cs (.../PipingInput.cs) (revision 1ce62a05fe624df22af3f1d83288457ec163dabc) @@ -24,6 +24,7 @@ using Core.Common.Base; using Ringtoets.HydraRing.Data; using Ringtoets.Piping.Data.Probabilistics; +using Ringtoets.Piping.Data.Properties; namespace Ringtoets.Piping.Data { @@ -33,6 +34,7 @@ public class PipingInput : Observable { private RingtoetsPipingSurfaceLine surfaceLine; + private double assessmentLevel; /// /// Initializes a new instance of the class. @@ -119,7 +121,22 @@ /// Gets or sets the outside high water level. /// [m] /// - public double AssessmentLevel { get; set; } + /// is . + public double AssessmentLevel + { + get + { + return assessmentLevel; + } + set + { + if (double.IsNaN(value)) + { + throw new ArgumentException(Resources.PipingInput_AssessmentLevel_Cannot_set_to_NaN); + } + assessmentLevel = value; + } + } /// /// Gets or sets the piezometric head at the exit point.