Index: dam engine/trunk/src/Deltares.DamEngine.Data/General/Dike.cs
===================================================================
diff -u -r452 -r554
--- dam engine/trunk/src/Deltares.DamEngine.Data/General/Dike.cs (.../Dike.cs) (revision 452)
+++ dam engine/trunk/src/Deltares.DamEngine.Data/General/Dike.cs (.../Dike.cs) (revision 554)
@@ -34,19 +34,36 @@
namespace Deltares.DamEngine.Data.General
{
+ ///
+ /// Exception class for the Dike class
+ ///
+ ///
public class DikeException : Exception
{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The message that describes the error.
public DikeException(string message)
: base(message)
{
}
}
+ ///
+ /// Class for the dike parameter names
+ ///
public class DikeParameterNames
{
+ ///
+ /// The map for soilgeometries2d
+ ///
public const string MapForSoilGeometries2D = "MapForSoilGeometries2D";
}
+ ///
+ /// Class holding all info for a Dike.
+ ///
public class Dike
{
private string description = "";
@@ -61,22 +78,26 @@
private IList gaugePLLines = new List();
private IList nonWaterRetainingObjects;
private IList soilProfiles;
+ private IList soilProfiles2D;
private string soilDatabaseName = "";
private List databaseSoils = new List();
+ ///
+ /// Initializes a new instance of the class.
+ ///
public Dike()
{
- this.Name = "Dijkring";
- this.MapForSoilGeometries2D = "";
+ Name = "Dijkring";
+ MapForSoilGeometries2D = "";
- this.locations = new List();
- this.soilProfiles = new List();
-
- // this.surfaceLines = new DelegatedList { AddMethod = ConvertAddedOldSurfaceLineToNewFormat };
+ locations = new List();
+ soilProfiles = new List();
+ soilProfiles2D = new List();
+ // this.surfaceLines = new DelegatedList { AddMethod = ConvertAddedOldSurfaceLineToNewFormat };
SurfaceLines2 = new List();
- this.pl1Lines = new List();
- this.soilList = new SoilList();
- this.nonWaterRetainingObjects = new List();
+ pl1Lines = new List();
+ soilList = new SoilList();
+ nonWaterRetainingObjects = new List();
removeStiFiles = true;
}
@@ -155,6 +176,18 @@
set { this.soilProfiles = value; }
}
+ ///
+ /// Gets or sets the soilprofiles2d.
+ ///
+ ///
+ /// The soilprofiles2d.
+ ///
+ public virtual IList SoilProfiles2D
+ {
+ get { return soilProfiles2D; }
+ set { soilProfiles2D = value; }
+ }
+
public virtual SoilList SoilList
{
get { return this.soilList; }