Index: DamEngine/trunk/src/Deltares.DamEngine.Io/DamInput.cs =================================================================== diff -u -r1589 -r1605 --- DamEngine/trunk/src/Deltares.DamEngine.Io/DamInput.cs (.../DamInput.cs) (revision 1589) +++ DamEngine/trunk/src/Deltares.DamEngine.Io/DamInput.cs (.../DamInput.cs) (revision 1605) @@ -41,6 +41,8 @@ private TimeSerie[] operationalInputTimeSeriesField; + private InputSensorData sensorDataField; + private InputDamProjectType damProjectTypeField; private int failureMechanismSystemTypeField; @@ -166,6 +168,17 @@ } /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public InputSensorData SensorData { + get { + return this.sensorDataField; + } + set { + this.sensorDataField = value; + } + } + + /// [System.Xml.Serialization.XmlAttributeAttribute()] public InputDamProjectType DamProjectType { get { @@ -612,6 +625,321 @@ [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SensorGroup { + + private SensorGroupSensorIds[] sensorIdsField; + + private int idField; + + private bool idFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute("SensorIds")] + public SensorGroupSensorIds[] SensorIds { + get { + return this.sensorIdsField; + } + set { + this.sensorIdsField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IdSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] + public partial class SensorGroupSensorIds { + + private int sensorIdField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SensorId { + get { + return this.sensorIdField; + } + set { + this.sensorIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SensorLocation { + + private string locationIdField; + + private int sourceTypePl1WaterLevelAtRiverField; + + private int sourceTypePl1PlLineOffsetBelowDikeTopAtRiverField; + + private int sourceTypePl1PlLineOffsetBelowDikeTopAtPolderField; + + private int sourceTypePl1PlLineOffsetBelowShoulderBaseInsideField; + + private int sourceTypePl1PlLineOffsetBelowDikeToeAtPolderField; + + private int sourceTypePl1WaterLevelAtPolderField; + + private int sourceTypePl3Field; + + private int sourceTypePl4Field; + + private int groupIdField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string LocationId { + get { + return this.locationIdField; + } + set { + this.locationIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl1WaterLevelAtRiver { + get { + return this.sourceTypePl1WaterLevelAtRiverField; + } + set { + this.sourceTypePl1WaterLevelAtRiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl1PlLineOffsetBelowDikeTopAtRiver { + get { + return this.sourceTypePl1PlLineOffsetBelowDikeTopAtRiverField; + } + set { + this.sourceTypePl1PlLineOffsetBelowDikeTopAtRiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl1PlLineOffsetBelowDikeTopAtPolder { + get { + return this.sourceTypePl1PlLineOffsetBelowDikeTopAtPolderField; + } + set { + this.sourceTypePl1PlLineOffsetBelowDikeTopAtPolderField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl1PlLineOffsetBelowShoulderBaseInside { + get { + return this.sourceTypePl1PlLineOffsetBelowShoulderBaseInsideField; + } + set { + this.sourceTypePl1PlLineOffsetBelowShoulderBaseInsideField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl1PlLineOffsetBelowDikeToeAtPolder { + get { + return this.sourceTypePl1PlLineOffsetBelowDikeToeAtPolderField; + } + set { + this.sourceTypePl1PlLineOffsetBelowDikeToeAtPolderField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl1WaterLevelAtPolder { + get { + return this.sourceTypePl1WaterLevelAtPolderField; + } + set { + this.sourceTypePl1WaterLevelAtPolderField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl3 { + get { + return this.sourceTypePl3Field; + } + set { + this.sourceTypePl3Field = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SourceTypePl4 { + get { + return this.sourceTypePl4Field; + } + set { + this.sourceTypePl4Field = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int GroupId { + get { + return this.groupIdField; + } + set { + this.groupIdField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Sensor { + + private SensorPlLineMapping[] plLineMappingField; + + private int idField; + + private double relativeLocationField; + + private int sensorTypeField; + + private int plLineTypeField; + + private bool plLineTypeFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute("PlLineMapping")] + public SensorPlLineMapping[] PlLineMapping { + get { + return this.plLineMappingField; + } + set { + this.plLineMappingField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Id { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public double RelativeLocation { + get { + return this.relativeLocationField; + } + set { + this.relativeLocationField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int SensorType { + get { + return this.sensorTypeField; + } + set { + this.sensorTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int PlLineType { + get { + return this.plLineTypeField; + } + set { + this.plLineTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PlLineTypeSpecified { + get { + return this.plLineTypeFieldSpecified; + } + set { + this.plLineTypeFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] + public partial class SensorPlLineMapping { + + private int pLineTypeField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int PLineType { + get { + return this.pLineTypeField; + } + set { + this.pLineTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class TimeSerie { private TimeSerieTimeStep timeStepField; @@ -4455,7 +4783,55 @@ /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] + public partial class InputSensorData { + + private SensorGroup[] sensorGroupsField; + + private Sensor[] sensorsField; + + private SensorLocation[] sensorLocationsField; + + /// + [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public SensorGroup[] SensorGroups { + get { + return this.sensorGroupsField; + } + set { + this.sensorGroupsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public Sensor[] Sensors { + get { + return this.sensorsField; + } + set { + this.sensorsField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public SensorLocation[] SensorLocations { + get { + return this.sensorLocationsField; + } + set { + this.sensorLocationsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] public enum InputDamProjectType { ///