Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/HydraRingConfiguration.cs
===================================================================
diff -u -r3cba25a5b78c48cd44d8121f2106e5ce0537d571 -rcf2d321fa6dce0263e5a63d60f45ecde4b328086
--- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/HydraRingConfiguration.cs (.../HydraRingConfiguration.cs) (revision 3cba25a5b78c48cd44d8121f2106e5ce0537d571)
+++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/HydraRingConfiguration.cs (.../HydraRingConfiguration.cs) (revision cf2d321fa6dce0263e5a63d60f45ecde4b328086)
@@ -23,6 +23,7 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
+using Ringtoets.HydraRing.Data;
namespace Ringtoets.HydraRing.Calculation
{
@@ -51,6 +52,11 @@
public UncertaintiesType UncertaintiesType { get; set; }
///
+ /// Gets or sets the .
+ ///
+ public HydraulicBoundaryLocation HydraulicBoundaryLocation { get; set; }
+
+ ///
/// Generates a database creation script that can be used to perform a Hydra-Ring calculation.
///
/// The database creation script.
@@ -79,7 +85,7 @@
"UncertaintiesID", UncertaintiesType != UncertaintiesType.Undefined ? (int?) UncertaintiesType : null
},
{
- "DataSetName", "WTI 2017"
+ "DataSetName", "WTI 2017" // Fixed: use the WTI 2017 set of station locations
}
}
};
@@ -92,46 +98,46 @@
new OrderedDictionary
{
{
- "SectionId", 999
+ "SectionId", 999 // TODO: Dike section integration
},
{
- "PresentationId", 1
+ "PresentationId", 1 // Fixed: only relevant in case of combination of dike sections
},
{
- "MainMechanismId", 1
+ "MainMechanismId", 1 // Fixed: only relevant in case of combination of dike sections
},
{
- "Name", "HydraRingLocation"
+ "Name", "HydraRingLocation" // TODO: Dike section integration
},
{
- "Description", "HydraRingLocation"
+ "Description", "HydraRingLocation" // TODO: Dike section integration
},
{
- "RingCoordinateBegin", null
+ "RingCoordinateBegin", null // TODO: Dike section integration
},
{
- "RingCoordinateEnd", null
+ "RingCoordinateEnd", null // TODO: Dike section integration
},
{
- "XCoordinate", null
+ "XCoordinate", null // TODO: Dike cross section integration
},
{
- "YCoordinate", null
+ "YCoordinate", null // TODO: Dike cross section integration
},
{
- "StationId1", null
+ "StationId1", HydraulicBoundaryLocation != null ? (long?) HydraulicBoundaryLocation.Id : null
},
{
- "StationId2", null
+ "StationId2", HydraulicBoundaryLocation != null ? (long?) HydraulicBoundaryLocation.Id : null // Same as "StationId1": only support coupling of one station
},
{
- "Relative", 100.0
+ "Relative", 100.0 // Fixed: only support coupling of one station
},
{
- "Normal", null
+ "Normal", null // TODO: Dike cross section integration
},
{
- "Length", null
+ "Length", null // TODO: Dike section integration
}
}
};