Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Data/HydraulicBoundaryLocation.cs
===================================================================
diff -u -r92a966a0a5ae5144b90b89be0cdf30c5eea25d7d -raf521f167fabb7052a06e6a3d12575d3c3f18ab4
--- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Data/HydraulicBoundaryLocation.cs (.../HydraulicBoundaryLocation.cs) (revision 92a966a0a5ae5144b90b89be0cdf30c5eea25d7d)
+++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Data/HydraulicBoundaryLocation.cs (.../HydraulicBoundaryLocation.cs) (revision af521f167fabb7052a06e6a3d12575d3c3f18ab4)
@@ -34,6 +34,14 @@
///
/// Creates a new instance of .
///
+ public HydraulicBoundaryLocation()
+ {
+ DesignWaterLevel = Double.NaN;
+ }
+
+ ///
+ /// Creates a new instance of .
+ ///
/// Id of the .
/// Name of the .
/// X coordinate of the .
@@ -54,31 +62,31 @@
///
/// Gets the database id of .
///
- public long Id { get; private set; }
+ public long Id { get; set; }
///
/// Gets the name of .
///
- public string Name { get; private set; }
+ public string Name { get; set; }
///
/// Gets the coordinates of .
///
- public Point2D Location { get; private set; }
+ public Point2D Location { get; set; }
///
/// Gets the design water level of .
///
public double DesignWaterLevel { get; set; }
- public override string ToString()
- {
- return Name;
- }
-
///
/// Gets or sets the unique identifier for the storage of the class.
///
public long StorageId { get; set; }
+
+ public override string ToString()
+ {
+ return Name;
+ }
}
}
\ No newline at end of file