diff --git a/nsw/HIS-NORD/Transmitter-Tool/client.conf b/nsw/HIS-NORD/Transmitter-Tool/client.conf index 5ec1d30a..6f62a85e 100644 --- a/nsw/HIS-NORD/Transmitter-Tool/client.conf +++ b/nsw/HIS-NORD/Transmitter-Tool/client.conf @@ -1,7 +1,8 @@ # HISMV ImportClient Konfiguration # Raute (#) zum auskommentieren # Serveradresse -SERVER = 62.52.6.41 +# SERVER = 62.52.6.41 +SERVER = 62.52.6.45 # Paketgroesse (Standard ist 500, nur bei abreissender Verbindung veraendern) #PACKETSIZE = 500 PORT = 7283 diff --git a/nsw/HIS-NORD/Transmitter-Tool/client.log b/nsw/HIS-NORD/Transmitter-Tool/client.log index 87eb42ec..e81cda55 100644 --- a/nsw/HIS-NORD/Transmitter-Tool/client.log +++ b/nsw/HIS-NORD/Transmitter-Tool/client.log @@ -211,3 +211,16 @@ 10.12.2015 20:18:59 PACKETSIZE: 500 10.12.2015 20:18:59 Tiles: 1 10.12.2015 20:18:59 No more Answers + ----------------------------- +20.01.2016 19:13:37 Client started + ----------------------------- +20.01.2016 19:13:39 No more Answers +20.01.2016 19:13:40 FileName: IMP\20151227111102-ad8761c2-bfbe-4afc-a9f5-004ab739ebd2.xml +20.01.2016 19:13:40 FileSize: 29212(28,53 kB) + ----------------------------- +20.01.2016 19:13:43 20151227111102-ad8761c2-bfbe-4afc-a9f5-004ab739ebd2.xml(28,53 kB) - Transfer successful + ----------------------------- +20.01.2016 19:15:25 Client started + ----------------------------- +20.01.2016 19:15:25 No files to send +20.01.2016 19:15:26 No more Answers diff --git a/nsw/Source/SendNSWMessageService/NSWSendService.cs b/nsw/Source/SendNSWMessageService/NSWSendService.cs index 96979cc4..2e7d1a3d 100644 --- a/nsw/Source/SendNSWMessageService/NSWSendService.cs +++ b/nsw/Source/SendNSWMessageService/NSWSendService.cs @@ -278,9 +278,9 @@ namespace SendNSWMessageService } else { - _log.Fatal("database connection failure, stopping service"); - this.EventLog.WriteEntry("NSW Send Service stopped: DB connection failed", EventLogEntryType.Error); - this.Stop(); + // _log.Fatal("database connection failure, stopping service"); + this.EventLog.WriteEntry("NSW Send Service DB connection failure", EventLogEntryType.Warning); + // this.Stop(); } lock (this._timerlock) diff --git a/nsw/Source/bsmd.ReportGenerator/ReportService.cs b/nsw/Source/bsmd.ReportGenerator/ReportService.cs index 90834295..96de96a9 100644 --- a/nsw/Source/bsmd.ReportGenerator/ReportService.cs +++ b/nsw/Source/bsmd.ReportGenerator/ReportService.cs @@ -81,8 +81,7 @@ namespace bsmd.ReportGenerator } else { - this.EventLog.WriteEntry("ReportService stopped: DB connection failed", EventLogEntryType.Error); - this.Stop(); + this.EventLog.WriteEntry("ReportService DB connection failed", EventLogEntryType.Error); } lock (this._timerlock) diff --git a/nsw/Source/bsmd.database/DBManager.cs b/nsw/Source/bsmd.database/DBManager.cs index b1320528..81d629ee 100644 --- a/nsw/Source/bsmd.database/DBManager.cs +++ b/nsw/Source/bsmd.database/DBManager.cs @@ -56,7 +56,7 @@ namespace bsmd.database } catch (Exception ex) { - _log.Error("DBManager cannot connect", ex); + _log.ErrorFormat("DBManager cannot connect:{0}", ex.Message); return false; } } diff --git a/nsw/Source/bsmd.database/Extensions.cs b/nsw/Source/bsmd.database/Extensions.cs index d462fbcf..30a687dd 100644 --- a/nsw/Source/bsmd.database/Extensions.cs +++ b/nsw/Source/bsmd.database/Extensions.cs @@ -90,5 +90,10 @@ namespace bsmd.database } } + public static string ToDBHDateString(this DateTime source) + { + return source.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"); + } + } } diff --git a/nsw/Source/bsmd.database/InfectedArea.cs b/nsw/Source/bsmd.database/InfectedArea.cs new file mode 100644 index 00000000..aa338a1c --- /dev/null +++ b/nsw/Source/bsmd.database/InfectedArea.cs @@ -0,0 +1,106 @@ +// +// Class: InfectedArea +// Current CLR: 4.0.30319.34209 +// System: Microsoft Visual Studio 14.0 +// Author: dani +// Created: 2/26/2016 8:35:02 AM +// +// Copyright (c) 2016 Informatikbüro Daniel Schick. All rights reserved. + +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; + +namespace bsmd.database +{ + public class InfectedArea : DatabaseEntity, ISublistElement + { + + public InfectedArea() + { + this.tablename = "[dbo].[InfectedArea]"; + } + + #region Properties + + public MDH MDH { get; set; } + + [ShowReport] + public string InfectedAreaPort { get; set; } + + [ShowReport] + public DateTime? InfectedAreaDate { get; set; } + + public string Identifier { get; set; } + + #endregion + + #region abstract class implementation + + public override List LoadList(IDataReader reader) + { + List result = new List(); + + while (reader.Read()) + { + InfectedArea ia = new InfectedArea(); + ia.id = reader.GetGuid(0); + if (!reader.IsDBNull(1)) ia.InfectedAreaPort = reader.GetString(1); + if (!reader.IsDBNull(2)) ia.InfectedAreaDate = reader.GetDateTime(2); + if (!reader.IsDBNull(3)) ia.Identifier = reader.GetString(3); + result.Add(ia); + } + + reader.Close(); + return result; + } + + public override void PrepareLoadCommand(IDbCommand cmd, Message.LoadFilter filter, params object[] criteria) + { + string query = string.Format("SELECT Id, InfectedAreaPort, InfectedAreaDate, " + + "Identifier FROM {0} ", this.Tablename); + + switch (filter) + { + case Message.LoadFilter.MDH_ID: + query += "WHERE MDH_Id = @MDHID"; + if (!cmd.Parameters.Contains("@MDHID")) + ((SqlCommand)cmd).Parameters.AddWithValue("@MDHID", criteria[0]); + break; + case Message.LoadFilter.ALL: + default: + + break; + } + cmd.CommandText = query; + } + + public override void PrepareSave(IDbCommand cmd) + { + SqlCommand scmd = cmd as SqlCommand; + + scmd.Parameters.AddWithNullableValue("@P1", this.MDH.Id); + scmd.Parameters.AddWithNullableValue("@P2", this.InfectedAreaPort); + scmd.Parameters.AddWithNullableValue("@P3", this.InfectedAreaDate); + scmd.Parameters.AddWithNullableValue("@P4", this.Identifier); + + if (this.IsNew) + { + this.CreateId(); + scmd.Parameters.AddWithValue("@ID", this.Id); + scmd.CommandText = string.Format("INSERT INTO {0} (Id, MDH_Id, InfectedAreaPort, InfectedAreaDate, " + + "Identifier) VALUES (@ID, @P1, @P2, @P3, @P4)", this.Tablename); + } + else + { + scmd.CommandText = string.Format("UPDATE {0} SET InfectedAreaPort = @P2, InfectedAreaDate = @P3, " + + "WHERE Id = @ID", this.Tablename); + scmd.Parameters.AddWithNullableValue("@ID", this.Id); + } + } + + #endregion + + } +} diff --git a/nsw/Source/bsmd.database/MDH.cs b/nsw/Source/bsmd.database/MDH.cs index 85104937..1e43643a 100644 --- a/nsw/Source/bsmd.database/MDH.cs +++ b/nsw/Source/bsmd.database/MDH.cs @@ -292,7 +292,27 @@ namespace bsmd.database { DBManager.Instance.Save(ia); } + } + public SanitaryMeasuresDetail GetSanitaryMeasuresDetailWithIdentifier(string identifier) + { + foreach (SanitaryMeasuresDetail sd in this.sanitaryMeasuresDetails) + if (sd.Identifier.Equals(identifier)) return sd; + return null; + } + + public StowawaysJoiningLocation GetStowawaysJoiningLocationWithIdentifier(string identifier) + { + foreach (StowawaysJoiningLocation sj in this.stowawaysJoiningLocations) + if (sj.Identifier.Equals(identifier)) return sj; + return null; + } + + public InfectedArea GetInfectedAreaWithIdentifier(string identifier) + { + foreach (InfectedArea ia in this.infectedAreas) + if (ia.Identifier.Equals(identifier)) return ia; + return null; } #endregion diff --git a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs index ee4624e2..d044ea19 100644 --- a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs +++ b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs @@ -2,6 +2,6 @@ [assembly: AssemblyCompany("Informatikbüro Daniel Schick")] [assembly: AssemblyProduct("BSMD NSW interface")] -[assembly: AssemblyInformationalVersion("3.0.1")] +[assembly: AssemblyInformationalVersion("3.0.2")] [assembly: AssemblyCopyright("Copyright © 2014-2016 Informatikbüro Daniel Schick. All rights reserved.")] [assembly: AssemblyTrademark("")] \ No newline at end of file diff --git a/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs b/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs index 0141c6a2..485d2fd2 100644 --- a/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs +++ b/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs @@ -1,4 +1,4 @@ using System.Reflection; -[assembly: AssemblyVersion("3.0.1.*")] +[assembly: AssemblyVersion("3.0.2.*")] diff --git a/nsw/Source/bsmd.database/SanitaryMeasuresDetail.cs b/nsw/Source/bsmd.database/SanitaryMeasuresDetail.cs new file mode 100644 index 00000000..8428fa9a --- /dev/null +++ b/nsw/Source/bsmd.database/SanitaryMeasuresDetail.cs @@ -0,0 +1,113 @@ +// +// Class: SanitaryMeasuresDetail +// Current CLR: 4.0.30319.34209 +// System: Microsoft Visual Studio 14.0 +// Author: dani +// Created: 2/23/2016 8:35:02 AM +// +// Copyright (c) 2016 Informatikbüro Daniel Schick. All rights reserved. + + +using System; +using System.Collections.Generic; +using System.Data.SqlClient; +using System.Data; + +namespace bsmd.database +{ + public class SanitaryMeasuresDetail : DatabaseEntity, ISublistElement + { + + public SanitaryMeasuresDetail() + { + this.tablename = "[dbo].[SanitaryMeasuresDetail]"; + } + + #region Properties + + public MDH MDH { get; set; } + + [ShowReport] + public string SanitaryMeasuresType { get; set; } + + [ShowReport] + public string SanitaryMeasuresLocation { get; set; } + + [ShowReport] + public DateTime? SanitaryMeasuresDate { get; set; } + + public string Identifier { get; set; } + + #endregion + + #region abstract class implementation + + public override void PrepareSave(IDbCommand cmd) + { + SqlCommand scmd = cmd as SqlCommand; + + scmd.Parameters.AddWithNullableValue("@P1", this.MDH.Id); + scmd.Parameters.AddWithNullableValue("@P2", this.SanitaryMeasuresType); + scmd.Parameters.AddWithNullableValue("@P3", this.SanitaryMeasuresLocation); + scmd.Parameters.AddWithNullableValue("@P4", this.SanitaryMeasuresDate); + scmd.Parameters.AddWithNullableValue("@P5", this.Identifier); + + if (this.IsNew) + { + this.CreateId(); + scmd.Parameters.AddWithValue("@ID", this.Id); + scmd.CommandText = string.Format("INSERT INTO {0} (Id, MDH_Id, SanitaryMeasuresType, SanitaryMeasuresLocation, " + + "SanitaryMeasuresDate, Identifier) VALUES (@ID, @P1, @P2, @P3, @P4, @P5)", this.Tablename); + } + else + { + scmd.CommandText = string.Format("UPDATE {0} SET SanitaryMeasuresType = @P2, SanitaryMeasuresLocation = @P3, " + + "SanitaryMeasuresDate = @P4 WHERE Id = @ID", this.Tablename); + scmd.Parameters.AddWithNullableValue("@ID", this.Id); + } + } + + public override void PrepareLoadCommand(IDbCommand cmd, Message.LoadFilter filter, params object[] criteria) + { + string query = string.Format("SELECT Id, SanitaryMeasuresType, SanitaryMeasuresLocation, " + + "SanitaryMeasuresDate, Identifier FROM {0} ", this.Tablename); + + switch (filter) + { + case Message.LoadFilter.MDH_ID: + query += "WHERE MDH_Id = @MDHID"; + if(!cmd.Parameters.Contains("@MDHID")) + ((SqlCommand)cmd).Parameters.AddWithValue("@MDHID", criteria[0]); + break; + case Message.LoadFilter.ALL: + default: + + break; + } + cmd.CommandText = query; + } + + public override List LoadList(IDataReader reader) + { + List result = new List(); + + while (reader.Read()) + { + SanitaryMeasuresDetail smd = new SanitaryMeasuresDetail(); + smd.id = reader.GetGuid(0); + if (!reader.IsDBNull(1)) smd.SanitaryMeasuresType = reader.GetString(1); + if (!reader.IsDBNull(2)) smd.SanitaryMeasuresLocation = reader.GetString(2); + if (!reader.IsDBNull(3)) smd.SanitaryMeasuresDate = reader.GetDateTime(3); + if (!reader.IsDBNull(4)) smd.Identifier = reader.GetString(4); + result.Add(smd); + } + + reader.Close(); + return result; + } + + #endregion + + + } +} diff --git a/nsw/Source/bsmd.database/StowawaysJoiningLocation.cs b/nsw/Source/bsmd.database/StowawaysJoiningLocation.cs new file mode 100644 index 00000000..2c190b35 --- /dev/null +++ b/nsw/Source/bsmd.database/StowawaysJoiningLocation.cs @@ -0,0 +1,101 @@ +// +// Class: StowawaysJoiningLocation +// Current CLR: 4.0.30319.34209 +// System: Microsoft Visual Studio 14.0 +// Author: dani +// Created: 2/23/2016 8:35:02 AM +// +// Copyright (c) 2016 Informatikbüro Daniel Schick. All rights reserved. + + +using System; +using System.Collections.Generic; +using System.Data.SqlClient; +using System.Data; + +namespace bsmd.database +{ + public class StowawaysJoiningLocation : DatabaseEntity, ISublistElement + { + + public StowawaysJoiningLocation() + { + this.tablename = "[dbo].[StowawaysJoiningLocation]"; + } + + #region Properties + + public MDH MDH { get; set; } + + [ShowReport] + public string StowawayJoiningLocation { get; set; } + + public string Identifier { get; set; } + + #endregion + + #region abstract class implementation + + public override void PrepareSave(IDbCommand cmd) + { + SqlCommand scmd = cmd as SqlCommand; + + scmd.Parameters.AddWithNullableValue("@P1", this.MDH.Id); + scmd.Parameters.AddWithNullableValue("@P2", this.StowawayJoiningLocation); + scmd.Parameters.AddWithNullableValue("@P3", this.Identifier); + + if (this.IsNew) + { + this.CreateId(); + scmd.Parameters.AddWithValue("@ID", this.Id); + scmd.CommandText = string.Format("INSERT INTO {0} (Id, MDH_Id, StowawaysJoiningLocation, " + + "Identifier) VALUES (@ID, @P1, @P2, @P3)", this.Tablename); + } + else + { + scmd.CommandText = string.Format("UPDATE {0} SET StowawaysJoiningLocation = @P2 WHERE Id = @ID", this.Tablename); + scmd.Parameters.AddWithNullableValue("@ID", this.Id); + } + } + + public override void PrepareLoadCommand(IDbCommand cmd, Message.LoadFilter filter, params object[] criteria) + { + string query = string.Format("SELECT Id, StowawaysJoiningLocation, Identifier FROM {0} ", this.Tablename); + + switch (filter) + { + case Message.LoadFilter.MDH_ID: + query += "WHERE MDH_Id = @MDHID"; + if (!cmd.Parameters.Contains("@MDHID")) + ((SqlCommand)cmd).Parameters.AddWithValue("@MDHID", criteria[0]); + break; + case Message.LoadFilter.ALL: + default: + + break; + } + cmd.CommandText = query; + } + + public override List LoadList(IDataReader reader) + { + List result = new List(); + + while (reader.Read()) + { + StowawaysJoiningLocation sjl = new StowawaysJoiningLocation(); + sjl.id = reader.GetGuid(0); + if (!reader.IsDBNull(1)) sjl.StowawayJoiningLocation = reader.GetString(1); + if (!reader.IsDBNull(2)) sjl.Identifier = reader.GetString(2); + result.Add(sjl); + } + + reader.Close(); + return result; + } + + #endregion + + + } +} diff --git a/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs b/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs index 64149bf5..a4c20723 100644 --- a/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs +++ b/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs @@ -21,10 +21,10 @@ namespace bsmd.dbh.ResponseService [XmlSerializerFormatAttribute()] void root(string Version, string MessageId, string VisitId, string TransitId, DateTime Timestamp, string SenderReference, bsmd.dbh.response.RootType Type, - List ReportingClassesFull, - List ReportingClassesPartial, - List RootReportingClassesError, - List ReportingClassesResetted, + List ReportingClassesFull, + List ReportingClassesPartial, + List RootReportingClassesError, + List ReportingClassesResetted, List Messages); } diff --git a/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs b/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs index e7a2aec2..a86bbd24 100644 --- a/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs +++ b/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs @@ -19,10 +19,10 @@ namespace bsmd.dbh.ResponseService public void root(string Version, string MessageId, string VisitId, string TransitId, DateTime Timestamp, string SenderReference, bsmd.dbh.response.RootType Type, - List ReportingClassesFull, - List ReportingClassesPartial, - List RootReportingClassesError, - List ReportingClassesResetted, + List ReportingClassesFull, + List ReportingClassesPartial, + List RootReportingClassesError, + List ReportingClassesResetted, List Messages) { diff --git a/nsw/Source/bsmd.dbh/NSWRequest.cs b/nsw/Source/bsmd.dbh/NSWRequest.cs index 65f09632..ec2b666f 100644 --- a/nsw/Source/bsmd.dbh/NSWRequest.cs +++ b/nsw/Source/bsmd.dbh/NSWRequest.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.34209 +// Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generiert wird. @@ -11,8596 +11,5730 @@ using System.Xml.Serialization; // -// This source code was auto-generated by xsd, Version=4.0.30319.33440. +// Dieser Quellcode wurde automatisch generiert von xsd, Version=4.6.1055.0. // -namespace bsmd.dbh.request -{ - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)] - public partial class Root - { - - private string versionField; - - private System.DateTime timestampField; - - private string senderField; - - private string senderReferenceField; - - private RootType typeField; - - private object itemField; - - private ItemChoiceType2 itemElementNameField; - - private string[] sisNumbersField; - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private RootViolation[] violationsField; - - /// - public string Version - { - get - { - return this.versionField; - } - set - { - this.versionField = value; - } - } - - /// - public System.DateTime Timestamp - { - get - { - return this.timestampField; - } - set - { - this.timestampField = value; - } - } - - /// - public string Sender - { - get - { - return this.senderField; - } - set - { - this.senderField = value; - } - } - - /// - public string SenderReference - { - get - { - return this.senderReferenceField; - } - set - { - this.senderReferenceField = value; - } - } - - /// - public RootType Type - { - get - { - return this.typeField; - } - set - { - this.typeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Transit", typeof(RootTransit))] - [System.Xml.Serialization.XmlElementAttribute("TransitId", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("Visit", typeof(RootVisit))] - [System.Xml.Serialization.XmlElementAttribute("VisitId", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] - public object Item - { - get - { - return this.itemField; - } - set - { - this.itemField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemChoiceType2 ItemElementName - { - get - { - return this.itemElementNameField; - } - set - { - this.itemElementNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlArrayItemAttribute("SisNumber", IsNullable = false)] - public string[] SisNumbers - { - get - { - return this.sisNumbersField; - } - set - { - this.sisNumbersField = value; - } - } - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ATA", typeof(RootATA))] - [System.Xml.Serialization.XmlElementAttribute("ATD", typeof(RootATD))] - [System.Xml.Serialization.XmlElementAttribute("BKRA", typeof(RootBKRA))] - [System.Xml.Serialization.XmlElementAttribute("BKRD", typeof(RootBKRD))] - [System.Xml.Serialization.XmlElementAttribute("BPOL", typeof(RootBPOL))] - [System.Xml.Serialization.XmlElementAttribute("CREW", typeof(RootCREW))] - [System.Xml.Serialization.XmlElementAttribute("HAZA", typeof(RootHAZA))] - [System.Xml.Serialization.XmlElementAttribute("HAZD", typeof(RootHAZD))] - [System.Xml.Serialization.XmlElementAttribute("INFO", typeof(RootINFO))] - [System.Xml.Serialization.XmlElementAttribute("LADG", typeof(RootLADG))] - [System.Xml.Serialization.XmlElementAttribute("MDH", typeof(RootMDH))] - [System.Xml.Serialization.XmlElementAttribute("NAME", typeof(RootNAME))] - [System.Xml.Serialization.XmlElementAttribute("NOA_NOD", typeof(RootNOA_NOD))] - [System.Xml.Serialization.XmlElementAttribute("PAS", typeof(RootPAS))] - [System.Xml.Serialization.XmlElementAttribute("POBA", typeof(RootPOBA))] - [System.Xml.Serialization.XmlElementAttribute("POBD", typeof(RootPOBD))] - [System.Xml.Serialization.XmlElementAttribute("PRE72H", typeof(RootPRE72H))] - [System.Xml.Serialization.XmlElementAttribute("ReportingClassesToReset", typeof(RootReportingClassesToReset))] - [System.Xml.Serialization.XmlElementAttribute("SEC", typeof(RootSEC))] - [System.Xml.Serialization.XmlElementAttribute("SERV", typeof(RootSERV))] - [System.Xml.Serialization.XmlElementAttribute("STAT", typeof(RootSTAT))] - [System.Xml.Serialization.XmlElementAttribute("TIEFA", typeof(RootTIEFA))] - [System.Xml.Serialization.XmlElementAttribute("TIEFD", typeof(RootTIEFD))] - [System.Xml.Serialization.XmlElementAttribute("TOWA", typeof(RootTOWA))] - [System.Xml.Serialization.XmlElementAttribute("TOWD", typeof(RootTOWD))] - [System.Xml.Serialization.XmlElementAttribute("WAS", typeof(RootWAS))] - public object[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlArrayItemAttribute("Violation", IsNullable = false)] - public RootViolation[] Violations - { - get - { - return this.violationsField; - } - set - { - this.violationsField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootType - { - - /// - VISIT, - - /// - TRANSIT, - - /// - DATA, - - /// - RESET, - - /// - CANCEL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTransit - { - - private string itemField; - - private ItemChoiceType1 itemElementNameField; - - private System.DateTime eTAKielCanalField; - - /// - [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] - public string Item - { - get - { - return this.itemField; - } - set - { - this.itemField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemChoiceType1 ItemElementName - { - get - { - return this.itemElementNameField; - } - set - { - this.itemElementNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime ETAKielCanal - { - get - { - return this.eTAKielCanalField; - } - set - { - this.eTAKielCanalField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)] - public enum ItemChoiceType1 - { - - /// - ENINumber, - - /// - IMONumber, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ReportingParty - { - - private ReportingPartyRPType rPTypeField; - - private bool rPTypeFieldSpecified; - - private string rPNameField; - - private string rPStreetAndNumberField; - - private string rPPostalCodeField; - - private string rPCityField; - - private string rPCountryField; - - private string rPLastNameField; - - private string rPFirstNameField; - - private string rPPhoneField; - - private string rPFaxField; - - private string rPEMailField; - - /// - public ReportingPartyRPType RPType - { - get - { - return this.rPTypeField; - } - set - { - this.rPTypeField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool RPTypeSpecified - { - get - { - return this.rPTypeFieldSpecified; - } - set - { - this.rPTypeFieldSpecified = value; - } - } - - /// - public string RPName - { - get - { - return this.rPNameField; - } - set - { - this.rPNameField = value; - } - } - - /// - public string RPStreetAndNumber - { - get - { - return this.rPStreetAndNumberField; - } - set - { - this.rPStreetAndNumberField = value; - } - } - - /// - public string RPPostalCode - { - get - { - return this.rPPostalCodeField; - } - set - { - this.rPPostalCodeField = value; - } - } - - /// - public string RPCity - { - get - { - return this.rPCityField; - } - set - { - this.rPCityField = value; - } - } - - /// - public string RPCountry - { - get - { - return this.rPCountryField; - } - set - { - this.rPCountryField = value; - } - } - - /// - public string RPLastName - { - get - { - return this.rPLastNameField; - } - set - { - this.rPLastNameField = value; - } - } - - /// - public string RPFirstName - { - get - { - return this.rPFirstNameField; - } - set - { - this.rPFirstNameField = value; - } - } - - /// - public string RPPhone - { - get - { - return this.rPPhoneField; - } - set - { - this.rPPhoneField = value; - } - } - - /// - public string RPFax - { - get - { - return this.rPFaxField; - } - set - { - this.rPFaxField = value; - } - } - - /// - public string RPEMail - { - get - { - return this.rPEMailField; - } - set - { - this.rPEMailField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum ReportingPartyRPType - { - - /// - MASTER, - - /// - SHIPOWNER, - - /// - CHARTERER, - - /// - AGENT, - - /// - PORT_AUTHORITY, - - /// - CARRIER, - - /// - OTHERS, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootVisit - { - - private string itemField; - - private ItemChoiceType itemElementNameField; - - private string portOfCallField; - - private System.DateTime eTAPortOfCallField; - - /// - [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] - public string Item - { - get - { - return this.itemField; - } - set - { - this.itemField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemChoiceType ItemElementName - { - get - { - return this.itemElementNameField; - } - set - { - this.itemElementNameField = value; - } - } - - /// - public string PortOfCall - { - get - { - return this.portOfCallField; - } - set - { - this.portOfCallField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime ETAPortOfCall - { - get - { - return this.eTAPortOfCallField; - } - set - { - this.eTAPortOfCallField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)] - public enum ItemChoiceType - { - - /// - ENINumber, - - /// - IMONumber, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)] - public enum ItemChoiceType2 - { - - /// - Transit, - - /// - TransitId, - - /// - Visit, - - /// - VisitId, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootATA - { - - private ReportingParty reportingPartyField; - - private System.DateTime aTAPortOfCallField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public System.DateTime ATAPortOfCall - { - get - { - return this.aTAPortOfCallField; - } - set - { - this.aTAPortOfCallField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootATD - { - - private ReportingParty reportingPartyField; - - private System.DateTime aTDPortOfCallField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public System.DateTime ATDPortOfCall - { - get - { - return this.aTDPortOfCallField; - } - set - { - this.aTDPortOfCallField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootBKRA - { - - private ReportingParty reportingPartyField; - - private RootBKRABunkerFuelArrival[] bunkerFuelArrivalField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("BunkerFuelArrival")] - public RootBKRABunkerFuelArrival[] BunkerFuelArrival - { - get - { - return this.bunkerFuelArrivalField; - } - set - { - this.bunkerFuelArrivalField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootBKRABunkerFuelArrival - { - - private string bunkerFuelTypeField; - - private float bunkerFuelQuantity_TNEField; - - /// - public string BunkerFuelType - { - get - { - return this.bunkerFuelTypeField; - } - set - { - this.bunkerFuelTypeField = value; - } - } - - /// - public float BunkerFuelQuantity_TNE - { - get - { - return this.bunkerFuelQuantity_TNEField; - } - set - { - this.bunkerFuelQuantity_TNEField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootBKRD - { - - private ReportingParty reportingPartyField; - - private RootBKRDBunkerFuelDeparture[] bunkerFuelDepartureField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("BunkerFuelDeparture")] - public RootBKRDBunkerFuelDeparture[] BunkerFuelDeparture - { - get - { - return this.bunkerFuelDepartureField; - } - set - { - this.bunkerFuelDepartureField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootBKRDBunkerFuelDeparture - { - - private string bunkerFuelTypeField; - - private float bunkerFuelQuantity_TNEField; - - /// - public string BunkerFuelType - { - get - { - return this.bunkerFuelTypeField; - } - set - { - this.bunkerFuelTypeField = value; - } - } - - /// - public float BunkerFuelQuantity_TNE - { - get - { - return this.bunkerFuelQuantity_TNEField; - } - set - { - this.bunkerFuelQuantity_TNEField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootBPOL - { - - private ReportingParty reportingPartyField; - - private RootBPOLStowawayOnBoard stowawayOnBoardField; - - private RootBPOLPortOfItinerary[] portOfItineraryField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public RootBPOLStowawayOnBoard StowawayOnBoard - { - get - { - return this.stowawayOnBoardField; - } - set - { - this.stowawayOnBoardField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("PortOfItinerary")] - public RootBPOLPortOfItinerary[] PortOfItinerary - { - get - { - return this.portOfItineraryField; - } - set - { - this.portOfItineraryField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootBPOLStowawayOnBoard - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootBPOLPortOfItinerary - { - - private string portOfItineraryNameField; - - private System.DateTime portOfItineraryETAField; - - /// - public string PortOfItineraryName - { - get - { - return this.portOfItineraryNameField; - } - set - { - this.portOfItineraryNameField = value; - } - } - - /// - public System.DateTime PortOfItineraryETA - { - get - { - return this.portOfItineraryETAField; - } - set - { - this.portOfItineraryETAField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootCREW - { - - private ReportingParty reportingPartyField; - - private RootCREWCrewMember[] crewMemberField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("CrewMember")] - public RootCREWCrewMember[] CrewMember - { - get - { - return this.crewMemberField; - } - set - { - this.crewMemberField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootCREWCrewMember - { - - private string crewMemberLastNameField; - - private string crewMemberFirstNameField; - - private string crewMemberPlaceOfBirthField; - - private System.DateTime crewMemberDateOfBirthField; - - private RootCREWCrewMemberCrewMemberGender crewMemberGenderField; - - private bool crewMemberGenderFieldSpecified; - - private string crewMemberNationalityField; - - private RootCREWCrewMemberCrewMemberIdentityDocumentType crewMemberIdentityDocumentTypeField; - - private string crewMemberIdentityDocumentIdField; - - private string crewMemberVisaNumberField; - - private string crewMemberDutyField; - - /// - public string CrewMemberLastName - { - get - { - return this.crewMemberLastNameField; - } - set - { - this.crewMemberLastNameField = value; - } - } - - /// - public string CrewMemberFirstName - { - get - { - return this.crewMemberFirstNameField; - } - set - { - this.crewMemberFirstNameField = value; - } - } - - /// - public string CrewMemberPlaceOfBirth - { - get - { - return this.crewMemberPlaceOfBirthField; - } - set - { - this.crewMemberPlaceOfBirthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime CrewMemberDateOfBirth - { - get - { - return this.crewMemberDateOfBirthField; - } - set - { - this.crewMemberDateOfBirthField = value; - } - } - - /// - public RootCREWCrewMemberCrewMemberGender CrewMemberGender - { - get - { - return this.crewMemberGenderField; - } - set - { - this.crewMemberGenderField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool CrewMemberGenderSpecified - { - get - { - return this.crewMemberGenderFieldSpecified; - } - set - { - this.crewMemberGenderFieldSpecified = value; - } - } - - /// - public string CrewMemberNationality - { - get - { - return this.crewMemberNationalityField; - } - set - { - this.crewMemberNationalityField = value; - } - } - - /// - public RootCREWCrewMemberCrewMemberIdentityDocumentType CrewMemberIdentityDocumentType - { - get - { - return this.crewMemberIdentityDocumentTypeField; - } - set - { - this.crewMemberIdentityDocumentTypeField = value; - } - } - - /// - public string CrewMemberIdentityDocumentId - { - get - { - return this.crewMemberIdentityDocumentIdField; - } - set - { - this.crewMemberIdentityDocumentIdField = value; - } - } - - /// - public string CrewMemberVisaNumber - { - get - { - return this.crewMemberVisaNumberField; - } - set - { - this.crewMemberVisaNumberField = value; - } - } - - /// - public string CrewMemberDuty - { - get - { - return this.crewMemberDutyField; - } - set - { - this.crewMemberDutyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootCREWCrewMemberCrewMemberGender - { - - /// - MALE, - - /// - FEMALE, - - /// - OTHER, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootCREWCrewMemberCrewMemberIdentityDocumentType - { - - /// - IDENTITY_CARD, - - /// - PASSPORT, - - /// - MUSTER_BOOK, - - /// - PICTURE_ID, - - /// - RESIDENTAL_PERMIT, - - /// - OTHER_LEGAL_IDENTITY_DOCUMENT, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZA - { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGManifestOnBoardOnArrival", typeof(RootHAZADPGManifestOnBoardOnArrival))] - [System.Xml.Serialization.XmlElementAttribute("DPGOnArrival", typeof(RootHAZADPGOnArrival))] - [System.Xml.Serialization.XmlElementAttribute("INFShipClass", typeof(RootHAZAINFShipClass))] - [System.Xml.Serialization.XmlElementAttribute("NoDPGOnBoardOnArrival", typeof(RootHAZANoDPGOnBoardOnArrival))] - public object[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGManifestOnBoardOnArrival - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZADPGOnArrival - { - - private RootHAZADPGOnArrivalDPGItemIMDG[] dPGItemIMDGField; - - private RootHAZADPGOnArrivalDPGItemIBC[] dPGItemIBCField; - - private RootHAZADPGOnArrivalDPGItemIGC[] dPGItemIGCField; - - private RootHAZADPGOnArrivalDPGItemIMSBC[] dPGItemIMSBCField; - - private RootHAZADPGOnArrivalDPGItemMARPOLAnnexI[] dPGItemMARPOLAnnexIField; - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMDG")] - public RootHAZADPGOnArrivalDPGItemIMDG[] DPGItemIMDG - { - get - { - return this.dPGItemIMDGField; - } - set - { - this.dPGItemIMDGField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIBC")] - public RootHAZADPGOnArrivalDPGItemIBC[] DPGItemIBC - { - get - { - return this.dPGItemIBCField; - } - set - { - this.dPGItemIBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIGC")] - public RootHAZADPGOnArrivalDPGItemIGC[] DPGItemIGC - { - get - { - return this.dPGItemIGCField; - } - set - { - this.dPGItemIGCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMSBC")] - public RootHAZADPGOnArrivalDPGItemIMSBC[] DPGItemIMSBC - { - get - { - return this.dPGItemIMSBCField; - } - set - { - this.dPGItemIMSBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemMARPOLAnnexI")] - public RootHAZADPGOnArrivalDPGItemMARPOLAnnexI[] DPGItemMARPOLAnnexI - { - get - { - return this.dPGItemMARPOLAnnexIField; - } - set - { - this.dPGItemMARPOLAnnexIField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZADPGOnArrivalDPGItemIMDG - { - - private string uNNumberField; - - private RootHAZADPGOnArrivalDPGItemIMDGPackingGroup packingGroupField; - - private bool packingGroupFieldSpecified; - - private string properShippingNameField; - - private string iMOClassField; - - private string compatibilityGroupField; - - private string technicalNameField; - - private float netExplosiveMass_KGMField; - - private bool netExplosiveMass_KGMFieldSpecified; - - private string flashpoint_CELField; - - private string class7NuclideNameField; - - private float class7MaxActivity_BQLField; - - private bool class7MaxActivity_BQLFieldSpecified; - - private int class7CategoryField; - - private bool class7CategoryFieldSpecified; - - private float class7TransportIndexField; - - private bool class7TransportIndexFieldSpecified; - - private int class7CSIField; - - private bool class7CSIFieldSpecified; - - private float controlTemperature_CELField; - - private bool controlTemperature_CELFieldSpecified; - - private float emergencyTemperature_CELField; - - private bool emergencyTemperature_CELFieldSpecified; - - private string[] subsidiaryRisksField; - - private RootHAZADPGOnArrivalDPGItemIMDGMarinePollutant marinePollutantField; - - private int numberOfPackagesField; - - private string packageTypeField; - - private RootHAZADPGOnArrivalDPGItemIMDGLimitedQuantities limitedQuantitiesField; - - private RootHAZADPGOnArrivalDPGItemIMDGExceptedQuantities exceptedQuantitiesField; - - private float netQuantity_KGMField; - - private bool netQuantity_KGMFieldSpecified; - - private float grossQuantity_KGMField; - - private bool grossQuantity_KGMFieldSpecified; - - private float volume_MTQField; - - private bool volume_MTQFieldSpecified; - - private RootHAZADPGOnArrivalDPGItemIMDGGeneralCargoIBC generalCargoIBCField; - - private bool generalCargoIBCFieldSpecified; - - private string containerNumberField; - - private string vehicleLicenseNumberField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string UNNumber - { - get - { - return this.uNNumberField; - } - set - { - this.uNNumberField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIMDGPackingGroup PackingGroup - { - get - { - return this.packingGroupField; - } - set - { - this.packingGroupField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool PackingGroupSpecified - { - get - { - return this.packingGroupFieldSpecified; - } - set - { - this.packingGroupFieldSpecified = value; - } - } - - /// - public string ProperShippingName - { - get - { - return this.properShippingNameField; - } - set - { - this.properShippingNameField = value; - } - } - - /// - public string IMOClass - { - get - { - return this.iMOClassField; - } - set - { - this.iMOClassField = value; - } - } - - /// - public string CompatibilityGroup - { - get - { - return this.compatibilityGroupField; - } - set - { - this.compatibilityGroupField = value; - } - } - - /// - public string TechnicalName - { - get - { - return this.technicalNameField; - } - set - { - this.technicalNameField = value; - } - } - - /// - public float NetExplosiveMass_KGM - { - get - { - return this.netExplosiveMass_KGMField; - } - set - { - this.netExplosiveMass_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool NetExplosiveMass_KGMSpecified - { - get - { - return this.netExplosiveMass_KGMFieldSpecified; - } - set - { - this.netExplosiveMass_KGMFieldSpecified = value; - } - } - - /// - public string Flashpoint_CEL - { - get - { - return this.flashpoint_CELField; - } - set - { - this.flashpoint_CELField = value; - } - } - - /// - public string Class7NuclideName - { - get - { - return this.class7NuclideNameField; - } - set - { - this.class7NuclideNameField = value; - } - } - - /// - public float Class7MaxActivity_BQL - { - get - { - return this.class7MaxActivity_BQLField; - } - set - { - this.class7MaxActivity_BQLField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7MaxActivity_BQLSpecified - { - get - { - return this.class7MaxActivity_BQLFieldSpecified; - } - set - { - this.class7MaxActivity_BQLFieldSpecified = value; - } - } - - /// - public int Class7Category - { - get - { - return this.class7CategoryField; - } - set - { - this.class7CategoryField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7CategorySpecified - { - get - { - return this.class7CategoryFieldSpecified; - } - set - { - this.class7CategoryFieldSpecified = value; - } - } - - /// - public float Class7TransportIndex - { - get - { - return this.class7TransportIndexField; - } - set - { - this.class7TransportIndexField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7TransportIndexSpecified - { - get - { - return this.class7TransportIndexFieldSpecified; - } - set - { - this.class7TransportIndexFieldSpecified = value; - } - } - - /// - public int Class7CSI - { - get - { - return this.class7CSIField; - } - set - { - this.class7CSIField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7CSISpecified - { - get - { - return this.class7CSIFieldSpecified; - } - set - { - this.class7CSIFieldSpecified = value; - } - } - - /// - public float ControlTemperature_CEL - { - get - { - return this.controlTemperature_CELField; - } - set - { - this.controlTemperature_CELField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool ControlTemperature_CELSpecified - { - get - { - return this.controlTemperature_CELFieldSpecified; - } - set - { - this.controlTemperature_CELFieldSpecified = value; - } - } - - /// - public float EmergencyTemperature_CEL - { - get - { - return this.emergencyTemperature_CELField; - } - set - { - this.emergencyTemperature_CELField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool EmergencyTemperature_CELSpecified - { - get - { - return this.emergencyTemperature_CELFieldSpecified; - } - set - { - this.emergencyTemperature_CELFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlArrayItemAttribute("SubsidiaryRisk", IsNullable = false)] - public string[] SubsidiaryRisks - { - get - { - return this.subsidiaryRisksField; - } - set - { - this.subsidiaryRisksField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIMDGMarinePollutant MarinePollutant - { - get - { - return this.marinePollutantField; - } - set - { - this.marinePollutantField = value; - } - } - - /// - public int NumberOfPackages - { - get - { - return this.numberOfPackagesField; - } - set - { - this.numberOfPackagesField = value; - } - } - - /// - public string PackageType - { - get - { - return this.packageTypeField; - } - set - { - this.packageTypeField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIMDGLimitedQuantities LimitedQuantities - { - get - { - return this.limitedQuantitiesField; - } - set - { - this.limitedQuantitiesField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIMDGExceptedQuantities ExceptedQuantities - { - get - { - return this.exceptedQuantitiesField; - } - set - { - this.exceptedQuantitiesField = value; - } - } - - /// - public float NetQuantity_KGM - { - get - { - return this.netQuantity_KGMField; - } - set - { - this.netQuantity_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool NetQuantity_KGMSpecified - { - get - { - return this.netQuantity_KGMFieldSpecified; - } - set - { - this.netQuantity_KGMFieldSpecified = value; - } - } - - /// - public float GrossQuantity_KGM - { - get - { - return this.grossQuantity_KGMField; - } - set - { - this.grossQuantity_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool GrossQuantity_KGMSpecified - { - get - { - return this.grossQuantity_KGMFieldSpecified; - } - set - { - this.grossQuantity_KGMFieldSpecified = value; - } - } - - /// - public float Volume_MTQ - { - get - { - return this.volume_MTQField; - } - set - { - this.volume_MTQField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Volume_MTQSpecified - { - get - { - return this.volume_MTQFieldSpecified; - } - set - { - this.volume_MTQFieldSpecified = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIMDGGeneralCargoIBC GeneralCargoIBC - { - get - { - return this.generalCargoIBCField; - } - set - { - this.generalCargoIBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool GeneralCargoIBCSpecified - { - get - { - return this.generalCargoIBCFieldSpecified; - } - set - { - this.generalCargoIBCFieldSpecified = value; - } - } - - /// - public string ContainerNumber - { - get - { - return this.containerNumberField; - } - set - { - this.containerNumberField = value; - } - } - - /// - public string VehicleLicenseNumber - { - get - { - return this.vehicleLicenseNumberField; - } - set - { - this.vehicleLicenseNumberField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIMDGPackingGroup - { - - /// - NONE, - - /// - I, - - /// - II, - - /// - III, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIMDGMarinePollutant - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIMDGLimitedQuantities - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIMDGExceptedQuantities - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIMDGGeneralCargoIBC - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZADPGOnArrivalDPGItemIBC - { - - private string productNameField; - - private RootHAZADPGOnArrivalDPGItemIBCPollutionCategory pollutionCategoryField; - - private RootHAZADPGOnArrivalDPGItemIBCHazards hazardsField; - - private bool hazardsFieldSpecified; - - private RootHAZADPGOnArrivalDPGItemIBCFlashpointInformation flashpointInformationField; - - private string flashpoint_CELField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private RootHAZADPGOnArrivalDPGItemIBCSpecRef15_19 specRef15_19Field; - - private bool specRef15_19FieldSpecified; - - private string remarksField; - - private string identifierField; - - /// - public string ProductName - { - get - { - return this.productNameField; - } - set - { - this.productNameField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIBCPollutionCategory PollutionCategory - { - get - { - return this.pollutionCategoryField; - } - set - { - this.pollutionCategoryField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIBCHazards Hazards - { - get - { - return this.hazardsField; - } - set - { - this.hazardsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool HazardsSpecified - { - get - { - return this.hazardsFieldSpecified; - } - set - { - this.hazardsFieldSpecified = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIBCFlashpointInformation FlashpointInformation - { - get - { - return this.flashpointInformationField; - } - set - { - this.flashpointInformationField = value; - } - } - - /// - public string Flashpoint_CEL - { - get - { - return this.flashpoint_CELField; - } - set - { - this.flashpoint_CELField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIBCSpecRef15_19 SpecRef15_19 - { - get - { - return this.specRef15_19Field; - } - set - { - this.specRef15_19Field = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool SpecRef15_19Specified - { - get - { - return this.specRef15_19FieldSpecified; - } - set - { - this.specRef15_19FieldSpecified = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIBCPollutionCategory - { - - /// - X, - - /// - Y, - - /// - Z, - - /// - OS, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIBCHazards - { - - /// - P, - - /// - S, - - /// - [System.Xml.Serialization.XmlEnumAttribute("S/P")] - SP, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIBCFlashpointInformation - { - - /// - NF, - - /// - GT60CEL, - - /// - LE60CEL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIBCSpecRef15_19 - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZADPGOnArrivalDPGItemIGC - { - - private string uNNumberField; - - private string iMOClassField; - - private string productNameField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string UNNumber - { - get - { - return this.uNNumberField; - } - set - { - this.uNNumberField = value; - } - } - - /// - public string IMOClass - { - get - { - return this.iMOClassField; - } - set - { - this.iMOClassField = value; - } - } - - /// - public string ProductName - { - get - { - return this.productNameField; - } - set - { - this.productNameField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZADPGOnArrivalDPGItemIMSBC - { - - private string bulkCargoShippingNameField; - - private RootHAZADPGOnArrivalDPGItemIMSBCMHB mHBField; - - private string uNNumberField; - - private string iMOClassField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string BulkCargoShippingName - { - get - { - return this.bulkCargoShippingNameField; - } - set - { - this.bulkCargoShippingNameField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemIMSBCMHB MHB - { - get - { - return this.mHBField; - } - set - { - this.mHBField = value; - } - } - - /// - public string UNNumber - { - get - { - return this.uNNumberField; - } - set - { - this.uNNumberField = value; - } - } - - /// - public string IMOClass - { - get - { - return this.iMOClassField; - } - set - { - this.iMOClassField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemIMSBCMHB - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZADPGOnArrivalDPGItemMARPOLAnnexI - { - - private string nameField; - - private RootHAZADPGOnArrivalDPGItemMARPOLAnnexIFlashpointInformation flashpointInformationField; - - private string flashpoint_CELField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string Name - { - get - { - return this.nameField; - } - set - { - this.nameField = value; - } - } - - /// - public RootHAZADPGOnArrivalDPGItemMARPOLAnnexIFlashpointInformation FlashpointInformation - { - get - { - return this.flashpointInformationField; - } - set - { - this.flashpointInformationField = value; - } - } - - /// - public string Flashpoint_CEL - { - get - { - return this.flashpoint_CELField; - } - set - { - this.flashpoint_CELField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZADPGOnArrivalDPGItemMARPOLAnnexIFlashpointInformation - { - - /// - NF, - - /// - GT60CEL, - - /// - LE60CEL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZAINFShipClass - { - - /// - INF1, - - /// - INF2, - - /// - INF3, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZANoDPGOnBoardOnArrival - { - - /// - Y, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZD - { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGManifestOnBoardOnDeparture", typeof(RootHAZDDPGManifestOnBoardOnDeparture))] - [System.Xml.Serialization.XmlElementAttribute("DPGOnDeparture", typeof(RootHAZDDPGOnDeparture))] - [System.Xml.Serialization.XmlElementAttribute("INFShipClass", typeof(RootHAZDINFShipClass))] - [System.Xml.Serialization.XmlElementAttribute("NoDPGOnBoardOnDeparture", typeof(RootHAZDNoDPGOnBoardOnDeparture))] - public object[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGManifestOnBoardOnDeparture - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZDDPGOnDeparture - { - - private RootHAZDDPGOnDepartureDPGItemIMDG[] dPGItemIMDGField; - - private RootHAZDDPGOnDepartureDPGItemIBC[] dPGItemIBCField; - - private RootHAZDDPGOnDepartureDPGItemIGC[] dPGItemIGCField; - - private RootHAZDDPGOnDepartureDPGItemIMSBC[] dPGItemIMSBCField; - - private RootHAZDDPGOnDepartureDPGItemMARPOLAnnexI[] dPGItemMARPOLAnnexIField; - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMDG")] - public RootHAZDDPGOnDepartureDPGItemIMDG[] DPGItemIMDG - { - get - { - return this.dPGItemIMDGField; - } - set - { - this.dPGItemIMDGField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIBC")] - public RootHAZDDPGOnDepartureDPGItemIBC[] DPGItemIBC - { - get - { - return this.dPGItemIBCField; - } - set - { - this.dPGItemIBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIGC")] - public RootHAZDDPGOnDepartureDPGItemIGC[] DPGItemIGC - { - get - { - return this.dPGItemIGCField; - } - set - { - this.dPGItemIGCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMSBC")] - public RootHAZDDPGOnDepartureDPGItemIMSBC[] DPGItemIMSBC - { - get - { - return this.dPGItemIMSBCField; - } - set - { - this.dPGItemIMSBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemMARPOLAnnexI")] - public RootHAZDDPGOnDepartureDPGItemMARPOLAnnexI[] DPGItemMARPOLAnnexI - { - get - { - return this.dPGItemMARPOLAnnexIField; - } - set - { - this.dPGItemMARPOLAnnexIField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZDDPGOnDepartureDPGItemIMDG - { - - private string uNNumberField; - - private RootHAZDDPGOnDepartureDPGItemIMDGPackingGroup packingGroupField; - - private bool packingGroupFieldSpecified; - - private string properShippingNameField; - - private string iMOClassField; - - private string compatibilityGroupField; - - private string technicalNameField; - - private float netExplosiveMass_KGMField; - - private bool netExplosiveMass_KGMFieldSpecified; - - private string flashpoint_CELField; - - private string class7NuclideNameField; - - private float class7MaxActivity_BQLField; - - private bool class7MaxActivity_BQLFieldSpecified; - - private int class7CategoryField; - - private bool class7CategoryFieldSpecified; - - private float class7TransportIndexField; - - private bool class7TransportIndexFieldSpecified; - - private int class7CSIField; - - private bool class7CSIFieldSpecified; - - private float controlTemperature_CELField; - - private bool controlTemperature_CELFieldSpecified; - - private float emergencyTemperature_CELField; - - private bool emergencyTemperature_CELFieldSpecified; - - private string[] subsidiaryRisksField; - - private RootHAZDDPGOnDepartureDPGItemIMDGMarinePollutant marinePollutantField; - - private int numberOfPackagesField; - - private string packageTypeField; - - private RootHAZDDPGOnDepartureDPGItemIMDGLimitedQuantities limitedQuantitiesField; - - private RootHAZDDPGOnDepartureDPGItemIMDGExceptedQuantities exceptedQuantitiesField; - - private float netQuantity_KGMField; - - private bool netQuantity_KGMFieldSpecified; - - private float grossQuantity_KGMField; - - private bool grossQuantity_KGMFieldSpecified; - - private float volume_MTQField; - - private bool volume_MTQFieldSpecified; - - private RootHAZDDPGOnDepartureDPGItemIMDGGeneralCargoIBC generalCargoIBCField; - - private bool generalCargoIBCFieldSpecified; - - private string containerNumberField; - - private string vehicleLicenseNumberField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string UNNumber - { - get - { - return this.uNNumberField; - } - set - { - this.uNNumberField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIMDGPackingGroup PackingGroup - { - get - { - return this.packingGroupField; - } - set - { - this.packingGroupField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool PackingGroupSpecified - { - get - { - return this.packingGroupFieldSpecified; - } - set - { - this.packingGroupFieldSpecified = value; - } - } - - /// - public string ProperShippingName - { - get - { - return this.properShippingNameField; - } - set - { - this.properShippingNameField = value; - } - } - - /// - public string IMOClass - { - get - { - return this.iMOClassField; - } - set - { - this.iMOClassField = value; - } - } - - /// - public string CompatibilityGroup - { - get - { - return this.compatibilityGroupField; - } - set - { - this.compatibilityGroupField = value; - } - } - - /// - public string TechnicalName - { - get - { - return this.technicalNameField; - } - set - { - this.technicalNameField = value; - } - } - - /// - public float NetExplosiveMass_KGM - { - get - { - return this.netExplosiveMass_KGMField; - } - set - { - this.netExplosiveMass_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool NetExplosiveMass_KGMSpecified - { - get - { - return this.netExplosiveMass_KGMFieldSpecified; - } - set - { - this.netExplosiveMass_KGMFieldSpecified = value; - } - } - - /// - public string Flashpoint_CEL - { - get - { - return this.flashpoint_CELField; - } - set - { - this.flashpoint_CELField = value; - } - } - - /// - public string Class7NuclideName - { - get - { - return this.class7NuclideNameField; - } - set - { - this.class7NuclideNameField = value; - } - } - - /// - public float Class7MaxActivity_BQL - { - get - { - return this.class7MaxActivity_BQLField; - } - set - { - this.class7MaxActivity_BQLField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7MaxActivity_BQLSpecified - { - get - { - return this.class7MaxActivity_BQLFieldSpecified; - } - set - { - this.class7MaxActivity_BQLFieldSpecified = value; - } - } - - /// - public int Class7Category - { - get - { - return this.class7CategoryField; - } - set - { - this.class7CategoryField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7CategorySpecified - { - get - { - return this.class7CategoryFieldSpecified; - } - set - { - this.class7CategoryFieldSpecified = value; - } - } - - /// - public float Class7TransportIndex - { - get - { - return this.class7TransportIndexField; - } - set - { - this.class7TransportIndexField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7TransportIndexSpecified - { - get - { - return this.class7TransportIndexFieldSpecified; - } - set - { - this.class7TransportIndexFieldSpecified = value; - } - } - - /// - public int Class7CSI - { - get - { - return this.class7CSIField; - } - set - { - this.class7CSIField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7CSISpecified - { - get - { - return this.class7CSIFieldSpecified; - } - set - { - this.class7CSIFieldSpecified = value; - } - } - - /// - public float ControlTemperature_CEL - { - get - { - return this.controlTemperature_CELField; - } - set - { - this.controlTemperature_CELField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool ControlTemperature_CELSpecified - { - get - { - return this.controlTemperature_CELFieldSpecified; - } - set - { - this.controlTemperature_CELFieldSpecified = value; - } - } - - /// - public float EmergencyTemperature_CEL - { - get - { - return this.emergencyTemperature_CELField; - } - set - { - this.emergencyTemperature_CELField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool EmergencyTemperature_CELSpecified - { - get - { - return this.emergencyTemperature_CELFieldSpecified; - } - set - { - this.emergencyTemperature_CELFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlArrayItemAttribute("SubsidiaryRisk", IsNullable = false)] - public string[] SubsidiaryRisks - { - get - { - return this.subsidiaryRisksField; - } - set - { - this.subsidiaryRisksField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIMDGMarinePollutant MarinePollutant - { - get - { - return this.marinePollutantField; - } - set - { - this.marinePollutantField = value; - } - } - - /// - public int NumberOfPackages - { - get - { - return this.numberOfPackagesField; - } - set - { - this.numberOfPackagesField = value; - } - } - - /// - public string PackageType - { - get - { - return this.packageTypeField; - } - set - { - this.packageTypeField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIMDGLimitedQuantities LimitedQuantities - { - get - { - return this.limitedQuantitiesField; - } - set - { - this.limitedQuantitiesField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIMDGExceptedQuantities ExceptedQuantities - { - get - { - return this.exceptedQuantitiesField; - } - set - { - this.exceptedQuantitiesField = value; - } - } - - /// - public float NetQuantity_KGM - { - get - { - return this.netQuantity_KGMField; - } - set - { - this.netQuantity_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool NetQuantity_KGMSpecified - { - get - { - return this.netQuantity_KGMFieldSpecified; - } - set - { - this.netQuantity_KGMFieldSpecified = value; - } - } - - /// - public float GrossQuantity_KGM - { - get - { - return this.grossQuantity_KGMField; - } - set - { - this.grossQuantity_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool GrossQuantity_KGMSpecified - { - get - { - return this.grossQuantity_KGMFieldSpecified; - } - set - { - this.grossQuantity_KGMFieldSpecified = value; - } - } - - /// - public float Volume_MTQ - { - get - { - return this.volume_MTQField; - } - set - { - this.volume_MTQField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Volume_MTQSpecified - { - get - { - return this.volume_MTQFieldSpecified; - } - set - { - this.volume_MTQFieldSpecified = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIMDGGeneralCargoIBC GeneralCargoIBC - { - get - { - return this.generalCargoIBCField; - } - set - { - this.generalCargoIBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool GeneralCargoIBCSpecified - { - get - { - return this.generalCargoIBCFieldSpecified; - } - set - { - this.generalCargoIBCFieldSpecified = value; - } - } - - /// - public string ContainerNumber - { - get - { - return this.containerNumberField; - } - set - { - this.containerNumberField = value; - } - } - - /// - public string VehicleLicenseNumber - { - get - { - return this.vehicleLicenseNumberField; - } - set - { - this.vehicleLicenseNumberField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIMDGPackingGroup - { - - /// - NONE, - - /// - I, - - /// - II, - - /// - III, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIMDGMarinePollutant - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIMDGLimitedQuantities - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIMDGExceptedQuantities - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIMDGGeneralCargoIBC - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZDDPGOnDepartureDPGItemIBC - { - - private string productNameField; - - private RootHAZDDPGOnDepartureDPGItemIBCPollutionCategory pollutionCategoryField; - - private RootHAZDDPGOnDepartureDPGItemIBCHazards hazardsField; - - private bool hazardsFieldSpecified; - - private RootHAZDDPGOnDepartureDPGItemIBCFlashpointInformation flashpointInformationField; - - private string flashpoint_CELField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private RootHAZDDPGOnDepartureDPGItemIBCSpecRef15_19 specRef15_19Field; - - private bool specRef15_19FieldSpecified; - - private string remarksField; - - private string identifierField; - - /// - public string ProductName - { - get - { - return this.productNameField; - } - set - { - this.productNameField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIBCPollutionCategory PollutionCategory - { - get - { - return this.pollutionCategoryField; - } - set - { - this.pollutionCategoryField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIBCHazards Hazards - { - get - { - return this.hazardsField; - } - set - { - this.hazardsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool HazardsSpecified - { - get - { - return this.hazardsFieldSpecified; - } - set - { - this.hazardsFieldSpecified = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIBCFlashpointInformation FlashpointInformation - { - get - { - return this.flashpointInformationField; - } - set - { - this.flashpointInformationField = value; - } - } - - /// - public string Flashpoint_CEL - { - get - { - return this.flashpoint_CELField; - } - set - { - this.flashpoint_CELField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIBCSpecRef15_19 SpecRef15_19 - { - get - { - return this.specRef15_19Field; - } - set - { - this.specRef15_19Field = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool SpecRef15_19Specified - { - get - { - return this.specRef15_19FieldSpecified; - } - set - { - this.specRef15_19FieldSpecified = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIBCPollutionCategory - { - - /// - X, - - /// - Y, - - /// - Z, - - /// - OS, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIBCHazards - { - - /// - P, - - /// - S, - - /// - [System.Xml.Serialization.XmlEnumAttribute("S/P")] - SP, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIBCFlashpointInformation - { - - /// - NF, - - /// - GT60CEL, - - /// - LE60CEL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIBCSpecRef15_19 - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZDDPGOnDepartureDPGItemIGC - { - - private string uNNumberField; - - private string iMOClassField; - - private string productNameField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string UNNumber - { - get - { - return this.uNNumberField; - } - set - { - this.uNNumberField = value; - } - } - - /// - public string IMOClass - { - get - { - return this.iMOClassField; - } - set - { - this.iMOClassField = value; - } - } - - /// - public string ProductName - { - get - { - return this.productNameField; - } - set - { - this.productNameField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZDDPGOnDepartureDPGItemIMSBC - { - - private string bulkCargoShippingNameField; - - private RootHAZDDPGOnDepartureDPGItemIMSBCMHB mHBField; - - private string uNNumberField; - - private string iMOClassField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string BulkCargoShippingName - { - get - { - return this.bulkCargoShippingNameField; - } - set - { - this.bulkCargoShippingNameField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemIMSBCMHB MHB - { - get - { - return this.mHBField; - } - set - { - this.mHBField = value; - } - } - - /// - public string UNNumber - { - get - { - return this.uNNumberField; - } - set - { - this.uNNumberField = value; - } - } - - /// - public string IMOClass - { - get - { - return this.iMOClassField; - } - set - { - this.iMOClassField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemIMSBCMHB - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootHAZDDPGOnDepartureDPGItemMARPOLAnnexI - { - - private string nameField; - - private RootHAZDDPGOnDepartureDPGItemMARPOLAnnexIFlashpointInformation flashpointInformationField; - - private string flashpoint_CELField; - - private float quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string Name - { - get - { - return this.nameField; - } - set - { - this.nameField = value; - } - } - - /// - public RootHAZDDPGOnDepartureDPGItemMARPOLAnnexIFlashpointInformation FlashpointInformation - { - get - { - return this.flashpointInformationField; - } - set - { - this.flashpointInformationField = value; - } - } - - /// - public string Flashpoint_CEL - { - get - { - return this.flashpoint_CELField; - } - set - { - this.flashpoint_CELField = value; - } - } - - /// - public float Quantity_KGM - { - get - { - return this.quantity_KGMField; - } - set - { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition - { - get - { - return this.stowagePositionField; - } - set - { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading - { - get - { - return this.portOfLoadingField; - } - set - { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge - { - get - { - return this.portOfDischargeField; - } - set - { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks - { - get - { - return this.remarksField; - } - set - { - this.remarksField = value; - } - } - - /// - public string Identifier - { - get - { - return this.identifierField; - } - set - { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDDPGOnDepartureDPGItemMARPOLAnnexIFlashpointInformation - { - - /// - NF, - - /// - GT60CEL, - - /// - LE60CEL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDINFShipClass - { - - /// - INF1, - - /// - INF2, - - /// - INF3, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootHAZDNoDPGOnBoardOnDeparture - { - - /// - Y, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootINFO - { - - private ReportingParty reportingPartyField; - - private RootINFOShippingArea shippingAreaField; - - private string requestedPositionInPortOfCallField; - - private string specialRequirementsOfShipAtBerthField; - - private string constructionCharacteristicsOfShipField; - - private RootINFOFumigatedBulkCargo fumigatedBulkCargoField; - - private float deadWeightSummer_TNEField; - - private bool deadWeightSummer_TNEFieldSpecified; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public RootINFOShippingArea ShippingArea - { - get - { - return this.shippingAreaField; - } - set - { - this.shippingAreaField = value; - } - } - - /// - public string RequestedPositionInPortOfCall - { - get - { - return this.requestedPositionInPortOfCallField; - } - set - { - this.requestedPositionInPortOfCallField = value; - } - } - - /// - public string SpecialRequirementsOfShipAtBerth - { - get - { - return this.specialRequirementsOfShipAtBerthField; - } - set - { - this.specialRequirementsOfShipAtBerthField = value; - } - } - - /// - public string ConstructionCharacteristicsOfShip - { - get - { - return this.constructionCharacteristicsOfShipField; - } - set - { - this.constructionCharacteristicsOfShipField = value; - } - } - - /// - public RootINFOFumigatedBulkCargo FumigatedBulkCargo - { - get - { - return this.fumigatedBulkCargoField; - } - set - { - this.fumigatedBulkCargoField = value; - } - } - - /// - public float DeadWeightSummer_TNE - { - get - { - return this.deadWeightSummer_TNEField; - } - set - { - this.deadWeightSummer_TNEField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool DeadWeightSummer_TNESpecified - { - get - { - return this.deadWeightSummer_TNEFieldSpecified; - } - set - { - this.deadWeightSummer_TNEFieldSpecified = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootINFOShippingArea - { - - /// - NORTH_BALTIC_SEA, - - /// - EUROPE, - - /// - OVERSEAS, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootINFOFumigatedBulkCargo - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootLADG - { - - private ReportingParty reportingPartyField; - - private RootLADGCargo[] cargoField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Cargo")] - public RootLADGCargo[] Cargo - { - get - { - return this.cargoField; - } - set - { - this.cargoField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootLADGCargo - { - - private RootLADGCargoCargoHandlingType cargoHandlingTypeField; - - private string cargoCodeNSTField; - - private int cargoNumberOfItemsField; - - private bool cargoNumberOfItemsFieldSpecified; - - private float cargoGrossQuantity_TNEField; - - /// - public RootLADGCargoCargoHandlingType CargoHandlingType - { - get - { - return this.cargoHandlingTypeField; - } - set - { - this.cargoHandlingTypeField = value; - } - } - - /// - public string CargoCodeNST - { - get - { - return this.cargoCodeNSTField; - } - set - { - this.cargoCodeNSTField = value; - } - } - - /// - public int CargoNumberOfItems - { - get - { - return this.cargoNumberOfItemsField; - } - set - { - this.cargoNumberOfItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool CargoNumberOfItemsSpecified - { - get - { - return this.cargoNumberOfItemsFieldSpecified; - } - set - { - this.cargoNumberOfItemsFieldSpecified = value; - } - } - - /// - public float CargoGrossQuantity_TNE - { - get - { - return this.cargoGrossQuantity_TNEField; - } - set - { - this.cargoGrossQuantity_TNEField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootLADGCargoCargoHandlingType - { - - /// - LOAD, - - /// - DISCHARGE, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootMDH - { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType2[] itemsElementNameField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("AwareOfConditionsForFurtherInfections", typeof(RootMDHAwareOfConditionsForFurtherInfections))] - [System.Xml.Serialization.XmlElementAttribute("InfectedArea", typeof(RootMDHInfectedArea))] - [System.Xml.Serialization.XmlElementAttribute("InfectedAreaVisited", typeof(RootMDHInfectedAreaVisited))] - [System.Xml.Serialization.XmlElementAttribute("MDHSimplification", typeof(RootMDHMDHSimplification))] - [System.Xml.Serialization.XmlElementAttribute("MedicalConsulted", typeof(RootMDHMedicalConsulted))] - [System.Xml.Serialization.XmlElementAttribute("NonAccidentialDeathsDuringVoyage", typeof(RootMDHNonAccidentialDeathsDuringVoyage))] - [System.Xml.Serialization.XmlElementAttribute("NonAccidentialDeathsDuringVoyageCount", typeof(int))] - [System.Xml.Serialization.XmlElementAttribute("NumberOfIllPersons", typeof(int))] - [System.Xml.Serialization.XmlElementAttribute("NumberOfIllPersonsHigherThanExpected", typeof(RootMDHNumberOfIllPersonsHigherThanExpected))] - [System.Xml.Serialization.XmlElementAttribute("PortOfCallWhereCompleteMDHNotified", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("PortsOfCallLast30Days", typeof(RootMDHPortsOfCallLast30Days))] - [System.Xml.Serialization.XmlElementAttribute("SanitaryControlReinspectionRequired", typeof(RootMDHSanitaryControlReinspectionRequired))] - [System.Xml.Serialization.XmlElementAttribute("SanitaryMeasuresApplied", typeof(RootMDHSanitaryMeasuresApplied))] - [System.Xml.Serialization.XmlElementAttribute("SanitaryMeasuresDetails", typeof(RootMDHSanitaryMeasuresDetails))] - [System.Xml.Serialization.XmlElementAttribute("SickAnimalOrPetOnBoard", typeof(RootMDHSickAnimalOrPetOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("SickPersonsOnBoard", typeof(RootMDHSickPersonsOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("StowawaysDetected", typeof(RootMDHStowawaysDetected))] - [System.Xml.Serialization.XmlElementAttribute("StowawaysJoiningLocation", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("SuspisionInfectiousNature", typeof(RootMDHSuspisionInfectiousNature))] - [System.Xml.Serialization.XmlElementAttribute("ValidSanitaryControlExemptionOrCertificate", typeof(RootMDHValidSanitaryControlExemptionOrCertificate))] - [System.Xml.Serialization.XmlElementAttribute("ValidSanitaryControlExemptionOrCertificateOnBoard", typeof(RootMDHValidSanitaryControlExemptionOrCertificateOnBoard))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType2[] ItemsElementName - { - get - { - return this.itemsElementNameField; - } - set - { - this.itemsElementNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHAwareOfConditionsForFurtherInfections - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootMDHInfectedArea - { - - private string infectedAreaPortField; - - private System.DateTime infectedAreaDateField; - - /// - public string InfectedAreaPort - { - get - { - return this.infectedAreaPortField; - } - set - { - this.infectedAreaPortField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime InfectedAreaDate - { - get - { - return this.infectedAreaDateField; - } - set - { - this.infectedAreaDateField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHInfectedAreaVisited - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHMDHSimplification - { - - /// - Y, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHMedicalConsulted - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHNonAccidentialDeathsDuringVoyage - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHNumberOfIllPersonsHigherThanExpected - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootMDHPortsOfCallLast30Days - { - - private RootMDHPortsOfCallLast30DaysPortOfCallLast30Days[] portOfCallLast30DaysField; - - /// - [System.Xml.Serialization.XmlElementAttribute("PortOfCallLast30Days")] - public RootMDHPortsOfCallLast30DaysPortOfCallLast30Days[] PortOfCallLast30Days - { - get - { - return this.portOfCallLast30DaysField; - } - set - { - this.portOfCallLast30DaysField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootMDHPortsOfCallLast30DaysPortOfCallLast30Days - { - - private string portOfCallLast30DaysLocodeField; - - private System.DateTime portOfCallLast30DaysDateOfDepartureField; - - private RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewMembersJoined portOfCallLast30DaysCrewMembersJoinedField; - - private RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip portOfCallLast30DaysCrewJoinedShipField; - - /// - public string PortOfCallLast30DaysLocode - { - get - { - return this.portOfCallLast30DaysLocodeField; - } - set - { - this.portOfCallLast30DaysLocodeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime PortOfCallLast30DaysDateOfDeparture - { - get - { - return this.portOfCallLast30DaysDateOfDepartureField; - } - set - { - this.portOfCallLast30DaysDateOfDepartureField = value; - } - } - - /// - public RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewMembersJoined PortOfCallLast30DaysCrewMembersJoined - { - get - { - return this.portOfCallLast30DaysCrewMembersJoinedField; - } - set - { - this.portOfCallLast30DaysCrewMembersJoinedField = value; - } - } - - /// - public RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip PortOfCallLast30DaysCrewJoinedShip - { - get - { - return this.portOfCallLast30DaysCrewJoinedShipField; - } - set - { - this.portOfCallLast30DaysCrewJoinedShipField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewMembersJoined - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip - { - - private string[] portOfCallLast30DaysCrewJoinedShipNameField; - - /// - [System.Xml.Serialization.XmlElementAttribute("PortOfCallLast30DaysCrewJoinedShipName")] - public string[] PortOfCallLast30DaysCrewJoinedShipName - { - get - { - return this.portOfCallLast30DaysCrewJoinedShipNameField; - } - set - { - this.portOfCallLast30DaysCrewJoinedShipNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHSanitaryControlReinspectionRequired - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHSanitaryMeasuresApplied - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootMDHSanitaryMeasuresDetails - { - - private string sanitaryMeasuresTypeField; - - private string sanitaryMeasuresLocationField; - - private System.DateTime sanitaryMeasuresDateField; - - /// - public string SanitaryMeasuresType - { - get - { - return this.sanitaryMeasuresTypeField; - } - set - { - this.sanitaryMeasuresTypeField = value; - } - } - - /// - public string SanitaryMeasuresLocation - { - get - { - return this.sanitaryMeasuresLocationField; - } - set - { - this.sanitaryMeasuresLocationField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime SanitaryMeasuresDate - { - get - { - return this.sanitaryMeasuresDateField; - } - set - { - this.sanitaryMeasuresDateField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHSickAnimalOrPetOnBoard - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHSickPersonsOnBoard - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHStowawaysDetected - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHSuspisionInfectiousNature - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootMDHValidSanitaryControlExemptionOrCertificate - { - - private string placeOfIssueField; - - private System.DateTime dateOfIssueField; - - /// - public string PlaceOfIssue - { - get - { - return this.placeOfIssueField; - } - set - { - this.placeOfIssueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime DateOfIssue - { - get - { - return this.dateOfIssueField; - } - set - { - this.dateOfIssueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootMDHValidSanitaryControlExemptionOrCertificateOnBoard - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)] - public enum ItemsChoiceType2 - { - - /// - AwareOfConditionsForFurtherInfections, - - /// - InfectedArea, - - /// - InfectedAreaVisited, - - /// - MDHSimplification, - - /// - MedicalConsulted, - - /// - NonAccidentialDeathsDuringVoyage, - - /// - NonAccidentialDeathsDuringVoyageCount, - - /// - NumberOfIllPersons, - - /// - NumberOfIllPersonsHigherThanExpected, - - /// - PortOfCallWhereCompleteMDHNotified, - - /// - PortsOfCallLast30Days, - - /// - SanitaryControlReinspectionRequired, - - /// - SanitaryMeasuresApplied, - - /// - SanitaryMeasuresDetails, - - /// - SickAnimalOrPetOnBoard, - - /// - SickPersonsOnBoard, - - /// - StowawaysDetected, - - /// - StowawaysJoiningLocation, - - /// - SuspisionInfectiousNature, - - /// - ValidSanitaryControlExemptionOrCertificate, - - /// - ValidSanitaryControlExemptionOrCertificateOnBoard, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootNAME - { - - private ReportingParty reportingPartyField; - - private string nameOfMasterField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public string NameOfMaster - { - get - { - return this.nameOfMasterField; - } - set - { - this.nameOfMasterField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootNOA_NOD - { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType[] itemsElementNameField; - - private string lastPortField; - - private System.DateTime eTDFromLastPortField; - - private bool eTDFromLastPortFieldSpecified; - - private string nextPortField; - - private System.DateTime eTAToNextPortField; - - private bool eTAToNextPortFieldSpecified; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("CallPurpose", typeof(RootNOA_NODCallPurpose))] - [System.Xml.Serialization.XmlElementAttribute("ETAToKielCanal", typeof(System.DateTime))] - [System.Xml.Serialization.XmlElementAttribute("ETAToPortOfCall", typeof(System.DateTime))] - [System.Xml.Serialization.XmlElementAttribute("ETDFromKielCanal", typeof(System.DateTime))] - [System.Xml.Serialization.XmlElementAttribute("ETDFromPortOfCall", typeof(System.DateTime))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType[] ItemsElementName - { - get - { - return this.itemsElementNameField; - } - set - { - this.itemsElementNameField = value; - } - } - - /// - public string LastPort - { - get - { - return this.lastPortField; - } - set - { - this.lastPortField = value; - } - } - - /// - public System.DateTime ETDFromLastPort - { - get - { - return this.eTDFromLastPortField; - } - set - { - this.eTDFromLastPortField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool ETDFromLastPortSpecified - { - get - { - return this.eTDFromLastPortFieldSpecified; - } - set - { - this.eTDFromLastPortFieldSpecified = value; - } - } - - /// - public string NextPort - { - get - { - return this.nextPortField; - } - set - { - this.nextPortField = value; - } - } - - /// - public System.DateTime ETAToNextPort - { - get - { - return this.eTAToNextPortField; - } - set - { - this.eTAToNextPortField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool ETAToNextPortSpecified - { - get - { - return this.eTAToNextPortFieldSpecified; - } - set - { - this.eTAToNextPortFieldSpecified = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootNOA_NODCallPurpose - { - - private int callPurposeCodeField; - - private string callPurposeDescriptionField; - - /// - public int CallPurposeCode - { - get - { - return this.callPurposeCodeField; - } - set - { - this.callPurposeCodeField = value; - } - } - - /// - public string CallPurposeDescription - { - get - { - return this.callPurposeDescriptionField; - } - set - { - this.callPurposeDescriptionField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)] - public enum ItemsChoiceType - { - - /// - CallPurpose, - - /// - ETAToKielCanal, - - /// - ETAToPortOfCall, - - /// - ETDFromKielCanal, - - /// - ETDFromPortOfCall, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootPAS - { - - private ReportingParty reportingPartyField; - - private RootPASPassenger[] passengerField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Passenger")] - public RootPASPassenger[] Passenger - { - get - { - return this.passengerField; - } - set - { - this.passengerField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootPASPassenger - { - - private string passengerLastNameField; - - private string passengerFirstNameField; - - private string passengerPlaceOfBirthField; - - private System.DateTime passengerDateOfBirthField; - - private RootPASPassengerPassengerGender passengerGenderField; - - private bool passengerGenderFieldSpecified; - - private string passengerNationalityField; - - private RootPASPassengerPassengerIdentityDocumentType passengerIdentityDocumentTypeField; - - private string passengerIdentityDocumentIdField; - - private string passengerVisaNumberField; - - private string passengerPortOfEmbarkationField; - - private string passengerPortOfDisembarkationField; - - private RootPASPassengerPassengerInTransit passengerInTransitField; - - /// - public string PassengerLastName - { - get - { - return this.passengerLastNameField; - } - set - { - this.passengerLastNameField = value; - } - } - - /// - public string PassengerFirstName - { - get - { - return this.passengerFirstNameField; - } - set - { - this.passengerFirstNameField = value; - } - } - - /// - public string PassengerPlaceOfBirth - { - get - { - return this.passengerPlaceOfBirthField; - } - set - { - this.passengerPlaceOfBirthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime PassengerDateOfBirth - { - get - { - return this.passengerDateOfBirthField; - } - set - { - this.passengerDateOfBirthField = value; - } - } - - /// - public RootPASPassengerPassengerGender PassengerGender - { - get - { - return this.passengerGenderField; - } - set - { - this.passengerGenderField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool PassengerGenderSpecified - { - get - { - return this.passengerGenderFieldSpecified; - } - set - { - this.passengerGenderFieldSpecified = value; - } - } - - /// - public string PassengerNationality - { - get - { - return this.passengerNationalityField; - } - set - { - this.passengerNationalityField = value; - } - } - - /// - public RootPASPassengerPassengerIdentityDocumentType PassengerIdentityDocumentType - { - get - { - return this.passengerIdentityDocumentTypeField; - } - set - { - this.passengerIdentityDocumentTypeField = value; - } - } - - /// - public string PassengerIdentityDocumentId - { - get - { - return this.passengerIdentityDocumentIdField; - } - set - { - this.passengerIdentityDocumentIdField = value; - } - } - - /// - public string PassengerVisaNumber - { - get - { - return this.passengerVisaNumberField; - } - set - { - this.passengerVisaNumberField = value; - } - } - - /// - public string PassengerPortOfEmbarkation - { - get - { - return this.passengerPortOfEmbarkationField; - } - set - { - this.passengerPortOfEmbarkationField = value; - } - } - - /// - public string PassengerPortOfDisembarkation - { - get - { - return this.passengerPortOfDisembarkationField; - } - set - { - this.passengerPortOfDisembarkationField = value; - } - } - - /// - public RootPASPassengerPassengerInTransit PassengerInTransit - { - get - { - return this.passengerInTransitField; - } - set - { - this.passengerInTransitField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootPASPassengerPassengerGender - { - - /// - MALE, - - /// - FEMALE, - - /// - OTHER, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootPASPassengerPassengerIdentityDocumentType - { - - /// - IDENTITY_CARD, - - /// - PASSPORT, - - /// - MUSTER_BOOK, - - /// - PICTURE_ID, - - /// - RESIDENTAL_PERMIT, - - /// - OTHER_LEGAL_IDENTITY_DOCUMENT, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootPASPassengerPassengerInTransit - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootPOBA - { - - private ReportingParty reportingPartyField; - - private int totalPersonsOnBoardUponArrivalField; - - private int totalCrewMembersOnBoardUponArrivalField; - - private int totalPassengersOnBoardUponArrivalField; - - private int totalStowawaysOnBoardUponArrivalField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public int TotalPersonsOnBoardUponArrival - { - get - { - return this.totalPersonsOnBoardUponArrivalField; - } - set - { - this.totalPersonsOnBoardUponArrivalField = value; - } - } - - /// - public int TotalCrewMembersOnBoardUponArrival - { - get - { - return this.totalCrewMembersOnBoardUponArrivalField; - } - set - { - this.totalCrewMembersOnBoardUponArrivalField = value; - } - } - - /// - public int TotalPassengersOnBoardUponArrival - { - get - { - return this.totalPassengersOnBoardUponArrivalField; - } - set - { - this.totalPassengersOnBoardUponArrivalField = value; - } - } - - /// - public int TotalStowawaysOnBoardUponArrival - { - get - { - return this.totalStowawaysOnBoardUponArrivalField; - } - set - { - this.totalStowawaysOnBoardUponArrivalField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootPOBD - { - - private ReportingParty reportingPartyField; - - private int totalPersonsOnBoardUponDepartureField; - - private int totalCrewMembersOnBoardUponDepartureField; - - private int totalPassengersOnBoardUponDepartureField; - - private int totalStowawaysOnBoardUponDepartureField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public int TotalPersonsOnBoardUponDeparture - { - get - { - return this.totalPersonsOnBoardUponDepartureField; - } - set - { - this.totalPersonsOnBoardUponDepartureField = value; - } - } - - /// - public int TotalCrewMembersOnBoardUponDeparture - { - get - { - return this.totalCrewMembersOnBoardUponDepartureField; - } - set - { - this.totalCrewMembersOnBoardUponDepartureField = value; - } - } - - /// - public int TotalPassengersOnBoardUponDeparture - { - get - { - return this.totalPassengersOnBoardUponDepartureField; - } - set - { - this.totalPassengersOnBoardUponDepartureField = value; - } - } - - /// - public int TotalStowawaysOnBoardUponDeparture - { - get - { - return this.totalStowawaysOnBoardUponDepartureField; - } - set - { - this.totalStowawaysOnBoardUponDepartureField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootPRE72H - { - - private ReportingParty reportingPartyField; - - private RootPRE72HTanker tankerField; - - private RootPRE72HTankerDetails tankerDetailsField; - - private string plannedOperationsField; - - private string plannedWorksField; - - private System.DateTime dateOfLastExpandedInspectionField; - - private float plannedPeriodOfStay_HURField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public RootPRE72HTanker Tanker - { - get - { - return this.tankerField; - } - set - { - this.tankerField = value; - } - } - - /// - public RootPRE72HTankerDetails TankerDetails - { - get - { - return this.tankerDetailsField; - } - set - { - this.tankerDetailsField = value; - } - } - - /// - public string PlannedOperations - { - get - { - return this.plannedOperationsField; - } - set - { - this.plannedOperationsField = value; - } - } - - /// - public string PlannedWorks - { - get - { - return this.plannedWorksField; - } - set - { - this.plannedWorksField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime DateOfLastExpandedInspection - { - get - { - return this.dateOfLastExpandedInspectionField; - } - set - { - this.dateOfLastExpandedInspectionField = value; - } - } - - /// - public float PlannedPeriodOfStay_HUR - { - get - { - return this.plannedPeriodOfStay_HURField; - } - set - { - this.plannedPeriodOfStay_HURField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootPRE72HTanker - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootPRE72HTankerDetails - { - - private RootPRE72HTankerDetailsTankerHullConfiguration tankerHullConfigurationField; - - private RootPRE72HTankerDetailsConditionCargoBallastTanks conditionCargoBallastTanksField; - - private string natureOfCargoField; - - private float volumeOfCargo_TNEField; - - private bool volumeOfCargo_TNEFieldSpecified; - - /// - public RootPRE72HTankerDetailsTankerHullConfiguration TankerHullConfiguration - { - get - { - return this.tankerHullConfigurationField; - } - set - { - this.tankerHullConfigurationField = value; - } - } - - /// - public RootPRE72HTankerDetailsConditionCargoBallastTanks ConditionCargoBallastTanks - { - get - { - return this.conditionCargoBallastTanksField; - } - set - { - this.conditionCargoBallastTanksField = value; - } - } - - /// - public string NatureOfCargo - { - get - { - return this.natureOfCargoField; - } - set - { - this.natureOfCargoField = value; - } - } - - /// - public float VolumeOfCargo_TNE - { - get - { - return this.volumeOfCargo_TNEField; - } - set - { - this.volumeOfCargo_TNEField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool VolumeOfCargo_TNESpecified - { - get - { - return this.volumeOfCargo_TNEFieldSpecified; - } - set - { - this.volumeOfCargo_TNEFieldSpecified = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootPRE72HTankerDetailsTankerHullConfiguration - { - - /// - SINGLE_HULL, - - /// - SINGLE_HULL_WITH_SBT, - - /// - DOUBLE_HULL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootPRE72HTankerDetailsConditionCargoBallastTanks - { - - /// - FULL, - - /// - EMPTY, - - /// - INERTED, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootReportingClassesToReset - { - - private string[] reportingClassToResetField; - - /// - [System.Xml.Serialization.XmlElementAttribute("ReportingClassToReset")] - public string[] ReportingClassToReset - { - get - { - return this.reportingClassToResetField; - } - set - { - this.reportingClassToResetField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSEC - { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType1[] itemsElementNameField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ApprovedSecurityPlanOnBoard", typeof(RootSECApprovedSecurityPlanOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("CSOEMail", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOFax", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOFirstName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOLastName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOPhone", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CurrentShipSecurityLevel", typeof(int))] - [System.Xml.Serialization.XmlElementAttribute("GeneralDescriptionOfCargo", typeof(RootSECGeneralDescriptionOfCargo))] - [System.Xml.Serialization.XmlElementAttribute("ISSCDateOfExpiration", typeof(System.DateTime), DataType = "date")] - [System.Xml.Serialization.XmlElementAttribute("ISSCIssuerName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ISSCIssuerType", typeof(RootSECISSCIssuerType))] - [System.Xml.Serialization.XmlElementAttribute("ISSCType", typeof(RootSECISSCType))] - [System.Xml.Serialization.XmlElementAttribute("LastTenPortFacilitiesCalled", typeof(RootSECLastTenPortFacilitiesCalled))] - [System.Xml.Serialization.XmlElementAttribute("PortFacilityOfArrival", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("PortOfCallWhereCompleteSECNotified", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ReasonsForNoValidISSC", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("SECSimplification", typeof(RootSECSECSimplification))] - [System.Xml.Serialization.XmlElementAttribute("ShipToShipActivitiesDuringLastTenPortFacilitiesCalled", typeof(RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalled))] - [System.Xml.Serialization.XmlElementAttribute("ValidISSCOnBoard", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType1[] ItemsElementName - { - get - { - return this.itemsElementNameField; - } - set - { - this.itemsElementNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootSECApprovedSecurityPlanOnBoard - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootSECGeneralDescriptionOfCargo - { - - /// - CONTAINER, - - /// - VEHICLES, - - /// - CONVENTIONAL_GENERAL_CARGO, - - /// - DRY_CARGO_IN_BULK, - - /// - LIQUID_CARGO_IN_BULK, - - /// - EMPTY, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootSECISSCIssuerType - { - - /// - ADMINISTRATION, - - /// - RSO, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootSECISSCType - { - - /// - FULL, - - /// - INTERIM, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSECLastTenPortFacilitiesCalled - { - - private string portFacilityPortNameField; - - private string portFacilityPortCountryField; - - private string portFacilityPortLoCodeField; - - private System.DateTime portFacilityDateOfArrivalField; - - private System.DateTime portFacilityDateOfDepartureField; - - private int portFacilityShipSecurityLevelField; - - private string portFacilitySecurityMattersToReportField; - - private string portFacilityGISISCodeField; - - /// - public string PortFacilityPortName - { - get - { - return this.portFacilityPortNameField; - } - set - { - this.portFacilityPortNameField = value; - } - } - - /// - public string PortFacilityPortCountry - { - get - { - return this.portFacilityPortCountryField; - } - set - { - this.portFacilityPortCountryField = value; - } - } - - /// - public string PortFacilityPortLoCode - { - get - { - return this.portFacilityPortLoCodeField; - } - set - { - this.portFacilityPortLoCodeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime PortFacilityDateOfArrival - { - get - { - return this.portFacilityDateOfArrivalField; - } - set - { - this.portFacilityDateOfArrivalField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime PortFacilityDateOfDeparture - { - get - { - return this.portFacilityDateOfDepartureField; - } - set - { - this.portFacilityDateOfDepartureField = value; - } - } - - /// - public int PortFacilityShipSecurityLevel - { - get - { - return this.portFacilityShipSecurityLevelField; - } - set - { - this.portFacilityShipSecurityLevelField = value; - } - } - - /// - public string PortFacilitySecurityMattersToReport - { - get - { - return this.portFacilitySecurityMattersToReportField; - } - set - { - this.portFacilitySecurityMattersToReportField = value; - } - } - - /// - public string PortFacilityGISISCode - { - get - { - return this.portFacilityGISISCodeField; - } - set - { - this.portFacilityGISISCodeField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootSECSECSimplification - { - - /// - Y, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalled - { - - private RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalledShipToShipActivityLocation shipToShipActivityLocationField; - - private System.DateTime shipToShipActivityDateFromField; - - private System.DateTime shipToShipActivityDateToField; - - private string shipToShipActivityTypeField; - - private string shipToShipActivitySecurityMattersToReportField; - - /// - public RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalledShipToShipActivityLocation ShipToShipActivityLocation - { - get - { - return this.shipToShipActivityLocationField; - } - set - { - this.shipToShipActivityLocationField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime ShipToShipActivityDateFrom - { - get - { - return this.shipToShipActivityDateFromField; - } - set - { - this.shipToShipActivityDateFromField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "date")] - public System.DateTime ShipToShipActivityDateTo - { - get - { - return this.shipToShipActivityDateToField; - } - set - { - this.shipToShipActivityDateToField = value; - } - } - - /// - public string ShipToShipActivityType - { - get - { - return this.shipToShipActivityTypeField; - } - set - { - this.shipToShipActivityTypeField = value; - } - } - - /// - public string ShipToShipActivitySecurityMattersToReport - { - get - { - return this.shipToShipActivitySecurityMattersToReportField; - } - set - { - this.shipToShipActivitySecurityMattersToReportField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalledShipToShipActivityLocation - { - - private string shipToShipActivityLocationNameField; - - private string shipToShipActivityLocationLoCodeField; - - private RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalledShipToShipActivityLocationShipToShipActivityLocationCoordinates shipToShipActivityLocationCoordinatesField; - - /// - public string ShipToShipActivityLocationName - { - get - { - return this.shipToShipActivityLocationNameField; - } - set - { - this.shipToShipActivityLocationNameField = value; - } - } - - /// - public string ShipToShipActivityLocationLoCode - { - get - { - return this.shipToShipActivityLocationLoCodeField; - } - set - { - this.shipToShipActivityLocationLoCodeField = value; - } - } - - /// - public RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalledShipToShipActivityLocationShipToShipActivityLocationCoordinates ShipToShipActivityLocationCoordinates - { - get - { - return this.shipToShipActivityLocationCoordinatesField; - } - set - { - this.shipToShipActivityLocationCoordinatesField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalledShipToShipActivityLocationShipToShipActivityLocationCoordinates - { - - private int shipToShipActivityLocationCoordinatesLatitudeField; - - private int shipToShipActivityLocationCoordinatesLongitudeField; - - /// - public int ShipToShipActivityLocationCoordinatesLatitude - { - get - { - return this.shipToShipActivityLocationCoordinatesLatitudeField; - } - set - { - this.shipToShipActivityLocationCoordinatesLatitudeField = value; - } - } - - /// - public int ShipToShipActivityLocationCoordinatesLongitude - { - get - { - return this.shipToShipActivityLocationCoordinatesLongitudeField; - } - set - { - this.shipToShipActivityLocationCoordinatesLongitudeField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootSECValidISSCOnBoard - { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)] - public enum ItemsChoiceType1 - { - - /// - ApprovedSecurityPlanOnBoard, - - /// - CSOEMail, - - /// - CSOFax, - - /// - CSOFirstName, - - /// - CSOLastName, - - /// - CSOPhone, - - /// - CurrentShipSecurityLevel, - - /// - GeneralDescriptionOfCargo, - - /// - ISSCDateOfExpiration, - - /// - ISSCIssuerName, - - /// - ISSCIssuerType, - - /// - ISSCType, - - /// - LastTenPortFacilitiesCalled, - - /// - PortFacilityOfArrival, - - /// - PortOfCallWhereCompleteSECNotified, - - /// - ReasonsForNoValidISSC, - - /// - SECSimplification, - - /// - ShipToShipActivitiesDuringLastTenPortFacilitiesCalled, - - /// - ValidISSCOnBoard, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSERV - { - - private ReportingParty reportingPartyField; - - private RootSERVService[] serviceField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Service")] - public RootSERVService[] Service - { - get - { - return this.serviceField; - } - set - { - this.serviceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSERVService - { - - private string serviceNameField; - - private string serviceBeneficiaryField; - - private string serviceInvoiceRecipientField; - - /// - public string ServiceName - { - get - { - return this.serviceNameField; - } - set - { - this.serviceNameField = value; - } - } - - /// - public string ServiceBeneficiary - { - get - { - return this.serviceBeneficiaryField; - } - set - { - this.serviceBeneficiaryField = value; - } - } - - /// - public string ServiceInvoiceRecipient - { - get - { - return this.serviceInvoiceRecipientField; - } - set - { - this.serviceInvoiceRecipientField = 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)] +[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=false)] +public partial class Root { + + private string versionField; + + private System.DateTime timestampField; + + private string senderField; + + private string senderReferenceField; + + private RootType typeField; + + private object itemField; + + private ItemChoiceType2 itemElementNameField; + + private string[] sisNumbersField; + + private ReportingParty reportingPartyField; + + private object[] itemsField; + + private RootViolation[] violationsField; + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSTAT - { - - private ReportingParty reportingPartyField; - - private string shipNameField; - - private string callSignField; - - private string mMSINumberField; - - private string flagField; - - private float lengthOverall_MTRField; - - private float beam_MTRField; - - private int grossTonnageField; - - private string portOfRegistryField; - - private string inmarsatCallNumberField; - - private string shipTypeField; - - private RootSTATISMCompany iSMCompanyField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public string ShipName - { - get - { - return this.shipNameField; - } - set - { - this.shipNameField = value; - } - } - - /// - public string CallSign - { - get - { - return this.callSignField; - } - set - { - this.callSignField = value; - } - } - - /// - public string MMSINumber - { - get - { - return this.mMSINumberField; - } - set - { - this.mMSINumberField = value; - } - } - - /// - public string Flag - { - get - { - return this.flagField; - } - set - { - this.flagField = value; - } - } - - /// - public float LengthOverall_MTR - { - get - { - return this.lengthOverall_MTRField; - } - set - { - this.lengthOverall_MTRField = value; - } - } - - /// - public float Beam_MTR - { - get - { - return this.beam_MTRField; - } - set - { - this.beam_MTRField = value; - } - } - - /// - public int GrossTonnage - { - get - { - return this.grossTonnageField; - } - set - { - this.grossTonnageField = value; - } - } - - /// - public string PortOfRegistry - { - get - { - return this.portOfRegistryField; - } - set - { - this.portOfRegistryField = value; - } - } - - /// - public string InmarsatCallNumber - { - get - { - return this.inmarsatCallNumberField; - } - set - { - this.inmarsatCallNumberField = value; - } - } - - /// - public string ShipType - { - get - { - return this.shipTypeField; - } - set - { - this.shipTypeField = value; - } - } - - /// - public RootSTATISMCompany ISMCompany - { - get - { - return this.iSMCompanyField; - } - set - { - this.iSMCompanyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootSTATISMCompany - { - - private string iSMCompanyNameField; - - private string iSMCompanyIdField; - - private string iSMCompanyStreetAndNumberField; - - private string iSMCompanyPostalCodeField; - - private string iSMCompanyCityField; - - private string iSMCompanyCountryField; - - /// - public string ISMCompanyName - { - get - { - return this.iSMCompanyNameField; - } - set - { - this.iSMCompanyNameField = value; - } - } - - /// - public string ISMCompanyId - { - get - { - return this.iSMCompanyIdField; - } - set - { - this.iSMCompanyIdField = value; - } - } - - /// - public string ISMCompanyStreetAndNumber - { - get - { - return this.iSMCompanyStreetAndNumberField; - } - set - { - this.iSMCompanyStreetAndNumberField = value; - } - } - - /// - public string ISMCompanyPostalCode - { - get - { - return this.iSMCompanyPostalCodeField; - } - set - { - this.iSMCompanyPostalCodeField = value; - } - } - - /// - public string ISMCompanyCity - { - get - { - return this.iSMCompanyCityField; - } - set - { - this.iSMCompanyCityField = value; - } - } - - /// - public string ISMCompanyCountry - { - get - { - return this.iSMCompanyCountryField; - } - set - { - this.iSMCompanyCountryField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTIEFA - { - - private ReportingParty reportingPartyField; - - private float draughtUponArrival_DMTField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } - } - - /// - public float DraughtUponArrival_DMT - { - get - { - return this.draughtUponArrival_DMTField; - } - set - { - this.draughtUponArrival_DMTField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTIEFD - { - - private ReportingParty reportingPartyField; - - private float draughtUponDeparture_DMTField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } + public string Version { + get { + return this.versionField; } - - /// - public float DraughtUponDeparture_DMT - { - get - { - return this.draughtUponDeparture_DMTField; - } - set - { - this.draughtUponDeparture_DMTField = value; - } + set { + this.versionField = value; } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTOWA - { - - private ReportingParty reportingPartyField; - - private RootTOWATowageOnArrival[] towageOnArrivalField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } + public System.DateTime Timestamp { + get { + return this.timestampField; } - - /// - [System.Xml.Serialization.XmlElementAttribute("TowageOnArrival")] - public RootTOWATowageOnArrival[] TowageOnArrival - { - get - { - return this.towageOnArrivalField; - } - set - { - this.towageOnArrivalField = value; - } + set { + this.timestampField = value; } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTOWATowageOnArrival - { - - private string towageOnArrivalNameField; - - private string towageOnArrivalFlagField; - - private RootTOWATowageOnArrivalTowageOnArrivalOperator towageOnArrivalOperatorField; - - private int towageOnArrivalGrossTonnageField; - - private float towageOnArrivalLengthOverall_MTRField; - - private float towageOnArrivalBeam_MTRField; - - private string towageOnArrivalPurposeOfCallField; - - private float towageOnArrivalDraught_DMTField; - - private string towageOnArrivalRemarksField; - - /// - public string TowageOnArrivalName - { - get - { - return this.towageOnArrivalNameField; - } - set - { - this.towageOnArrivalNameField = value; - } - } - - /// - public string TowageOnArrivalFlag - { - get - { - return this.towageOnArrivalFlagField; - } - set - { - this.towageOnArrivalFlagField = value; - } - } - - /// - public RootTOWATowageOnArrivalTowageOnArrivalOperator TowageOnArrivalOperator - { - get - { - return this.towageOnArrivalOperatorField; - } - set - { - this.towageOnArrivalOperatorField = value; - } - } - - /// - public int TowageOnArrivalGrossTonnage - { - get - { - return this.towageOnArrivalGrossTonnageField; - } - set - { - this.towageOnArrivalGrossTonnageField = value; - } - } - - /// - public float TowageOnArrivalLengthOverall_MTR - { - get - { - return this.towageOnArrivalLengthOverall_MTRField; - } - set - { - this.towageOnArrivalLengthOverall_MTRField = value; - } - } - - /// - public float TowageOnArrivalBeam_MTR - { - get - { - return this.towageOnArrivalBeam_MTRField; - } - set - { - this.towageOnArrivalBeam_MTRField = value; - } - } - - /// - public string TowageOnArrivalPurposeOfCall - { - get - { - return this.towageOnArrivalPurposeOfCallField; - } - set - { - this.towageOnArrivalPurposeOfCallField = value; - } - } - - /// - public float TowageOnArrivalDraught_DMT - { - get - { - return this.towageOnArrivalDraught_DMTField; - } - set - { - this.towageOnArrivalDraught_DMTField = value; - } - } - - /// - public string TowageOnArrivalRemarks - { - get - { - return this.towageOnArrivalRemarksField; - } - set - { - this.towageOnArrivalRemarksField = value; - } + public string Sender { + get { + return this.senderField; + } + set { + this.senderField = value; } } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTOWATowageOnArrivalTowageOnArrivalOperator - { - - private string towageOnArrivalOperatorCompanyNameField; - - private string towageOnArrivalOperatorStreetAndNumberField; - - private string towageOnArrivalOperatorPostalCodeField; - - private string towageOnArrivalOperatorCityField; - - private string towageOnArrivalOperatorCountryField; - - private string towageOnArrivalOperatorPhoneField; - - private string towageOnArrivalOperatorFaxField; - - private string towageOnArrivalOperatorEMailField; - - /// - public string TowageOnArrivalOperatorCompanyName - { - get - { - return this.towageOnArrivalOperatorCompanyNameField; - } - set - { - this.towageOnArrivalOperatorCompanyNameField = value; - } - } - - /// - public string TowageOnArrivalOperatorStreetAndNumber - { - get - { - return this.towageOnArrivalOperatorStreetAndNumberField; - } - set - { - this.towageOnArrivalOperatorStreetAndNumberField = value; - } - } - - /// - public string TowageOnArrivalOperatorPostalCode - { - get - { - return this.towageOnArrivalOperatorPostalCodeField; - } - set - { - this.towageOnArrivalOperatorPostalCodeField = value; - } - } - - /// - public string TowageOnArrivalOperatorCity - { - get - { - return this.towageOnArrivalOperatorCityField; - } - set - { - this.towageOnArrivalOperatorCityField = value; - } - } - - /// - public string TowageOnArrivalOperatorCountry - { - get - { - return this.towageOnArrivalOperatorCountryField; - } - set - { - this.towageOnArrivalOperatorCountryField = value; - } - } - - /// - public string TowageOnArrivalOperatorPhone - { - get - { - return this.towageOnArrivalOperatorPhoneField; - } - set - { - this.towageOnArrivalOperatorPhoneField = value; - } - } - - /// - public string TowageOnArrivalOperatorFax - { - get - { - return this.towageOnArrivalOperatorFaxField; - } - set - { - this.towageOnArrivalOperatorFaxField = value; - } + + /// + public string SenderReference { + get { + return this.senderReferenceField; } - - /// - public string TowageOnArrivalOperatorEMail - { - get - { - return this.towageOnArrivalOperatorEMailField; - } - set - { - this.towageOnArrivalOperatorEMailField = value; - } + set { + this.senderReferenceField = value; } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTOWD - { - - private ReportingParty reportingPartyField; - - private RootTOWDTowageOnDeparture[] towageOnDepartureField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } + public RootType Type { + get { + return this.typeField; } - - /// - [System.Xml.Serialization.XmlElementAttribute("TowageOnDeparture")] - public RootTOWDTowageOnDeparture[] TowageOnDeparture - { - get - { - return this.towageOnDepartureField; - } - set - { - this.towageOnDepartureField = value; - } + set { + this.typeField = value; } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTOWDTowageOnDeparture - { - - private string towageOnDepartureNameField; - - private string towageOnDepartureFlagField; - - private RootTOWDTowageOnDepartureTowageOnDepartureOperator towageOnDepartureOperatorField; - - private float towageOnDepartureLengthOverall_MTRField; - - private bool towageOnDepartureLengthOverall_MTRFieldSpecified; - - private float towageOnDepartureBeam_MTRField; - - private bool towageOnDepartureBeam_MTRFieldSpecified; - - private float towageOnDepartureDraught_DMTField; - - private string towageOnDepartureRemarksField; - - /// - public string TowageOnDepartureName - { - get - { - return this.towageOnDepartureNameField; - } - set - { - this.towageOnDepartureNameField = value; - } - } - - /// - public string TowageOnDepartureFlag - { - get - { - return this.towageOnDepartureFlagField; - } - set - { - this.towageOnDepartureFlagField = value; - } - } - - /// - public RootTOWDTowageOnDepartureTowageOnDepartureOperator TowageOnDepartureOperator - { - get - { - return this.towageOnDepartureOperatorField; - } - set - { - this.towageOnDepartureOperatorField = value; - } - } - - /// - public float TowageOnDepartureLengthOverall_MTR - { - get - { - return this.towageOnDepartureLengthOverall_MTRField; - } - set - { - this.towageOnDepartureLengthOverall_MTRField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool TowageOnDepartureLengthOverall_MTRSpecified - { - get - { - return this.towageOnDepartureLengthOverall_MTRFieldSpecified; - } - set - { - this.towageOnDepartureLengthOverall_MTRFieldSpecified = value; - } - } - - /// - public float TowageOnDepartureBeam_MTR - { - get - { - return this.towageOnDepartureBeam_MTRField; - } - set - { - this.towageOnDepartureBeam_MTRField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool TowageOnDepartureBeam_MTRSpecified - { - get - { - return this.towageOnDepartureBeam_MTRFieldSpecified; - } - set - { - this.towageOnDepartureBeam_MTRFieldSpecified = value; - } - } - - /// - public float TowageOnDepartureDraught_DMT - { - get - { - return this.towageOnDepartureDraught_DMTField; - } - set - { - this.towageOnDepartureDraught_DMTField = value; - } + [System.Xml.Serialization.XmlElementAttribute("Transit", typeof(RootTransit))] + [System.Xml.Serialization.XmlElementAttribute("TransitId", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("Visit", typeof(RootVisit))] + [System.Xml.Serialization.XmlElementAttribute("VisitId", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] + public object Item { + get { + return this.itemField; } - - /// - public string TowageOnDepartureRemarks - { - get - { - return this.towageOnDepartureRemarksField; - } - set - { - this.towageOnDepartureRemarksField = value; - } + set { + this.itemField = value; } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootTOWDTowageOnDepartureTowageOnDepartureOperator - { - - private string towageOnDepartureOperatorCompanyNameField; - - private string towageOnDepartureOperatorStreetAndNumberField; - - private string towageOnDepartureOperatorPostalCodeField; - - private string towageOnDepartureOperatorCityField; - - private string towageOnDepartureOperatorCountryField; - - private string towageOnDepartureOperatorPhoneField; - - private string towageOnDepartureOperatorFaxField; - - private string towageOnDepartureOperatorEMailField; - - /// - public string TowageOnDepartureOperatorCompanyName - { - get - { - return this.towageOnDepartureOperatorCompanyNameField; - } - set - { - this.towageOnDepartureOperatorCompanyNameField = value; - } - } - - /// - public string TowageOnDepartureOperatorStreetAndNumber - { - get - { - return this.towageOnDepartureOperatorStreetAndNumberField; - } - set - { - this.towageOnDepartureOperatorStreetAndNumberField = value; - } - } - - /// - public string TowageOnDepartureOperatorPostalCode - { - get - { - return this.towageOnDepartureOperatorPostalCodeField; - } - set - { - this.towageOnDepartureOperatorPostalCodeField = value; - } - } - - /// - public string TowageOnDepartureOperatorCity - { - get - { - return this.towageOnDepartureOperatorCityField; - } - set - { - this.towageOnDepartureOperatorCityField = value; - } + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemChoiceType2 ItemElementName { + get { + return this.itemElementNameField; } - - /// - public string TowageOnDepartureOperatorCountry - { - get - { - return this.towageOnDepartureOperatorCountryField; - } - set - { - this.towageOnDepartureOperatorCountryField = value; - } - } - - /// - public string TowageOnDepartureOperatorPhone - { - get - { - return this.towageOnDepartureOperatorPhoneField; - } - set - { - this.towageOnDepartureOperatorPhoneField = value; - } - } - - /// - public string TowageOnDepartureOperatorFax - { - get - { - return this.towageOnDepartureOperatorFaxField; - } - set - { - this.towageOnDepartureOperatorFaxField = value; - } - } - - /// - public string TowageOnDepartureOperatorEMail - { - get - { - return this.towageOnDepartureOperatorEMailField; - } - set - { - this.towageOnDepartureOperatorEMailField = value; - } + set { + this.itemElementNameField = value; } } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootWAS - { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType3[] itemsElementNameField; - - /// - public ReportingParty ReportingParty - { - get - { - return this.reportingPartyField; - } - set - { - this.reportingPartyField = value; - } + [System.Xml.Serialization.XmlArrayItemAttribute("SisNumber", IsNullable=false)] + public string[] SisNumbers { + get { + return this.sisNumbersField; } - - /// - [System.Xml.Serialization.XmlElementAttribute("ConfirmationOfCorrectness", typeof(RootWASConfirmationOfCorrectness))] - [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalDate", typeof(System.DateTime), DataType = "date")] - [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalPort", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("Waste", typeof(RootWASWaste))] - [System.Xml.Serialization.XmlElementAttribute("WasteDisposalDelivery", typeof(RootWASWasteDisposalDelivery))] - [System.Xml.Serialization.XmlElementAttribute("WasteDisposalServiceProviderName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("WasteDisposalValidExemption", typeof(RootWASWasteDisposalValidExemption))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType3[] ItemsElementName - { - get - { - return this.itemsElementNameField; - } - set - { - this.itemsElementNameField = value; - } + set { + this.sisNumbersField = value; } } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootWASConfirmationOfCorrectness - { - - /// - Y, - - /// - N, - } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootWASWaste - { - - private RootWASWasteWasteType wasteTypeField; - - private string wasteDescriptionField; - - private float wasteDisposalAmount_MTQField; - - private RootWASWasteWasteDetails wasteDetailsField; - - /// - public RootWASWasteWasteType WasteType - { - get - { - return this.wasteTypeField; - } - set - { - this.wasteTypeField = value; - } - } - - /// - public string WasteDescription - { - get - { - return this.wasteDescriptionField; - } - set - { - this.wasteDescriptionField = value; - } + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; } - - /// - public float WasteDisposalAmount_MTQ - { - get - { - return this.wasteDisposalAmount_MTQField; - } - set - { - this.wasteDisposalAmount_MTQField = value; - } - } - - /// - public RootWASWasteWasteDetails WasteDetails - { - get - { - return this.wasteDetailsField; - } - set - { - this.wasteDetailsField = value; - } + set { + this.reportingPartyField = value; } } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootWASWasteWasteType - { - - /// - [System.Xml.Serialization.XmlEnumAttribute("1_WASTE_OILS-SLUDGE")] - Item1_WASTE_OILSSLUDGE, - - /// - [System.Xml.Serialization.XmlEnumAttribute("2_WASTE_OILS-BILGE_WATER")] - Item2_WASTE_OILSBILGE_WATER, - - /// - [System.Xml.Serialization.XmlEnumAttribute("3_WASTE_OILS-OTHERS")] - Item3_WASTE_OILSOTHERS, - - /// - [System.Xml.Serialization.XmlEnumAttribute("4_GARBAGE-FOOD_WASTE")] - Item4_GARBAGEFOOD_WASTE, - - /// - [System.Xml.Serialization.XmlEnumAttribute("5_GARBAGE-PLASTIC")] - Item5_GARBAGEPLASTIC, - - /// - [System.Xml.Serialization.XmlEnumAttribute("6_GARBAGE-OTHER")] - Item6_GARBAGEOTHER, - - /// - [System.Xml.Serialization.XmlEnumAttribute("7_SEWAGE")] - Item7_SEWAGE, - - /// - [System.Xml.Serialization.XmlEnumAttribute("8_CARGO-ASSOCIATED_WASTE")] - Item8_CARGOASSOCIATED_WASTE, - - /// - [System.Xml.Serialization.XmlEnumAttribute("9_CARGO-RESIDUES")] - Item9_CARGORESIDUES, - } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootWASWasteWasteDetails - { - - private float wasteCapacity_MTQField; - - private float wasteAmountRetained_MTQField; - - private string wasteDisposalPortField; - - private float wasteAmountGeneratedTillNextPort_MTQField; - - /// - public float WasteCapacity_MTQ - { - get - { - return this.wasteCapacity_MTQField; - } - set - { - this.wasteCapacity_MTQField = value; - } - } - - /// - public float WasteAmountRetained_MTQ - { - get - { - return this.wasteAmountRetained_MTQField; - } - set - { - this.wasteAmountRetained_MTQField = value; - } - } - - /// - public string WasteDisposalPort - { - get - { - return this.wasteDisposalPortField; - } - set - { - this.wasteDisposalPortField = value; - } + [System.Xml.Serialization.XmlElementAttribute("AGNT", typeof(RootAGNT))] + [System.Xml.Serialization.XmlElementAttribute("ATA", typeof(RootATA))] + [System.Xml.Serialization.XmlElementAttribute("ATD", typeof(RootATD))] + [System.Xml.Serialization.XmlElementAttribute("BKRA", typeof(RootBKRA))] + [System.Xml.Serialization.XmlElementAttribute("BKRD", typeof(RootBKRD))] + [System.Xml.Serialization.XmlElementAttribute("BPOL", typeof(RootBPOL))] + [System.Xml.Serialization.XmlElementAttribute("CREW", typeof(RootCREW))] + [System.Xml.Serialization.XmlElementAttribute("HAZA", typeof(RootHAZA))] + [System.Xml.Serialization.XmlElementAttribute("HAZD", typeof(RootHAZD))] + [System.Xml.Serialization.XmlElementAttribute("INFO", typeof(RootINFO))] + [System.Xml.Serialization.XmlElementAttribute("LADG", typeof(RootLADG))] + [System.Xml.Serialization.XmlElementAttribute("MDH", typeof(RootMDH))] + [System.Xml.Serialization.XmlElementAttribute("NAME", typeof(RootNAME))] + [System.Xml.Serialization.XmlElementAttribute("NOA_NOD", typeof(RootNOA_NOD))] + [System.Xml.Serialization.XmlElementAttribute("PAS", typeof(RootPAS))] + [System.Xml.Serialization.XmlElementAttribute("POBA", typeof(RootPOBA))] + [System.Xml.Serialization.XmlElementAttribute("POBD", typeof(RootPOBD))] + [System.Xml.Serialization.XmlElementAttribute("PRE72H", typeof(RootPRE72H))] + [System.Xml.Serialization.XmlElementAttribute("ReportingClassesToReset", typeof(RootReportingClassesToReset))] + [System.Xml.Serialization.XmlElementAttribute("SEC", typeof(RootSEC))] + [System.Xml.Serialization.XmlElementAttribute("SERV", typeof(RootSERV))] + [System.Xml.Serialization.XmlElementAttribute("STAT", typeof(RootSTAT))] + [System.Xml.Serialization.XmlElementAttribute("TIEFA", typeof(RootTIEFA))] + [System.Xml.Serialization.XmlElementAttribute("TIEFD", typeof(RootTIEFD))] + [System.Xml.Serialization.XmlElementAttribute("TOWA", typeof(RootTOWA))] + [System.Xml.Serialization.XmlElementAttribute("TOWD", typeof(RootTOWD))] + [System.Xml.Serialization.XmlElementAttribute("WAS", typeof(RootWAS))] + public object[] Items { + get { + return this.itemsField; } - - /// - public float WasteAmountGeneratedTillNextPort_MTQ - { - get - { - return this.wasteAmountGeneratedTillNextPort_MTQField; - } - set - { - this.wasteAmountGeneratedTillNextPort_MTQField = value; - } + set { + this.itemsField = value; } } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootWASWasteDisposalDelivery - { - - /// - ALL, - - /// - SOME, - - /// - NONE, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public enum RootWASWasteDisposalValidExemption - { - - /// - Y, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)] - public enum ItemsChoiceType3 - { - - /// - ConfirmationOfCorrectness, - - /// - LastWasteDisposalDate, - - /// - LastWasteDisposalPort, - - /// - Waste, - - /// - WasteDisposalDelivery, - - /// - WasteDisposalServiceProviderName, - - /// - WasteDisposalValidExemption, - } - + /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] - public partial class RootViolation - { - - private int violationCodeField; - - private string violationTextField; - - /// - public int ViolationCode - { - get - { - return this.violationCodeField; - } - set - { - this.violationCodeField = value; - } + [System.Xml.Serialization.XmlArrayItemAttribute("Violation", IsNullable=false)] + public RootViolation[] Violations { + get { + return this.violationsField; } - - /// - public string ViolationText - { - get - { - return this.violationTextField; - } - set - { - this.violationTextField = value; - } + set { + this.violationsField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum RootType { + + /// + VISIT, + + /// + TRANSIT, + + /// + DATA, + + /// + RESET, + + /// + CANCEL, +} + +/// +[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 RootTransit { + + private string itemField; + + private ItemChoiceType1 itemElementNameField; + + private string eTAKielCanalField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] + public string Item { + get { + return this.itemField; + } + set { + this.itemField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemChoiceType1 ItemElementName { + get { + return this.itemElementNameField; + } + set { + this.itemElementNameField = value; + } + } + + /// + public string ETAKielCanal { + get { + return this.eTAKielCanalField; + } + set { + this.eTAKielCanalField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemChoiceType1 { + + /// + ENINumber, + + /// + IMONumber, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +public partial class MARPOLPosition { + + private string nameField; + + private FlashpointInfoType flashpointInformationField; + + private string flashpoint_CELField; + + private decimal quantity_KGMField; + + private string stowagePositionField; + + private string portOfLoadingField; + + private string portOfDischargeField; + + private string remarksField; + + private string identifierField; + + /// + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + } + } + + /// + public FlashpointInfoType FlashpointInformation { + get { + return this.flashpointInformationField; + } + set { + this.flashpointInformationField = value; + } + } + + /// + public string Flashpoint_CEL { + get { + return this.flashpoint_CELField; + } + set { + this.flashpoint_CELField = value; + } + } + + /// + public decimal Quantity_KGM { + get { + return this.quantity_KGMField; + } + set { + this.quantity_KGMField = value; + } + } + + /// + public string StowagePosition { + get { + return this.stowagePositionField; + } + set { + this.stowagePositionField = value; + } + } + + /// + public string PortOfLoading { + get { + return this.portOfLoadingField; + } + set { + this.portOfLoadingField = value; + } + } + + /// + public string PortOfDischarge { + get { + return this.portOfDischargeField; + } + set { + this.portOfDischargeField = value; + } + } + + /// + public string Remarks { + get { + return this.remarksField; + } + set { + this.remarksField = value; + } + } + + /// + public string Identifier { + get { + return this.identifierField; + } + set { + this.identifierField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum FlashpointInfoType { + + /// + NF, + + /// + GT60CEL, + + /// + LE60CEL, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +public partial class IMSBCPosition { + + private string bulkCargoShippingNameField; + + private RootSECValidISSCOnBoard mHBField; + + private string uNNumberField; + + private string iMOClassField; + + private decimal quantity_KGMField; + + private string stowagePositionField; + + private string portOfLoadingField; + + private string portOfDischargeField; + + private string remarksField; + + private string identifierField; + + /// + public string BulkCargoShippingName { + get { + return this.bulkCargoShippingNameField; + } + set { + this.bulkCargoShippingNameField = value; + } + } + + /// + public RootSECValidISSCOnBoard MHB { + get { + return this.mHBField; + } + set { + this.mHBField = value; + } + } + + /// + public string UNNumber { + get { + return this.uNNumberField; + } + set { + this.uNNumberField = value; + } + } + + /// + public string IMOClass { + get { + return this.iMOClassField; + } + set { + this.iMOClassField = value; + } + } + + /// + public decimal Quantity_KGM { + get { + return this.quantity_KGMField; + } + set { + this.quantity_KGMField = value; + } + } + + /// + public string StowagePosition { + get { + return this.stowagePositionField; + } + set { + this.stowagePositionField = value; + } + } + + /// + public string PortOfLoading { + get { + return this.portOfLoadingField; + } + set { + this.portOfLoadingField = value; + } + } + + /// + public string PortOfDischarge { + get { + return this.portOfDischargeField; + } + set { + this.portOfDischargeField = value; + } + } + + /// + public string Remarks { + get { + return this.remarksField; + } + set { + this.remarksField = value; + } + } + + /// + public string Identifier { + get { + return this.identifierField; + } + set { + this.identifierField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum RootSECValidISSCOnBoard { + + /// + Y, + + /// + N, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +public partial class IGCPosition { + + private string uNNumberField; + + private string iMOClassField; + + private string productNameField; + + private decimal quantity_KGMField; + + private string stowagePositionField; + + private string portOfLoadingField; + + private string portOfDischargeField; + + private string remarksField; + + private string identifierField; + + /// + public string UNNumber { + get { + return this.uNNumberField; + } + set { + this.uNNumberField = value; + } + } + + /// + public string IMOClass { + get { + return this.iMOClassField; + } + set { + this.iMOClassField = value; + } + } + + /// + public string ProductName { + get { + return this.productNameField; + } + set { + this.productNameField = value; + } + } + + /// + public decimal Quantity_KGM { + get { + return this.quantity_KGMField; + } + set { + this.quantity_KGMField = value; + } + } + + /// + public string StowagePosition { + get { + return this.stowagePositionField; + } + set { + this.stowagePositionField = value; + } + } + + /// + public string PortOfLoading { + get { + return this.portOfLoadingField; + } + set { + this.portOfLoadingField = value; + } + } + + /// + public string PortOfDischarge { + get { + return this.portOfDischargeField; + } + set { + this.portOfDischargeField = value; + } + } + + /// + public string Remarks { + get { + return this.remarksField; + } + set { + this.remarksField = value; + } + } + + /// + public string Identifier { + get { + return this.identifierField; + } + set { + this.identifierField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +public partial class IBCPosition { + + private string productNameField; + + private PollutionCategoryType pollutionCategoryField; + + private HazardType hazardsField; + + private bool hazardsFieldSpecified; + + private FlashpointInfoType flashpointInformationField; + + private string flashpoint_CELField; + + private decimal quantity_KGMField; + + private string stowagePositionField; + + private string portOfLoadingField; + + private string portOfDischargeField; + + private RootSECValidISSCOnBoard specRef15_19Field; + + private bool specRef15_19FieldSpecified; + + private string remarksField; + + private string identifierField; + + /// + public string ProductName { + get { + return this.productNameField; + } + set { + this.productNameField = value; + } + } + + /// + public PollutionCategoryType PollutionCategory { + get { + return this.pollutionCategoryField; + } + set { + this.pollutionCategoryField = value; + } + } + + /// + public HazardType Hazards { + get { + return this.hazardsField; + } + set { + this.hazardsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HazardsSpecified { + get { + return this.hazardsFieldSpecified; + } + set { + this.hazardsFieldSpecified = value; + } + } + + /// + public FlashpointInfoType FlashpointInformation { + get { + return this.flashpointInformationField; + } + set { + this.flashpointInformationField = value; + } + } + + /// + public string Flashpoint_CEL { + get { + return this.flashpoint_CELField; + } + set { + this.flashpoint_CELField = value; + } + } + + /// + public decimal Quantity_KGM { + get { + return this.quantity_KGMField; + } + set { + this.quantity_KGMField = value; + } + } + + /// + public string StowagePosition { + get { + return this.stowagePositionField; + } + set { + this.stowagePositionField = value; + } + } + + /// + public string PortOfLoading { + get { + return this.portOfLoadingField; + } + set { + this.portOfLoadingField = value; + } + } + + /// + public string PortOfDischarge { + get { + return this.portOfDischargeField; + } + set { + this.portOfDischargeField = value; + } + } + + /// + public RootSECValidISSCOnBoard SpecRef15_19 { + get { + return this.specRef15_19Field; + } + set { + this.specRef15_19Field = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SpecRef15_19Specified { + get { + return this.specRef15_19FieldSpecified; + } + set { + this.specRef15_19FieldSpecified = value; + } + } + + /// + public string Remarks { + get { + return this.remarksField; + } + set { + this.remarksField = value; + } + } + + /// + public string Identifier { + get { + return this.identifierField; + } + set { + this.identifierField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum PollutionCategoryType { + + /// + X, + + /// + Y, + + /// + Z, + + /// + OS, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum HazardType { + + /// + P, + + /// + S, + + /// + [System.Xml.Serialization.XmlEnumAttribute("S/P")] + SP, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +public partial class IMDGPosition { + + private string uNNumberField; + + private PackingGroupType packingGroupField; + + private bool packingGroupFieldSpecified; + + private string properShippingNameField; + + private string iMOClassField; + + private string technicalNameField; + + private decimal netExplosiveMass_KGMField; + + private bool netExplosiveMass_KGMFieldSpecified; + + private string flashpoint_CELField; + + private string class7NuclideNameField; + + private decimal class7MaxActivity_BQLField; + + private bool class7MaxActivity_BQLFieldSpecified; + + private int class7CategoryField; + + private bool class7CategoryFieldSpecified; + + private decimal class7TransportIndexField; + + private bool class7TransportIndexFieldSpecified; + + private decimal class7CSIField; + + private bool class7CSIFieldSpecified; + + private decimal controlTemperature_CELField; + + private bool controlTemperature_CELFieldSpecified; + + private decimal emergencyTemperature_CELField; + + private bool emergencyTemperature_CELFieldSpecified; + + private string[] subsidiaryRisksField; + + private RootSECValidISSCOnBoard marinePollutantField; + + private int numberOfPackagesField; + + private string packageTypeField; + + private RootSECValidISSCOnBoard limitedQuantitiesField; + + private RootSECValidISSCOnBoard exceptedQuantitiesField; + + private decimal netQuantity_KGMField; + + private bool netQuantity_KGMFieldSpecified; + + private decimal grossQuantity_KGMField; + + private bool grossQuantity_KGMFieldSpecified; + + private decimal volume_MTQField; + + private bool volume_MTQFieldSpecified; + + private RootSECValidISSCOnBoard generalCargoIBCField; + + private bool generalCargoIBCFieldSpecified; + + private string containerNumberField; + + private string vehicleLicenseNumberField; + + private string[] itemsField; + + private ItemsChoiceType4[] itemsElementNameField; + + private string portOfLoadingField; + + private string portOfDischargeField; + + private string remarksField; + + private string identifierField; + + /// + public string UNNumber { + get { + return this.uNNumberField; + } + set { + this.uNNumberField = value; + } + } + + /// + public PackingGroupType PackingGroup { + get { + return this.packingGroupField; + } + set { + this.packingGroupField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PackingGroupSpecified { + get { + return this.packingGroupFieldSpecified; + } + set { + this.packingGroupFieldSpecified = value; + } + } + + /// + public string ProperShippingName { + get { + return this.properShippingNameField; + } + set { + this.properShippingNameField = value; + } + } + + /// + public string IMOClass { + get { + return this.iMOClassField; + } + set { + this.iMOClassField = value; + } + } + + /// + public string TechnicalName { + get { + return this.technicalNameField; + } + set { + this.technicalNameField = value; + } + } + + /// + public decimal NetExplosiveMass_KGM { + get { + return this.netExplosiveMass_KGMField; + } + set { + this.netExplosiveMass_KGMField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool NetExplosiveMass_KGMSpecified { + get { + return this.netExplosiveMass_KGMFieldSpecified; + } + set { + this.netExplosiveMass_KGMFieldSpecified = value; + } + } + + /// + public string Flashpoint_CEL { + get { + return this.flashpoint_CELField; + } + set { + this.flashpoint_CELField = value; + } + } + + /// + public string Class7NuclideName { + get { + return this.class7NuclideNameField; + } + set { + this.class7NuclideNameField = value; + } + } + + /// + public decimal Class7MaxActivity_BQL { + get { + return this.class7MaxActivity_BQLField; + } + set { + this.class7MaxActivity_BQLField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Class7MaxActivity_BQLSpecified { + get { + return this.class7MaxActivity_BQLFieldSpecified; + } + set { + this.class7MaxActivity_BQLFieldSpecified = value; + } + } + + /// + public int Class7Category { + get { + return this.class7CategoryField; + } + set { + this.class7CategoryField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Class7CategorySpecified { + get { + return this.class7CategoryFieldSpecified; + } + set { + this.class7CategoryFieldSpecified = value; + } + } + + /// + public decimal Class7TransportIndex { + get { + return this.class7TransportIndexField; + } + set { + this.class7TransportIndexField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Class7TransportIndexSpecified { + get { + return this.class7TransportIndexFieldSpecified; + } + set { + this.class7TransportIndexFieldSpecified = value; + } + } + + /// + public decimal Class7CSI { + get { + return this.class7CSIField; + } + set { + this.class7CSIField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Class7CSISpecified { + get { + return this.class7CSIFieldSpecified; + } + set { + this.class7CSIFieldSpecified = value; + } + } + + /// + public decimal ControlTemperature_CEL { + get { + return this.controlTemperature_CELField; + } + set { + this.controlTemperature_CELField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ControlTemperature_CELSpecified { + get { + return this.controlTemperature_CELFieldSpecified; + } + set { + this.controlTemperature_CELFieldSpecified = value; + } + } + + /// + public decimal EmergencyTemperature_CEL { + get { + return this.emergencyTemperature_CELField; + } + set { + this.emergencyTemperature_CELField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool EmergencyTemperature_CELSpecified { + get { + return this.emergencyTemperature_CELFieldSpecified; + } + set { + this.emergencyTemperature_CELFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute("SubsidiaryRisk", IsNullable=false)] + public string[] SubsidiaryRisks { + get { + return this.subsidiaryRisksField; + } + set { + this.subsidiaryRisksField = value; + } + } + + /// + public RootSECValidISSCOnBoard MarinePollutant { + get { + return this.marinePollutantField; + } + set { + this.marinePollutantField = value; + } + } + + /// + public int NumberOfPackages { + get { + return this.numberOfPackagesField; + } + set { + this.numberOfPackagesField = value; + } + } + + /// + public string PackageType { + get { + return this.packageTypeField; + } + set { + this.packageTypeField = value; + } + } + + /// + public RootSECValidISSCOnBoard LimitedQuantities { + get { + return this.limitedQuantitiesField; + } + set { + this.limitedQuantitiesField = value; + } + } + + /// + public RootSECValidISSCOnBoard ExceptedQuantities { + get { + return this.exceptedQuantitiesField; + } + set { + this.exceptedQuantitiesField = value; + } + } + + /// + public decimal NetQuantity_KGM { + get { + return this.netQuantity_KGMField; + } + set { + this.netQuantity_KGMField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool NetQuantity_KGMSpecified { + get { + return this.netQuantity_KGMFieldSpecified; + } + set { + this.netQuantity_KGMFieldSpecified = value; + } + } + + /// + public decimal GrossQuantity_KGM { + get { + return this.grossQuantity_KGMField; + } + set { + this.grossQuantity_KGMField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GrossQuantity_KGMSpecified { + get { + return this.grossQuantity_KGMFieldSpecified; + } + set { + this.grossQuantity_KGMFieldSpecified = value; + } + } + + /// + public decimal Volume_MTQ { + get { + return this.volume_MTQField; + } + set { + this.volume_MTQField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Volume_MTQSpecified { + get { + return this.volume_MTQFieldSpecified; + } + set { + this.volume_MTQFieldSpecified = value; + } + } + + /// + public RootSECValidISSCOnBoard GeneralCargoIBC { + get { + return this.generalCargoIBCField; + } + set { + this.generalCargoIBCField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GeneralCargoIBCSpecified { + get { + return this.generalCargoIBCFieldSpecified; + } + set { + this.generalCargoIBCFieldSpecified = value; + } + } + + /// + public string ContainerNumber { + get { + return this.containerNumberField; + } + set { + this.containerNumberField = value; + } + } + + /// + public string VehicleLicenseNumber { + get { + return this.vehicleLicenseNumberField; + } + set { + this.vehicleLicenseNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Bay", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("Row", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("StowagePosition", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("Tier", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public string[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType4[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + } + } + + /// + public string PortOfLoading { + get { + return this.portOfLoadingField; + } + set { + this.portOfLoadingField = value; + } + } + + /// + public string PortOfDischarge { + get { + return this.portOfDischargeField; + } + set { + this.portOfDischargeField = value; + } + } + + /// + public string Remarks { + get { + return this.remarksField; + } + set { + this.remarksField = value; + } + } + + /// + public string Identifier { + get { + return this.identifierField; + } + set { + this.identifierField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum PackingGroupType { + + /// + NONE, + + /// + I, + + /// + II, + + /// + III, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemsChoiceType4 { + + /// + Bay, + + /// + Row, + + /// + StowagePosition, + + /// + Tier, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +public partial class ReportingParty { + + private ReportingPartyRPType rPTypeField; + + private bool rPTypeFieldSpecified; + + private string rPNameField; + + private string rPStreetAndNumberField; + + private string rPPostalCodeField; + + private string rPCityField; + + private string rPCountryField; + + private string rPLastNameField; + + private string rPFirstNameField; + + private string rPPhoneField; + + private string rPFaxField; + + private string rPEMailField; + + /// + public ReportingPartyRPType RPType { + get { + return this.rPTypeField; + } + set { + this.rPTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RPTypeSpecified { + get { + return this.rPTypeFieldSpecified; + } + set { + this.rPTypeFieldSpecified = value; + } + } + + /// + public string RPName { + get { + return this.rPNameField; + } + set { + this.rPNameField = value; + } + } + + /// + public string RPStreetAndNumber { + get { + return this.rPStreetAndNumberField; + } + set { + this.rPStreetAndNumberField = value; + } + } + + /// + public string RPPostalCode { + get { + return this.rPPostalCodeField; + } + set { + this.rPPostalCodeField = value; + } + } + + /// + public string RPCity { + get { + return this.rPCityField; + } + set { + this.rPCityField = value; + } + } + + /// + public string RPCountry { + get { + return this.rPCountryField; + } + set { + this.rPCountryField = value; + } + } + + /// + public string RPLastName { + get { + return this.rPLastNameField; + } + set { + this.rPLastNameField = value; + } + } + + /// + public string RPFirstName { + get { + return this.rPFirstNameField; + } + set { + this.rPFirstNameField = value; + } + } + + /// + public string RPPhone { + get { + return this.rPPhoneField; + } + set { + this.rPPhoneField = value; + } + } + + /// + public string RPFax { + get { + return this.rPFaxField; + } + set { + this.rPFaxField = value; + } + } + + /// + public string RPEMail { + get { + return this.rPEMailField; + } + set { + this.rPEMailField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum ReportingPartyRPType { + + /// + MASTER, + + /// + SHIPOWNER, + + /// + CHARTERER, + + /// + AGENT, + + /// + PORT_AUTHORITY, + + /// + CARRIER, + + /// + OTHERS, +} + +/// +[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 RootVisit { + + private string itemField; + + private ItemChoiceType itemElementNameField; + + private string portOfCallField; + + private string eTAPortOfCallField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] + public string Item { + get { + return this.itemField; + } + set { + this.itemField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemChoiceType ItemElementName { + get { + return this.itemElementNameField; + } + set { + this.itemElementNameField = value; + } + } + + /// + public string PortOfCall { + get { + return this.portOfCallField; + } + set { + this.portOfCallField = value; + } + } + + /// + public string ETAPortOfCall { + get { + return this.eTAPortOfCallField; + } + set { + this.eTAPortOfCallField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemChoiceType { + + /// + ENINumber, + + /// + IMONumber, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemChoiceType2 { + + /// + Transit, + + /// + TransitId, + + /// + Visit, + + /// + VisitId, +} + +/// +[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 RootAGNT { + + private ReportingParty reportingPartyField; + + private string agentCompanyNameField; + + private string agentStreetAndNumberField; + + private string agentPostalCodeField; + + private string agentCityField; + + private string agentCountryField; + + private string agentLastNameField; + + private string agentFirstNameField; + + private string agentPhoneField; + + private string agentFaxField; + + private string agentEMailField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public string AgentCompanyName { + get { + return this.agentCompanyNameField; + } + set { + this.agentCompanyNameField = value; + } + } + + /// + public string AgentStreetAndNumber { + get { + return this.agentStreetAndNumberField; + } + set { + this.agentStreetAndNumberField = value; + } + } + + /// + public string AgentPostalCode { + get { + return this.agentPostalCodeField; + } + set { + this.agentPostalCodeField = value; + } + } + + /// + public string AgentCity { + get { + return this.agentCityField; + } + set { + this.agentCityField = value; + } + } + + /// + public string AgentCountry { + get { + return this.agentCountryField; + } + set { + this.agentCountryField = value; + } + } + + /// + public string AgentLastName { + get { + return this.agentLastNameField; + } + set { + this.agentLastNameField = value; + } + } + + /// + public string AgentFirstName { + get { + return this.agentFirstNameField; + } + set { + this.agentFirstNameField = value; + } + } + + /// + public string AgentPhone { + get { + return this.agentPhoneField; + } + set { + this.agentPhoneField = value; + } + } + + /// + public string AgentFax { + get { + return this.agentFaxField; + } + set { + this.agentFaxField = value; + } + } + + /// + public string AgentEMail { + get { + return this.agentEMailField; + } + set { + this.agentEMailField = 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 RootATA { + + private ReportingParty reportingPartyField; + + private string aTAPortOfCallField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public string ATAPortOfCall { + get { + return this.aTAPortOfCallField; + } + set { + this.aTAPortOfCallField = 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 RootATD { + + private ReportingParty reportingPartyField; + + private string aTDPortOfCallField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public string ATDPortOfCall { + get { + return this.aTDPortOfCallField; + } + set { + this.aTDPortOfCallField = 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 RootBKRA { + + private ReportingParty reportingPartyField; + + private RootBKRABunkerFuelArrival[] bunkerFuelArrivalField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("BunkerFuelArrival")] + public RootBKRABunkerFuelArrival[] BunkerFuelArrival { + get { + return this.bunkerFuelArrivalField; + } + set { + this.bunkerFuelArrivalField = 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 RootBKRABunkerFuelArrival { + + private string bunkerFuelTypeField; + + private decimal bunkerFuelQuantity_TNEField; + + /// + public string BunkerFuelType { + get { + return this.bunkerFuelTypeField; + } + set { + this.bunkerFuelTypeField = value; + } + } + + /// + public decimal BunkerFuelQuantity_TNE { + get { + return this.bunkerFuelQuantity_TNEField; + } + set { + this.bunkerFuelQuantity_TNEField = 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 RootBKRD { + + private ReportingParty reportingPartyField; + + private RootBKRDBunkerFuelDeparture[] bunkerFuelDepartureField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("BunkerFuelDeparture")] + public RootBKRDBunkerFuelDeparture[] BunkerFuelDeparture { + get { + return this.bunkerFuelDepartureField; + } + set { + this.bunkerFuelDepartureField = 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 RootBKRDBunkerFuelDeparture { + + private string bunkerFuelTypeField; + + private decimal bunkerFuelQuantity_TNEField; + + /// + public string BunkerFuelType { + get { + return this.bunkerFuelTypeField; + } + set { + this.bunkerFuelTypeField = value; + } + } + + /// + public decimal BunkerFuelQuantity_TNE { + get { + return this.bunkerFuelQuantity_TNEField; + } + set { + this.bunkerFuelQuantity_TNEField = 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 RootBPOL { + + private ReportingParty reportingPartyField; + + private RootSECValidISSCOnBoard stowawayOnBoardField; + + private RootBPOLPortOfItinerary[] portOfItineraryField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public RootSECValidISSCOnBoard StowawayOnBoard { + get { + return this.stowawayOnBoardField; + } + set { + this.stowawayOnBoardField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PortOfItinerary")] + public RootBPOLPortOfItinerary[] PortOfItinerary { + get { + return this.portOfItineraryField; + } + set { + this.portOfItineraryField = 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 RootBPOLPortOfItinerary { + + private string portOfItineraryNameField; + + private string portOfItineraryETAField; + + /// + public string PortOfItineraryName { + get { + return this.portOfItineraryNameField; + } + set { + this.portOfItineraryNameField = value; + } + } + + /// + public string PortOfItineraryETA { + get { + return this.portOfItineraryETAField; + } + set { + this.portOfItineraryETAField = 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 RootCREW { + + private ReportingParty reportingPartyField; + + private RootCREWCrewMember[] crewMemberField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("CrewMember")] + public RootCREWCrewMember[] CrewMember { + get { + return this.crewMemberField; + } + set { + this.crewMemberField = 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 RootCREWCrewMember { + + private string crewMemberLastNameField; + + private string crewMemberFirstNameField; + + private string crewMemberPlaceOfBirthField; + + private System.DateTime crewMemberDateOfBirthField; + + private Gender crewMemberGenderField; + + private bool crewMemberGenderFieldSpecified; + + private string crewMemberNationalityField; + + private IdDocType crewMemberIdentityDocumentTypeField; + + private string crewMemberIdentityDocumentIdField; + + private string crewMemberVisaNumberField; + + private string crewMemberDutyField; + + /// + public string CrewMemberLastName { + get { + return this.crewMemberLastNameField; + } + set { + this.crewMemberLastNameField = value; + } + } + + /// + public string CrewMemberFirstName { + get { + return this.crewMemberFirstNameField; + } + set { + this.crewMemberFirstNameField = value; + } + } + + /// + public string CrewMemberPlaceOfBirth { + get { + return this.crewMemberPlaceOfBirthField; + } + set { + this.crewMemberPlaceOfBirthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime CrewMemberDateOfBirth { + get { + return this.crewMemberDateOfBirthField; + } + set { + this.crewMemberDateOfBirthField = value; + } + } + + /// + public Gender CrewMemberGender { + get { + return this.crewMemberGenderField; + } + set { + this.crewMemberGenderField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CrewMemberGenderSpecified { + get { + return this.crewMemberGenderFieldSpecified; + } + set { + this.crewMemberGenderFieldSpecified = value; + } + } + + /// + public string CrewMemberNationality { + get { + return this.crewMemberNationalityField; + } + set { + this.crewMemberNationalityField = value; + } + } + + /// + public IdDocType CrewMemberIdentityDocumentType { + get { + return this.crewMemberIdentityDocumentTypeField; + } + set { + this.crewMemberIdentityDocumentTypeField = value; + } + } + + /// + public string CrewMemberIdentityDocumentId { + get { + return this.crewMemberIdentityDocumentIdField; + } + set { + this.crewMemberIdentityDocumentIdField = value; + } + } + + /// + public string CrewMemberVisaNumber { + get { + return this.crewMemberVisaNumberField; + } + set { + this.crewMemberVisaNumberField = value; + } + } + + /// + public string CrewMemberDuty { + get { + return this.crewMemberDutyField; + } + set { + this.crewMemberDutyField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum Gender { + + /// + MALE, + + /// + FEMALE, + + /// + OTHER, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum IdDocType { + + /// + IDENTITY_CARD, + + /// + PASSPORT, + + /// + MUSTER_BOOK, + + /// + PICTURE_ID, + + /// + RESIDENTAL_PERMIT, + + /// + OTHER_LEGAL_IDENTITY_DOCUMENT, +} + +/// +[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 RootHAZA { + + private ReportingParty reportingPartyField; + + private object[] itemsField; + + private ItemsChoiceType5[] itemsElementNameField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGManifestOnBoardOnArrival", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("DPGOnArrival", typeof(RootHAZADPGOnArrival))] + [System.Xml.Serialization.XmlElementAttribute("INFShipClass", typeof(INFClassType))] + [System.Xml.Serialization.XmlElementAttribute("MOUBaltic", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("NoDPGOnBoardOnArrival", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType5[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = 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 RootHAZADPGOnArrival { + + private IMDGPosition[] dPGItemIMDGField; + + private IBCPosition[] dPGItemIBCField; + + private IGCPosition[] dPGItemIGCField; + + private IMSBCPosition[] dPGItemIMSBCField; + + private MARPOLPosition[] dPGItemMARPOLAnnexIField; + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIMDG")] + public IMDGPosition[] DPGItemIMDG { + get { + return this.dPGItemIMDGField; + } + set { + this.dPGItemIMDGField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIBC")] + public IBCPosition[] DPGItemIBC { + get { + return this.dPGItemIBCField; + } + set { + this.dPGItemIBCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIGC")] + public IGCPosition[] DPGItemIGC { + get { + return this.dPGItemIGCField; + } + set { + this.dPGItemIGCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIMSBC")] + public IMSBCPosition[] DPGItemIMSBC { + get { + return this.dPGItemIMSBCField; + } + set { + this.dPGItemIMSBCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemMARPOLAnnexI")] + public MARPOLPosition[] DPGItemMARPOLAnnexI { + get { + return this.dPGItemMARPOLAnnexIField; + } + set { + this.dPGItemMARPOLAnnexIField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum INFClassType { + + /// + INF1, + + /// + INF2, + + /// + INF3, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemsChoiceType5 { + + /// + DPGManifestOnBoardOnArrival, + + /// + DPGOnArrival, + + /// + INFShipClass, + + /// + MOUBaltic, + + /// + NoDPGOnBoardOnArrival, +} + +/// +[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 RootHAZD { + + private ReportingParty reportingPartyField; + + private object[] itemsField; + + private ItemsChoiceType6[] itemsElementNameField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGManifestOnBoardOnDeparture", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("DPGOnDeparture", typeof(RootHAZDDPGOnDeparture))] + [System.Xml.Serialization.XmlElementAttribute("INFShipClass", typeof(INFClassType))] + [System.Xml.Serialization.XmlElementAttribute("MOUBaltic", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("NoDPGOnBoardOnDeparture", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType6[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = 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 RootHAZDDPGOnDeparture { + + private IMDGPosition[] dPGItemIMDGField; + + private IBCPosition[] dPGItemIBCField; + + private IGCPosition[] dPGItemIGCField; + + private IMSBCPosition[] dPGItemIMSBCField; + + private MARPOLPosition[] dPGItemMARPOLAnnexIField; + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIMDG")] + public IMDGPosition[] DPGItemIMDG { + get { + return this.dPGItemIMDGField; + } + set { + this.dPGItemIMDGField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIBC")] + public IBCPosition[] DPGItemIBC { + get { + return this.dPGItemIBCField; + } + set { + this.dPGItemIBCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIGC")] + public IGCPosition[] DPGItemIGC { + get { + return this.dPGItemIGCField; + } + set { + this.dPGItemIGCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemIMSBC")] + public IMSBCPosition[] DPGItemIMSBC { + get { + return this.dPGItemIMSBCField; + } + set { + this.dPGItemIMSBCField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DPGItemMARPOLAnnexI")] + public MARPOLPosition[] DPGItemMARPOLAnnexI { + get { + return this.dPGItemMARPOLAnnexIField; + } + set { + this.dPGItemMARPOLAnnexIField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemsChoiceType6 { + + /// + DPGManifestOnBoardOnDeparture, + + /// + DPGOnDeparture, + + /// + INFShipClass, + + /// + MOUBaltic, + + /// + NoDPGOnBoardOnDeparture, +} + +/// +[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 RootINFO { + + private ReportingParty reportingPartyField; + + private ShippingArea shippingAreaField; + + private string portAreaField; + + private string requestedPositionInPortOfCallField; + + private string specialRequirementsOfShipAtBerthField; + + private string constructionCharacteristicsOfShipField; + + private string bowThrusterPowerField; + + private string sternThrusterPowerField; + + private RootINFOFumigatedBulkCargo fumigatedBulkCargoField; + + private decimal deadWeightSummer_TNEField; + + private bool deadWeightSummer_TNEFieldSpecified; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public ShippingArea ShippingArea { + get { + return this.shippingAreaField; + } + set { + this.shippingAreaField = value; + } + } + + /// + public string PortArea { + get { + return this.portAreaField; + } + set { + this.portAreaField = value; + } + } + + /// + public string RequestedPositionInPortOfCall { + get { + return this.requestedPositionInPortOfCallField; + } + set { + this.requestedPositionInPortOfCallField = value; + } + } + + /// + public string SpecialRequirementsOfShipAtBerth { + get { + return this.specialRequirementsOfShipAtBerthField; + } + set { + this.specialRequirementsOfShipAtBerthField = value; + } + } + + /// + public string ConstructionCharacteristicsOfShip { + get { + return this.constructionCharacteristicsOfShipField; + } + set { + this.constructionCharacteristicsOfShipField = value; + } + } + + /// + public string BowThrusterPower { + get { + return this.bowThrusterPowerField; + } + set { + this.bowThrusterPowerField = value; + } + } + + /// + public string SternThrusterPower { + get { + return this.sternThrusterPowerField; + } + set { + this.sternThrusterPowerField = value; + } + } + + /// + public RootINFOFumigatedBulkCargo FumigatedBulkCargo { + get { + return this.fumigatedBulkCargoField; + } + set { + this.fumigatedBulkCargoField = value; + } + } + + /// + public decimal DeadWeightSummer_TNE { + get { + return this.deadWeightSummer_TNEField; + } + set { + this.deadWeightSummer_TNEField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DeadWeightSummer_TNESpecified { + get { + return this.deadWeightSummer_TNEFieldSpecified; + } + set { + this.deadWeightSummer_TNEFieldSpecified = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum ShippingArea { + + /// + NORTH_BALTIC_SEA, + + /// + EUROPE, + + /// + OVERSEAS, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum RootINFOFumigatedBulkCargo { + + /// + Y, + + /// + N, +} + +/// +[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 RootLADG { + + private ReportingParty reportingPartyField; + + private RootLADGCargo[] cargoField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Cargo")] + public RootLADGCargo[] Cargo { + get { + return this.cargoField; + } + set { + this.cargoField = 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 RootLADGCargo { + + private HandlingType cargoHandlingTypeField; + + private string cargoCodeNSTField; + + private int cargoNumberOfItemsField; + + private bool cargoNumberOfItemsFieldSpecified; + + private decimal cargoGrossQuantity_TNEField; + + /// + public HandlingType CargoHandlingType { + get { + return this.cargoHandlingTypeField; + } + set { + this.cargoHandlingTypeField = value; + } + } + + /// + public string CargoCodeNST { + get { + return this.cargoCodeNSTField; + } + set { + this.cargoCodeNSTField = value; + } + } + + /// + public int CargoNumberOfItems { + get { + return this.cargoNumberOfItemsField; + } + set { + this.cargoNumberOfItemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CargoNumberOfItemsSpecified { + get { + return this.cargoNumberOfItemsFieldSpecified; + } + set { + this.cargoNumberOfItemsFieldSpecified = value; + } + } + + /// + public decimal CargoGrossQuantity_TNE { + get { + return this.cargoGrossQuantity_TNEField; + } + set { + this.cargoGrossQuantity_TNEField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum HandlingType { + + /// + LOAD, + + /// + DISCHARGE, +} + +/// +[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 RootMDH { + + private ReportingParty reportingPartyField; + + private object[] itemsField; + + private ItemsChoiceType2[] itemsElementNameField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("AwareOfConditionsForFurtherInfections", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("InfectedArea", typeof(RootMDHInfectedArea))] + [System.Xml.Serialization.XmlElementAttribute("InfectedAreaVisited", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("MDHSimplification", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("MedicalConsulted", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("NonAccidentialDeathsDuringVoyage", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("NonAccidentialDeathsDuringVoyageCount", typeof(int))] + [System.Xml.Serialization.XmlElementAttribute("NumberOfIllPersons", typeof(int))] + [System.Xml.Serialization.XmlElementAttribute("NumberOfIllPersonsHigherThanExpected", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("PortOfCallWhereCompleteMDHNotified", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("PortsOfCallLast30Days", typeof(RootMDHPortsOfCallLast30Days))] + [System.Xml.Serialization.XmlElementAttribute("SanitaryControlReinspectionRequired", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("SanitaryMeasuresApplied", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("SanitaryMeasuresDetails", typeof(RootMDHSanitaryMeasuresDetails))] + [System.Xml.Serialization.XmlElementAttribute("SickAnimalOrPetOnBoard", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("SickPersonsOnBoard", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("StowawaysDetected", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("StowawaysJoiningLocation", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("SuspisionInfectiousNature", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("ValidSanitaryControlExemptionOrCertificate", typeof(RootMDHValidSanitaryControlExemptionOrCertificate))] + [System.Xml.Serialization.XmlElementAttribute("ValidSanitaryControlExemptionOrCertificateOnBoard", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType2[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = 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 RootMDHInfectedArea { + + private string infectedAreaPortField; + + private System.DateTime infectedAreaDateField; + + /// + public string InfectedAreaPort { + get { + return this.infectedAreaPortField; + } + set { + this.infectedAreaPortField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime InfectedAreaDate { + get { + return this.infectedAreaDateField; + } + set { + this.infectedAreaDateField = 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 RootMDHPortsOfCallLast30Days { + + private RootMDHPortsOfCallLast30DaysPortOfCallLast30Days[] portOfCallLast30DaysField; + + /// + [System.Xml.Serialization.XmlElementAttribute("PortOfCallLast30Days")] + public RootMDHPortsOfCallLast30DaysPortOfCallLast30Days[] PortOfCallLast30Days { + get { + return this.portOfCallLast30DaysField; + } + set { + this.portOfCallLast30DaysField = 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 RootMDHPortsOfCallLast30DaysPortOfCallLast30Days { + + private string portOfCallLast30DaysLocodeField; + + private System.DateTime portOfCallLast30DaysDateOfDepartureField; + + private RootSECValidISSCOnBoard portOfCallLast30DaysCrewMembersJoinedField; + + private RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip portOfCallLast30DaysCrewJoinedShipField; + + /// + public string PortOfCallLast30DaysLocode { + get { + return this.portOfCallLast30DaysLocodeField; + } + set { + this.portOfCallLast30DaysLocodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime PortOfCallLast30DaysDateOfDeparture { + get { + return this.portOfCallLast30DaysDateOfDepartureField; + } + set { + this.portOfCallLast30DaysDateOfDepartureField = value; + } + } + + /// + public RootSECValidISSCOnBoard PortOfCallLast30DaysCrewMembersJoined { + get { + return this.portOfCallLast30DaysCrewMembersJoinedField; + } + set { + this.portOfCallLast30DaysCrewMembersJoinedField = value; + } + } + + /// + public RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip PortOfCallLast30DaysCrewJoinedShip { + get { + return this.portOfCallLast30DaysCrewJoinedShipField; + } + set { + this.portOfCallLast30DaysCrewJoinedShipField = 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 RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip { + + private string[] portOfCallLast30DaysCrewJoinedShipNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute("PortOfCallLast30DaysCrewJoinedShipName")] + public string[] PortOfCallLast30DaysCrewJoinedShipName { + get { + return this.portOfCallLast30DaysCrewJoinedShipNameField; + } + set { + this.portOfCallLast30DaysCrewJoinedShipNameField = 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 RootMDHSanitaryMeasuresDetails { + + private string sanitaryMeasuresTypeField; + + private string sanitaryMeasuresLocationField; + + private System.DateTime sanitaryMeasuresDateField; + + /// + public string SanitaryMeasuresType { + get { + return this.sanitaryMeasuresTypeField; + } + set { + this.sanitaryMeasuresTypeField = value; + } + } + + /// + public string SanitaryMeasuresLocation { + get { + return this.sanitaryMeasuresLocationField; + } + set { + this.sanitaryMeasuresLocationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime SanitaryMeasuresDate { + get { + return this.sanitaryMeasuresDateField; + } + set { + this.sanitaryMeasuresDateField = 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 RootMDHValidSanitaryControlExemptionOrCertificate { + + private string placeOfIssueField; + + private System.DateTime dateOfIssueField; + + /// + public string PlaceOfIssue { + get { + return this.placeOfIssueField; + } + set { + this.placeOfIssueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime DateOfIssue { + get { + return this.dateOfIssueField; + } + set { + this.dateOfIssueField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemsChoiceType2 { + + /// + AwareOfConditionsForFurtherInfections, + + /// + InfectedArea, + + /// + InfectedAreaVisited, + + /// + MDHSimplification, + + /// + MedicalConsulted, + + /// + NonAccidentialDeathsDuringVoyage, + + /// + NonAccidentialDeathsDuringVoyageCount, + + /// + NumberOfIllPersons, + + /// + NumberOfIllPersonsHigherThanExpected, + + /// + PortOfCallWhereCompleteMDHNotified, + + /// + PortsOfCallLast30Days, + + /// + SanitaryControlReinspectionRequired, + + /// + SanitaryMeasuresApplied, + + /// + SanitaryMeasuresDetails, + + /// + SickAnimalOrPetOnBoard, + + /// + SickPersonsOnBoard, + + /// + StowawaysDetected, + + /// + StowawaysJoiningLocation, + + /// + SuspisionInfectiousNature, + + /// + ValidSanitaryControlExemptionOrCertificate, + + /// + ValidSanitaryControlExemptionOrCertificateOnBoard, +} + +/// +[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 RootNAME { + + private ReportingParty reportingPartyField; + + private string nameOfMasterField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public string NameOfMaster { + get { + return this.nameOfMasterField; + } + set { + this.nameOfMasterField = 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 RootNOA_NOD { + + private ReportingParty reportingPartyField; + + private object[] itemsField; + + private ItemsChoiceType[] itemsElementNameField; + + private string lastPortField; + + private string eTDFromLastPortField; + + private string nextPortField; + + private string eTAToNextPortField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("CallPurpose", typeof(RootNOA_NODCallPurpose))] + [System.Xml.Serialization.XmlElementAttribute("ETAToKielCanal", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("ETAToPortOfCall", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("ETDFromKielCanal", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("ETDFromPortOfCall", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + } + } + + /// + public string LastPort { + get { + return this.lastPortField; + } + set { + this.lastPortField = value; + } + } + + /// + public string ETDFromLastPort { + get { + return this.eTDFromLastPortField; + } + set { + this.eTDFromLastPortField = value; + } + } + + /// + public string NextPort { + get { + return this.nextPortField; + } + set { + this.nextPortField = value; + } + } + + /// + public string ETAToNextPort { + get { + return this.eTAToNextPortField; + } + set { + this.eTAToNextPortField = 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 RootNOA_NODCallPurpose { + + private int callPurposeCodeField; + + private string callPurposeDescriptionField; + + /// + public int CallPurposeCode { + get { + return this.callPurposeCodeField; + } + set { + this.callPurposeCodeField = value; + } + } + + /// + public string CallPurposeDescription { + get { + return this.callPurposeDescriptionField; + } + set { + this.callPurposeDescriptionField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemsChoiceType { + + /// + CallPurpose, + + /// + ETAToKielCanal, + + /// + ETAToPortOfCall, + + /// + ETDFromKielCanal, + + /// + ETDFromPortOfCall, +} + +/// +[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 RootPAS { + + private ReportingParty reportingPartyField; + + private RootPASPassenger[] passengerField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Passenger")] + public RootPASPassenger[] Passenger { + get { + return this.passengerField; + } + set { + this.passengerField = 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 RootPASPassenger { + + private string passengerLastNameField; + + private string passengerFirstNameField; + + private string passengerPlaceOfBirthField; + + private System.DateTime passengerDateOfBirthField; + + private Gender passengerGenderField; + + private bool passengerGenderFieldSpecified; + + private string passengerNationalityField; + + private IdDocType passengerIdentityDocumentTypeField; + + private string passengerIdentityDocumentIdField; + + private string passengerVisaNumberField; + + private string passengerPortOfEmbarkationField; + + private string passengerPortOfDisembarkationField; + + private RootSECValidISSCOnBoard passengerInTransitField; + + /// + public string PassengerLastName { + get { + return this.passengerLastNameField; + } + set { + this.passengerLastNameField = value; + } + } + + /// + public string PassengerFirstName { + get { + return this.passengerFirstNameField; + } + set { + this.passengerFirstNameField = value; + } + } + + /// + public string PassengerPlaceOfBirth { + get { + return this.passengerPlaceOfBirthField; + } + set { + this.passengerPlaceOfBirthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime PassengerDateOfBirth { + get { + return this.passengerDateOfBirthField; + } + set { + this.passengerDateOfBirthField = value; + } + } + + /// + public Gender PassengerGender { + get { + return this.passengerGenderField; + } + set { + this.passengerGenderField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PassengerGenderSpecified { + get { + return this.passengerGenderFieldSpecified; + } + set { + this.passengerGenderFieldSpecified = value; + } + } + + /// + public string PassengerNationality { + get { + return this.passengerNationalityField; + } + set { + this.passengerNationalityField = value; + } + } + + /// + public IdDocType PassengerIdentityDocumentType { + get { + return this.passengerIdentityDocumentTypeField; + } + set { + this.passengerIdentityDocumentTypeField = value; + } + } + + /// + public string PassengerIdentityDocumentId { + get { + return this.passengerIdentityDocumentIdField; + } + set { + this.passengerIdentityDocumentIdField = value; + } + } + + /// + public string PassengerVisaNumber { + get { + return this.passengerVisaNumberField; + } + set { + this.passengerVisaNumberField = value; + } + } + + /// + public string PassengerPortOfEmbarkation { + get { + return this.passengerPortOfEmbarkationField; + } + set { + this.passengerPortOfEmbarkationField = value; + } + } + + /// + public string PassengerPortOfDisembarkation { + get { + return this.passengerPortOfDisembarkationField; + } + set { + this.passengerPortOfDisembarkationField = value; + } + } + + /// + public RootSECValidISSCOnBoard PassengerInTransit { + get { + return this.passengerInTransitField; + } + set { + this.passengerInTransitField = 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 RootPOBA { + + private ReportingParty reportingPartyField; + + private int totalPersonsOnBoardUponArrivalField; + + private int totalCrewMembersOnBoardUponArrivalField; + + private int totalPassengersOnBoardUponArrivalField; + + private int totalStowawaysOnBoardUponArrivalField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public int TotalPersonsOnBoardUponArrival { + get { + return this.totalPersonsOnBoardUponArrivalField; + } + set { + this.totalPersonsOnBoardUponArrivalField = value; + } + } + + /// + public int TotalCrewMembersOnBoardUponArrival { + get { + return this.totalCrewMembersOnBoardUponArrivalField; + } + set { + this.totalCrewMembersOnBoardUponArrivalField = value; + } + } + + /// + public int TotalPassengersOnBoardUponArrival { + get { + return this.totalPassengersOnBoardUponArrivalField; + } + set { + this.totalPassengersOnBoardUponArrivalField = value; + } + } + + /// + public int TotalStowawaysOnBoardUponArrival { + get { + return this.totalStowawaysOnBoardUponArrivalField; + } + set { + this.totalStowawaysOnBoardUponArrivalField = 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 RootPOBD { + + private ReportingParty reportingPartyField; + + private int totalPersonsOnBoardUponDepartureField; + + private int totalCrewMembersOnBoardUponDepartureField; + + private int totalPassengersOnBoardUponDepartureField; + + private int totalStowawaysOnBoardUponDepartureField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public int TotalPersonsOnBoardUponDeparture { + get { + return this.totalPersonsOnBoardUponDepartureField; + } + set { + this.totalPersonsOnBoardUponDepartureField = value; + } + } + + /// + public int TotalCrewMembersOnBoardUponDeparture { + get { + return this.totalCrewMembersOnBoardUponDepartureField; + } + set { + this.totalCrewMembersOnBoardUponDepartureField = value; + } + } + + /// + public int TotalPassengersOnBoardUponDeparture { + get { + return this.totalPassengersOnBoardUponDepartureField; + } + set { + this.totalPassengersOnBoardUponDepartureField = value; + } + } + + /// + public int TotalStowawaysOnBoardUponDeparture { + get { + return this.totalStowawaysOnBoardUponDepartureField; + } + set { + this.totalStowawaysOnBoardUponDepartureField = 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 RootPRE72H { + + private ReportingParty reportingPartyField; + + private RootSECValidISSCOnBoard tankerField; + + private RootPRE72HTankerDetails tankerDetailsField; + + private string plannedOperationsField; + + private string plannedWorksField; + + private System.DateTime dateOfLastExpandedInspectionField; + + private bool dateOfLastExpandedInspectionFieldSpecified; + + private decimal plannedPeriodOfStay_HURField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public RootSECValidISSCOnBoard Tanker { + get { + return this.tankerField; + } + set { + this.tankerField = value; + } + } + + /// + public RootPRE72HTankerDetails TankerDetails { + get { + return this.tankerDetailsField; + } + set { + this.tankerDetailsField = value; + } + } + + /// + public string PlannedOperations { + get { + return this.plannedOperationsField; + } + set { + this.plannedOperationsField = value; + } + } + + /// + public string PlannedWorks { + get { + return this.plannedWorksField; + } + set { + this.plannedWorksField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime DateOfLastExpandedInspection { + get { + return this.dateOfLastExpandedInspectionField; + } + set { + this.dateOfLastExpandedInspectionField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DateOfLastExpandedInspectionSpecified { + get { + return this.dateOfLastExpandedInspectionFieldSpecified; + } + set { + this.dateOfLastExpandedInspectionFieldSpecified = value; + } + } + + /// + public decimal PlannedPeriodOfStay_HUR { + get { + return this.plannedPeriodOfStay_HURField; + } + set { + this.plannedPeriodOfStay_HURField = 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 RootPRE72HTankerDetails { + + private HullConfiguration tankerHullConfigurationField; + + private TankCondition conditionCargoBallastTanksField; + + private string natureOfCargoField; + + private decimal volumeOfCargo_TNEField; + + private bool volumeOfCargo_TNEFieldSpecified; + + /// + public HullConfiguration TankerHullConfiguration { + get { + return this.tankerHullConfigurationField; + } + set { + this.tankerHullConfigurationField = value; + } + } + + /// + public TankCondition ConditionCargoBallastTanks { + get { + return this.conditionCargoBallastTanksField; + } + set { + this.conditionCargoBallastTanksField = value; + } + } + + /// + public string NatureOfCargo { + get { + return this.natureOfCargoField; + } + set { + this.natureOfCargoField = value; + } + } + + /// + public decimal VolumeOfCargo_TNE { + get { + return this.volumeOfCargo_TNEField; + } + set { + this.volumeOfCargo_TNEField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool VolumeOfCargo_TNESpecified { + get { + return this.volumeOfCargo_TNEFieldSpecified; + } + set { + this.volumeOfCargo_TNEFieldSpecified = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum HullConfiguration { + + /// + SINGLE_HULL, + + /// + SINGLE_HULL_WITH_SBT, + + /// + DOUBLE_HULL, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum TankCondition { + + /// + FULL, + + /// + EMPTY, + + /// + INERTED, +} + +/// +[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 RootReportingClassesToReset { + + private string[] reportingClassToResetField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClassToReset")] + public string[] ReportingClassToReset { + get { + return this.reportingClassToResetField; + } + set { + this.reportingClassToResetField = 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 RootSEC { + + private ReportingParty reportingPartyField; + + private int currentShipSecurityLevelField; + + private object[] itemsField; + + private ItemsChoiceType1[] itemsElementNameField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public int CurrentShipSecurityLevel { + get { + return this.currentShipSecurityLevelField; + } + set { + this.currentShipSecurityLevelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ApprovedSecurityPlanOnBoard", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("CSOEMail", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("CSOFax", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("CSOFirstName", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("CSOLastName", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("CSOPhone", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("GeneralDescriptionOfCargo", typeof(CargoDescription))] + [System.Xml.Serialization.XmlElementAttribute("ISSCDateOfExpiration", typeof(System.DateTime), DataType="date")] + [System.Xml.Serialization.XmlElementAttribute("ISSCIssuerName", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("ISSCIssuerType", typeof(ISSCIssuerType))] + [System.Xml.Serialization.XmlElementAttribute("ISSCType", typeof(ISSCType))] + [System.Xml.Serialization.XmlElementAttribute("LastTenPortFacilitiesCalled", typeof(RootSECLastTenPortFacilitiesCalled))] + [System.Xml.Serialization.XmlElementAttribute("PortFacilityOfArrival", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("PortOfCallWhereCompleteSECNotified", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("ReasonsForNoValidISSC", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("SECSimplification", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("ShipToShipActivities", typeof(RootSECShipToShipActivities))] + [System.Xml.Serialization.XmlElementAttribute("ValidISSCOnBoard", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType1[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum CargoDescription { + + /// + CONTAINER, + + /// + VEHICLES, + + /// + CONVENTIONAL_GENERAL_CARGO, + + /// + DRY_CARGO_IN_BULK, + + /// + LIQUID_CARGO_IN_BULK, + + /// + EMPTY, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum ISSCIssuerType { + + /// + ADMINISTRATION, + + /// + RSO, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum ISSCType { + + /// + FULL, + + /// + INTERIM, +} + +/// +[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 RootSECLastTenPortFacilitiesCalled { + + private string portFacilityPortNameField; + + private string portFacilityPortCountryField; + + private string portFacilityPortLoCodeField; + + private System.DateTime portFacilityDateOfArrivalField; + + private System.DateTime portFacilityDateOfDepartureField; + + private int portFacilityShipSecurityLevelField; + + private string portFacilitySecurityMattersToReportField; + + private string portFacilityGISISCodeField; + + /// + public string PortFacilityPortName { + get { + return this.portFacilityPortNameField; + } + set { + this.portFacilityPortNameField = value; + } + } + + /// + public string PortFacilityPortCountry { + get { + return this.portFacilityPortCountryField; + } + set { + this.portFacilityPortCountryField = value; + } + } + + /// + public string PortFacilityPortLoCode { + get { + return this.portFacilityPortLoCodeField; + } + set { + this.portFacilityPortLoCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime PortFacilityDateOfArrival { + get { + return this.portFacilityDateOfArrivalField; + } + set { + this.portFacilityDateOfArrivalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime PortFacilityDateOfDeparture { + get { + return this.portFacilityDateOfDepartureField; + } + set { + this.portFacilityDateOfDepartureField = value; + } + } + + /// + public int PortFacilityShipSecurityLevel { + get { + return this.portFacilityShipSecurityLevelField; + } + set { + this.portFacilityShipSecurityLevelField = value; + } + } + + /// + public string PortFacilitySecurityMattersToReport { + get { + return this.portFacilitySecurityMattersToReportField; + } + set { + this.portFacilitySecurityMattersToReportField = value; + } + } + + /// + public string PortFacilityGISISCode { + get { + return this.portFacilityGISISCodeField; + } + set { + this.portFacilityGISISCodeField = 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 RootSECShipToShipActivities { + + private RootSECShipToShipActivitiesShipToShipActivityLocation shipToShipActivityLocationField; + + private System.DateTime shipToShipActivityDateFromField; + + private System.DateTime shipToShipActivityDateToField; + + private string shipToShipActivityTypeField; + + private string shipToShipActivitySecurityMattersToReportField; + + /// + public RootSECShipToShipActivitiesShipToShipActivityLocation ShipToShipActivityLocation { + get { + return this.shipToShipActivityLocationField; + } + set { + this.shipToShipActivityLocationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime ShipToShipActivityDateFrom { + get { + return this.shipToShipActivityDateFromField; + } + set { + this.shipToShipActivityDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date")] + public System.DateTime ShipToShipActivityDateTo { + get { + return this.shipToShipActivityDateToField; + } + set { + this.shipToShipActivityDateToField = value; + } + } + + /// + public string ShipToShipActivityType { + get { + return this.shipToShipActivityTypeField; + } + set { + this.shipToShipActivityTypeField = value; + } + } + + /// + public string ShipToShipActivitySecurityMattersToReport { + get { + return this.shipToShipActivitySecurityMattersToReportField; + } + set { + this.shipToShipActivitySecurityMattersToReportField = 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 RootSECShipToShipActivitiesShipToShipActivityLocation { + + private string shipToShipActivityLocationNameField; + + private string shipToShipActivityLocationLoCodeField; + + private RootSECShipToShipActivitiesShipToShipActivityLocationShipToShipActivityLocationCoordinates shipToShipActivityLocationCoordinatesField; + + /// + public string ShipToShipActivityLocationName { + get { + return this.shipToShipActivityLocationNameField; + } + set { + this.shipToShipActivityLocationNameField = value; + } + } + + /// + public string ShipToShipActivityLocationLoCode { + get { + return this.shipToShipActivityLocationLoCodeField; + } + set { + this.shipToShipActivityLocationLoCodeField = value; + } + } + + /// + public RootSECShipToShipActivitiesShipToShipActivityLocationShipToShipActivityLocationCoordinates ShipToShipActivityLocationCoordinates { + get { + return this.shipToShipActivityLocationCoordinatesField; + } + set { + this.shipToShipActivityLocationCoordinatesField = 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 RootSECShipToShipActivitiesShipToShipActivityLocationShipToShipActivityLocationCoordinates { + + private int shipToShipActivityLocationCoordinatesLatitudeField; + + private int shipToShipActivityLocationCoordinatesLongitudeField; + + /// + public int ShipToShipActivityLocationCoordinatesLatitude { + get { + return this.shipToShipActivityLocationCoordinatesLatitudeField; + } + set { + this.shipToShipActivityLocationCoordinatesLatitudeField = value; + } + } + + /// + public int ShipToShipActivityLocationCoordinatesLongitude { + get { + return this.shipToShipActivityLocationCoordinatesLongitudeField; + } + set { + this.shipToShipActivityLocationCoordinatesLongitudeField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemsChoiceType1 { + + /// + ApprovedSecurityPlanOnBoard, + + /// + CSOEMail, + + /// + CSOFax, + + /// + CSOFirstName, + + /// + CSOLastName, + + /// + CSOPhone, + + /// + GeneralDescriptionOfCargo, + + /// + ISSCDateOfExpiration, + + /// + ISSCIssuerName, + + /// + ISSCIssuerType, + + /// + ISSCType, + + /// + LastTenPortFacilitiesCalled, + + /// + PortFacilityOfArrival, + + /// + PortOfCallWhereCompleteSECNotified, + + /// + ReasonsForNoValidISSC, + + /// + SECSimplification, + + /// + ShipToShipActivities, + + /// + ValidISSCOnBoard, +} + +/// +[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 RootSERV { + + private ReportingParty reportingPartyField; + + private RootSERVService[] serviceField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Service")] + public RootSERVService[] Service { + get { + return this.serviceField; + } + set { + this.serviceField = 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 RootSERVService { + + private string serviceNameField; + + private string serviceBeneficiaryField; + + private string serviceInvoiceRecipientField; + + /// + public string ServiceName { + get { + return this.serviceNameField; + } + set { + this.serviceNameField = value; + } + } + + /// + public string ServiceBeneficiary { + get { + return this.serviceBeneficiaryField; + } + set { + this.serviceBeneficiaryField = value; + } + } + + /// + public string ServiceInvoiceRecipient { + get { + return this.serviceInvoiceRecipientField; + } + set { + this.serviceInvoiceRecipientField = 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 RootSTAT { + + private ReportingParty reportingPartyField; + + private string shipNameField; + + private string callSignField; + + private string mMSINumberField; + + private string flagField; + + private decimal lengthOverall_MTRField; + + private decimal beam_MTRField; + + private int grossTonnageField; + + private string portOfRegistryField; + + private string inmarsatCallNumberField; + + private RootSTATTransportMode transportModeField; + + private string shipTypeField; + + private RootSTATISMCompany iSMCompanyField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public string ShipName { + get { + return this.shipNameField; + } + set { + this.shipNameField = value; + } + } + + /// + public string CallSign { + get { + return this.callSignField; + } + set { + this.callSignField = value; + } + } + + /// + public string MMSINumber { + get { + return this.mMSINumberField; + } + set { + this.mMSINumberField = value; + } + } + + /// + public string Flag { + get { + return this.flagField; + } + set { + this.flagField = value; + } + } + + /// + public decimal LengthOverall_MTR { + get { + return this.lengthOverall_MTRField; + } + set { + this.lengthOverall_MTRField = value; + } + } + + /// + public decimal Beam_MTR { + get { + return this.beam_MTRField; + } + set { + this.beam_MTRField = value; + } + } + + /// + public int GrossTonnage { + get { + return this.grossTonnageField; + } + set { + this.grossTonnageField = value; + } + } + + /// + public string PortOfRegistry { + get { + return this.portOfRegistryField; + } + set { + this.portOfRegistryField = value; + } + } + + /// + public string InmarsatCallNumber { + get { + return this.inmarsatCallNumberField; + } + set { + this.inmarsatCallNumberField = value; + } + } + + /// + public RootSTATTransportMode TransportMode { + get { + return this.transportModeField; + } + set { + this.transportModeField = value; + } + } + + /// + public string ShipType { + get { + return this.shipTypeField; + } + set { + this.shipTypeField = value; + } + } + + /// + public RootSTATISMCompany ISMCompany { + get { + return this.iSMCompanyField; + } + set { + this.iSMCompanyField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum RootSTATTransportMode { + + /// + [System.Xml.Serialization.XmlEnumAttribute("1")] + Item1, + + /// + [System.Xml.Serialization.XmlEnumAttribute("8")] + Item8, +} + +/// +[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 RootSTATISMCompany { + + private string iSMCompanyNameField; + + private string iSMCompanyIdField; + + private string iSMCompanyStreetAndNumberField; + + private string iSMCompanyPostalCodeField; + + private string iSMCompanyCityField; + + private string iSMCompanyCountryField; + + /// + public string ISMCompanyName { + get { + return this.iSMCompanyNameField; + } + set { + this.iSMCompanyNameField = value; + } + } + + /// + public string ISMCompanyId { + get { + return this.iSMCompanyIdField; + } + set { + this.iSMCompanyIdField = value; + } + } + + /// + public string ISMCompanyStreetAndNumber { + get { + return this.iSMCompanyStreetAndNumberField; + } + set { + this.iSMCompanyStreetAndNumberField = value; + } + } + + /// + public string ISMCompanyPostalCode { + get { + return this.iSMCompanyPostalCodeField; + } + set { + this.iSMCompanyPostalCodeField = value; + } + } + + /// + public string ISMCompanyCity { + get { + return this.iSMCompanyCityField; + } + set { + this.iSMCompanyCityField = value; + } + } + + /// + public string ISMCompanyCountry { + get { + return this.iSMCompanyCountryField; + } + set { + this.iSMCompanyCountryField = 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 RootTIEFA { + + private ReportingParty reportingPartyField; + + private decimal draughtUponArrival_DMTField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public decimal DraughtUponArrival_DMT { + get { + return this.draughtUponArrival_DMTField; + } + set { + this.draughtUponArrival_DMTField = 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 RootTIEFD { + + private ReportingParty reportingPartyField; + + private decimal draughtUponDeparture_DMTField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public decimal DraughtUponDeparture_DMT { + get { + return this.draughtUponDeparture_DMTField; + } + set { + this.draughtUponDeparture_DMTField = 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 RootTOWA { + + private ReportingParty reportingPartyField; + + private RootTOWATowageOnArrival[] towageOnArrivalField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("TowageOnArrival")] + public RootTOWATowageOnArrival[] TowageOnArrival { + get { + return this.towageOnArrivalField; + } + set { + this.towageOnArrivalField = 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 RootTOWATowageOnArrival { + + private string towageOnArrivalNameField; + + private string towageOnArrivalFlagField; + + private RootTOWATowageOnArrivalTowageOnArrivalOperator towageOnArrivalOperatorField; + + private int towageOnArrivalGrossTonnageField; + + private decimal towageOnArrivalLengthOverall_MTRField; + + private decimal towageOnArrivalBeam_MTRField; + + private string towageOnArrivalPurposeOfCallField; + + private decimal towageOnArrivalDraught_DMTField; + + private string towageOnArrivalRemarksField; + + /// + public string TowageOnArrivalName { + get { + return this.towageOnArrivalNameField; + } + set { + this.towageOnArrivalNameField = value; + } + } + + /// + public string TowageOnArrivalFlag { + get { + return this.towageOnArrivalFlagField; + } + set { + this.towageOnArrivalFlagField = value; + } + } + + /// + public RootTOWATowageOnArrivalTowageOnArrivalOperator TowageOnArrivalOperator { + get { + return this.towageOnArrivalOperatorField; + } + set { + this.towageOnArrivalOperatorField = value; + } + } + + /// + public int TowageOnArrivalGrossTonnage { + get { + return this.towageOnArrivalGrossTonnageField; + } + set { + this.towageOnArrivalGrossTonnageField = value; + } + } + + /// + public decimal TowageOnArrivalLengthOverall_MTR { + get { + return this.towageOnArrivalLengthOverall_MTRField; + } + set { + this.towageOnArrivalLengthOverall_MTRField = value; + } + } + + /// + public decimal TowageOnArrivalBeam_MTR { + get { + return this.towageOnArrivalBeam_MTRField; + } + set { + this.towageOnArrivalBeam_MTRField = value; + } + } + + /// + public string TowageOnArrivalPurposeOfCall { + get { + return this.towageOnArrivalPurposeOfCallField; + } + set { + this.towageOnArrivalPurposeOfCallField = value; + } + } + + /// + public decimal TowageOnArrivalDraught_DMT { + get { + return this.towageOnArrivalDraught_DMTField; + } + set { + this.towageOnArrivalDraught_DMTField = value; + } + } + + /// + public string TowageOnArrivalRemarks { + get { + return this.towageOnArrivalRemarksField; + } + set { + this.towageOnArrivalRemarksField = 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 RootTOWATowageOnArrivalTowageOnArrivalOperator { + + private string towageOnArrivalOperatorCompanyNameField; + + private string towageOnArrivalOperatorStreetAndNumberField; + + private string towageOnArrivalOperatorPostalCodeField; + + private string towageOnArrivalOperatorCityField; + + private string towageOnArrivalOperatorCountryField; + + private string towageOnArrivalOperatorPhoneField; + + private string towageOnArrivalOperatorFaxField; + + private string towageOnArrivalOperatorEMailField; + + /// + public string TowageOnArrivalOperatorCompanyName { + get { + return this.towageOnArrivalOperatorCompanyNameField; + } + set { + this.towageOnArrivalOperatorCompanyNameField = value; + } + } + + /// + public string TowageOnArrivalOperatorStreetAndNumber { + get { + return this.towageOnArrivalOperatorStreetAndNumberField; + } + set { + this.towageOnArrivalOperatorStreetAndNumberField = value; + } + } + + /// + public string TowageOnArrivalOperatorPostalCode { + get { + return this.towageOnArrivalOperatorPostalCodeField; + } + set { + this.towageOnArrivalOperatorPostalCodeField = value; + } + } + + /// + public string TowageOnArrivalOperatorCity { + get { + return this.towageOnArrivalOperatorCityField; + } + set { + this.towageOnArrivalOperatorCityField = value; + } + } + + /// + public string TowageOnArrivalOperatorCountry { + get { + return this.towageOnArrivalOperatorCountryField; + } + set { + this.towageOnArrivalOperatorCountryField = value; + } + } + + /// + public string TowageOnArrivalOperatorPhone { + get { + return this.towageOnArrivalOperatorPhoneField; + } + set { + this.towageOnArrivalOperatorPhoneField = value; + } + } + + /// + public string TowageOnArrivalOperatorFax { + get { + return this.towageOnArrivalOperatorFaxField; + } + set { + this.towageOnArrivalOperatorFaxField = value; + } + } + + /// + public string TowageOnArrivalOperatorEMail { + get { + return this.towageOnArrivalOperatorEMailField; + } + set { + this.towageOnArrivalOperatorEMailField = 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 RootTOWD { + + private ReportingParty reportingPartyField; + + private RootTOWDTowageOnDeparture[] towageOnDepartureField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("TowageOnDeparture")] + public RootTOWDTowageOnDeparture[] TowageOnDeparture { + get { + return this.towageOnDepartureField; + } + set { + this.towageOnDepartureField = 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 RootTOWDTowageOnDeparture { + + private string towageOnDepartureNameField; + + private string towageOnDepartureFlagField; + + private RootTOWDTowageOnDepartureTowageOnDepartureOperator towageOnDepartureOperatorField; + + private decimal towageOnDepartureLengthOverall_MTRField; + + private bool towageOnDepartureLengthOverall_MTRFieldSpecified; + + private decimal towageOnDepartureBeam_MTRField; + + private bool towageOnDepartureBeam_MTRFieldSpecified; + + private decimal towageOnDepartureDraught_DMTField; + + private string towageOnDepartureRemarksField; + + /// + public string TowageOnDepartureName { + get { + return this.towageOnDepartureNameField; + } + set { + this.towageOnDepartureNameField = value; + } + } + + /// + public string TowageOnDepartureFlag { + get { + return this.towageOnDepartureFlagField; + } + set { + this.towageOnDepartureFlagField = value; + } + } + + /// + public RootTOWDTowageOnDepartureTowageOnDepartureOperator TowageOnDepartureOperator { + get { + return this.towageOnDepartureOperatorField; + } + set { + this.towageOnDepartureOperatorField = value; + } + } + + /// + public decimal TowageOnDepartureLengthOverall_MTR { + get { + return this.towageOnDepartureLengthOverall_MTRField; + } + set { + this.towageOnDepartureLengthOverall_MTRField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TowageOnDepartureLengthOverall_MTRSpecified { + get { + return this.towageOnDepartureLengthOverall_MTRFieldSpecified; + } + set { + this.towageOnDepartureLengthOverall_MTRFieldSpecified = value; + } + } + + /// + public decimal TowageOnDepartureBeam_MTR { + get { + return this.towageOnDepartureBeam_MTRField; + } + set { + this.towageOnDepartureBeam_MTRField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TowageOnDepartureBeam_MTRSpecified { + get { + return this.towageOnDepartureBeam_MTRFieldSpecified; + } + set { + this.towageOnDepartureBeam_MTRFieldSpecified = value; + } + } + + /// + public decimal TowageOnDepartureDraught_DMT { + get { + return this.towageOnDepartureDraught_DMTField; + } + set { + this.towageOnDepartureDraught_DMTField = value; + } + } + + /// + public string TowageOnDepartureRemarks { + get { + return this.towageOnDepartureRemarksField; + } + set { + this.towageOnDepartureRemarksField = 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 RootTOWDTowageOnDepartureTowageOnDepartureOperator { + + private string towageOnDepartureOperatorCompanyNameField; + + private string towageOnDepartureOperatorStreetAndNumberField; + + private string towageOnDepartureOperatorPostalCodeField; + + private string towageOnDepartureOperatorCityField; + + private string towageOnDepartureOperatorCountryField; + + private string towageOnDepartureOperatorPhoneField; + + private string towageOnDepartureOperatorFaxField; + + private string towageOnDepartureOperatorEMailField; + + /// + public string TowageOnDepartureOperatorCompanyName { + get { + return this.towageOnDepartureOperatorCompanyNameField; + } + set { + this.towageOnDepartureOperatorCompanyNameField = value; + } + } + + /// + public string TowageOnDepartureOperatorStreetAndNumber { + get { + return this.towageOnDepartureOperatorStreetAndNumberField; + } + set { + this.towageOnDepartureOperatorStreetAndNumberField = value; + } + } + + /// + public string TowageOnDepartureOperatorPostalCode { + get { + return this.towageOnDepartureOperatorPostalCodeField; + } + set { + this.towageOnDepartureOperatorPostalCodeField = value; + } + } + + /// + public string TowageOnDepartureOperatorCity { + get { + return this.towageOnDepartureOperatorCityField; + } + set { + this.towageOnDepartureOperatorCityField = value; + } + } + + /// + public string TowageOnDepartureOperatorCountry { + get { + return this.towageOnDepartureOperatorCountryField; + } + set { + this.towageOnDepartureOperatorCountryField = value; + } + } + + /// + public string TowageOnDepartureOperatorPhone { + get { + return this.towageOnDepartureOperatorPhoneField; + } + set { + this.towageOnDepartureOperatorPhoneField = value; + } + } + + /// + public string TowageOnDepartureOperatorFax { + get { + return this.towageOnDepartureOperatorFaxField; + } + set { + this.towageOnDepartureOperatorFaxField = value; + } + } + + /// + public string TowageOnDepartureOperatorEMail { + get { + return this.towageOnDepartureOperatorEMailField; + } + set { + this.towageOnDepartureOperatorEMailField = 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 RootWAS { + + private ReportingParty reportingPartyField; + + private object[] itemsField; + + private ItemsChoiceType3[] itemsElementNameField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ConfirmationOfCorrectness", typeof(RootSECValidISSCOnBoard))] + [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalDate", typeof(System.DateTime), DataType="date")] + [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalPort", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("Waste", typeof(RootWASWaste))] + [System.Xml.Serialization.XmlElementAttribute("WasteDisposalDelivery", typeof(DisposalType))] + [System.Xml.Serialization.XmlElementAttribute("WasteDisposalServiceProviderName", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("WasteDisposalValidExemption", typeof(string))] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType3[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = 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 RootWASWaste { + + private WasteType wasteTypeField; + + private string wasteDescriptionField; + + private decimal wasteDisposalAmount_MTQField; + + private RootWASWasteWasteDetails wasteDetailsField; + + /// + public WasteType WasteType { + get { + return this.wasteTypeField; + } + set { + this.wasteTypeField = value; + } + } + + /// + public string WasteDescription { + get { + return this.wasteDescriptionField; + } + set { + this.wasteDescriptionField = value; + } + } + + /// + public decimal WasteDisposalAmount_MTQ { + get { + return this.wasteDisposalAmount_MTQField; + } + set { + this.wasteDisposalAmount_MTQField = value; + } + } + + /// + public RootWASWasteWasteDetails WasteDetails { + get { + return this.wasteDetailsField; + } + set { + this.wasteDetailsField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum WasteType { + + /// + [System.Xml.Serialization.XmlEnumAttribute("1_WASTE_OILS-SLUDGE")] + Item1_WASTE_OILSSLUDGE, + + /// + [System.Xml.Serialization.XmlEnumAttribute("2_WASTE_OILS-BILGE_WATER")] + Item2_WASTE_OILSBILGE_WATER, + + /// + [System.Xml.Serialization.XmlEnumAttribute("3_WASTE_OILS-OTHERS")] + Item3_WASTE_OILSOTHERS, + + /// + [System.Xml.Serialization.XmlEnumAttribute("4_GARBAGE-FOOD_WASTE")] + Item4_GARBAGEFOOD_WASTE, + + /// + [System.Xml.Serialization.XmlEnumAttribute("5_GARBAGE-PLASTIC")] + Item5_GARBAGEPLASTIC, + + /// + [System.Xml.Serialization.XmlEnumAttribute("6_GARBAGE-OTHER")] + Item6_GARBAGEOTHER, + + /// + [System.Xml.Serialization.XmlEnumAttribute("7_SEWAGE")] + Item7_SEWAGE, + + /// + [System.Xml.Serialization.XmlEnumAttribute("8_CARGO-ASSOSIATED_WASTE")] + Item8_CARGOASSOSIATED_WASTE, + + /// + [System.Xml.Serialization.XmlEnumAttribute("9_CARGO-RESIDUES")] + Item9_CARGORESIDUES, +} + +/// +[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 RootWASWasteWasteDetails { + + private decimal wasteCapacity_MTQField; + + private decimal wasteAmountRetained_MTQField; + + private string wasteDisposalPortField; + + private decimal wasteAmountGeneratedTillNextPort_MTQField; + + /// + public decimal WasteCapacity_MTQ { + get { + return this.wasteCapacity_MTQField; + } + set { + this.wasteCapacity_MTQField = value; + } + } + + /// + public decimal WasteAmountRetained_MTQ { + get { + return this.wasteAmountRetained_MTQField; + } + set { + this.wasteAmountRetained_MTQField = value; + } + } + + /// + public string WasteDisposalPort { + get { + return this.wasteDisposalPortField; + } + set { + this.wasteDisposalPortField = value; + } + } + + /// + public decimal WasteAmountGeneratedTillNextPort_MTQ { + get { + return this.wasteAmountGeneratedTillNextPort_MTQField; + } + set { + this.wasteAmountGeneratedTillNextPort_MTQField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum DisposalType { + + /// + ALL, + + /// + SOME, + + /// + NONE, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] +public enum ItemsChoiceType3 { + + /// + ConfirmationOfCorrectness, + + /// + LastWasteDisposalDate, + + /// + LastWasteDisposalPort, + + /// + Waste, + + /// + WasteDisposalDelivery, + + /// + WasteDisposalServiceProviderName, + + /// + WasteDisposalValidExemption, +} + +/// +[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 RootViolation { + + private int violationCodeField; + + private string violationTextField; + + /// + public int ViolationCode { + get { + return this.violationCodeField; + } + set { + this.violationCodeField = value; + } + } + + /// + public string ViolationText { + get { + return this.violationTextField; + } + set { + this.violationTextField = value; } } - } diff --git a/nsw/Source/bsmd.dbh/NSWResponse.designer.cs b/nsw/Source/bsmd.dbh/NSWResponse.designer.cs index d7bd2388..20c086a3 100644 --- a/nsw/Source/bsmd.dbh/NSWResponse.designer.cs +++ b/nsw/Source/bsmd.dbh/NSWResponse.designer.cs @@ -15,7 +15,6 @@ namespace bsmd.dbh.response using System.IO; using System.Text; using System.Collections.Generic; - using System.Runtime.Serialization; public partial class Root @@ -29,9 +28,9 @@ namespace bsmd.dbh.response private string transitIdField; - private System.DateTime timestampField; + private List sisNumbersField; - private string senderField; + private System.DateTime timestampField; private string senderReferenceField; @@ -56,6 +55,7 @@ namespace bsmd.dbh.response this.reportingClassesErrorField = new RootReportingClassesError(); this.reportingClassesPartialField = new RootReportingClassesPartial(); this.reportingClassesFullField = new RootReportingClassesFull(); + this.sisNumbersField = new List(); } public string Version @@ -106,6 +106,19 @@ namespace bsmd.dbh.response } } + [System.Xml.Serialization.XmlArrayItemAttribute("SisNumber", IsNullable = false)] + public List SisNumbers + { + get + { + return this.sisNumbersField; + } + set + { + this.sisNumbersField = value; + } + } + public System.DateTime Timestamp { get @@ -118,18 +131,6 @@ namespace bsmd.dbh.response } } - public string Sender - { - get - { - return this.senderField; - } - set - { - this.senderField = value; - } - } - public string SenderReference { get @@ -202,7 +203,7 @@ namespace bsmd.dbh.response } } - [System.Xml.Serialization.XmlArrayItemAttribute("Message", IsNullable = false, Namespace="")] + [System.Xml.Serialization.XmlArrayItemAttribute("Message", IsNullable = false)] public List Messages { get @@ -423,16 +424,16 @@ namespace bsmd.dbh.response public partial class RootReportingClassesFull { - private List reportingClassField; + private List reportingClassField; private static System.Xml.Serialization.XmlSerializer serializer; public RootReportingClassesFull() { - this.reportingClassField = new List(); + this.reportingClassField = new List(); } - public List ReportingClass + public List ReportingClass { get { @@ -630,7 +631,7 @@ namespace bsmd.dbh.response #endregion } - public enum RootReportingClassesFullReportingClass + public enum ReportingClassCode { /// @@ -645,6 +646,9 @@ namespace bsmd.dbh.response /// SEC, + /// + AGNT, + /// POBA, @@ -712,16 +716,16 @@ namespace bsmd.dbh.response public partial class RootReportingClassesPartial { - private List reportingClassField; + private List reportingClassField; private static System.Xml.Serialization.XmlSerializer serializer; public RootReportingClassesPartial() { - this.reportingClassField = new List(); + this.reportingClassField = new List(); } - public List ReportingClass + public List ReportingClass { get { @@ -919,98 +923,19 @@ namespace bsmd.dbh.response #endregion } - public enum RootReportingClassesPartialReportingClass - { - - /// - NOA_NOD, - - /// - ATA, - - /// - ATD, - - /// - SEC, - - /// - POBA, - - /// - POBD, - - /// - NAME, - - /// - TIEFA, - - /// - TIEFD, - - /// - BKRA, - - /// - BKRD, - - /// - STAT, - - /// - LADG, - - /// - INFO, - - /// - SERV, - - /// - PRE72H, - - /// - MDH, - - /// - WAS, - - /// - CREW, - - /// - PAS, - - /// - BPOL, - - /// - TOWA, - - /// - TOWD, - - /// - HAZA, - - /// - HAZD, - } - public partial class RootReportingClassesError { - private List reportingClassField; + private List reportingClassField; private static System.Xml.Serialization.XmlSerializer serializer; public RootReportingClassesError() { - this.reportingClassField = new List(); + this.reportingClassField = new List(); } - public List ReportingClass + public List ReportingClass { get { @@ -1208,98 +1133,19 @@ namespace bsmd.dbh.response #endregion } - public enum RootReportingClassesErrorReportingClass - { - - /// - NOA_NOD, - - /// - ATA, - - /// - ATD, - - /// - SEC, - - /// - POBA, - - /// - POBD, - - /// - NAME, - - /// - TIEFA, - - /// - TIEFD, - - /// - BKRA, - - /// - BKRD, - - /// - STAT, - - /// - LADG, - - /// - INFO, - - /// - SERV, - - /// - PRE72H, - - /// - MDH, - - /// - WAS, - - /// - CREW, - - /// - PAS, - - /// - BPOL, - - /// - TOWA, - - /// - TOWD, - - /// - HAZA, - - /// - HAZD, - } - public partial class RootReportingClassesResetted { - private List reportingClassField; + private List reportingClassField; private static System.Xml.Serialization.XmlSerializer serializer; public RootReportingClassesResetted() { - this.reportingClassField = new List(); + this.reportingClassField = new List(); } - public List ReportingClass + public List ReportingClass { get { @@ -1497,88 +1343,6 @@ namespace bsmd.dbh.response #endregion } - public enum RootReportingClassesResettedReportingClass - { - - /// - NOA_NOD, - - /// - ATA, - - /// - ATD, - - /// - SEC, - - /// - POBA, - - /// - POBD, - - /// - NAME, - - /// - TIEFA, - - /// - TIEFD, - - /// - BKRA, - - /// - BKRD, - - /// - STAT, - - /// - LADG, - - /// - INFO, - - /// - SERV, - - /// - PRE72H, - - /// - MDH, - - /// - WAS, - - /// - CREW, - - /// - PAS, - - /// - BPOL, - - /// - TOWA, - - /// - TOWD, - - /// - HAZA, - - /// - HAZD, - } - - - [XmlType(TypeName = "Message")] - public partial class RootMessage { diff --git a/nsw/Source/bsmd.dbh/NSWResponse.xsd b/nsw/Source/bsmd.dbh/NSWResponse.xsd index b7c8be3e..b9c3dd26 100644 --- a/nsw/Source/bsmd.dbh/NSWResponse.xsd +++ b/nsw/Source/bsmd.dbh/NSWResponse.xsd @@ -15,7 +15,11 @@ - + + + Unique message identifier. + + Required when TransitId is missing and field "Type" is not "VISIT or "TRANSIT" @@ -38,13 +42,41 @@ + + + A list of SIS numbers. An empty list means that all sent numbers will be deleted. Sending a new list overwrites existing ones completely. + + + + + + One SIS number + + + + + + + + + + Timestamp, when the message is sent - - + + + A customer reference that can be freely filled and will be send back in the following response. No checks are made on this field. When a new Visit- or TransitId is obtained, it should be used as a reference to match the response to its corresponding request. + + + + + + + + The message type (should be the same as in the request message): @@ -70,39 +102,10 @@ - + The code of a reporting class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -113,39 +116,10 @@ - + The code of a reporting class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -156,39 +130,10 @@ - + The code of a reporting class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -199,39 +144,10 @@ - + The code of a reporting class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -252,8 +168,8 @@ - - + + @@ -295,4 +211,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nsw/Source/bsmd.dbh/Request.cs b/nsw/Source/bsmd.dbh/Request.cs index d4238877..2d997a86 100644 --- a/nsw/Source/bsmd.dbh/Request.cs +++ b/nsw/Source/bsmd.dbh/Request.cs @@ -24,7 +24,7 @@ namespace bsmd.dbh { if (message == null) return false; - RootType rootType = RootType.DATA; + DBHWebReference.RootType rootType = DBHWebReference.RootType.DATA; if (message.ReportingParty == null) { @@ -59,14 +59,14 @@ namespace bsmd.dbh rp.RPStreetAndNumber = message.ReportingParty.StreetAndNumber; rp.RPTypeSpecified = message.ReportingParty.ReportingPartyType.HasValue; if (rp.RPTypeSpecified) - rp.RPType = (ReportingPartyRPType) message.ReportingParty.ReportingPartyType.Value; + rp.RPType = (DBHWebReference.ReportingPartyRPType) message.ReportingParty.ReportingPartyType.Value; DateTime timestamp = DateTime.Now; string version = "1.0"; object item = null; string senderReference = message.Id.Value.ToString("N"); - ItemChoiceType2 itemChoiceType2 = ItemChoiceType2.Visit; + DBHWebReference.ItemChoiceType2 itemChoiceType2 = DBHWebReference.ItemChoiceType2.Visit; switch (message.MessageNotificationClass) { @@ -74,17 +74,17 @@ namespace bsmd.dbh #region VISIT case Message.NotificationClass.VISIT: { - RootVisit rootVisit = new RootVisit(); - rootType = RootType.VISIT; + DBHWebReference.RootVisit rootVisit = new DBHWebReference.RootVisit(); + rootType = DBHWebReference.RootType.VISIT; if (message.MessageCore.IMO != null) { - rootVisit.ItemElementName = ItemChoiceType.IMONumber; + rootVisit.ItemElementName = DBHWebReference.ItemChoiceType.IMONumber; rootVisit.Item = message.MessageCore.IMO; } else { - rootVisit.ItemElementName = ItemChoiceType.ENINumber; + rootVisit.ItemElementName = DBHWebReference.ItemChoiceType.ENINumber; rootVisit.Item = message.MessageCore.ENI; } @@ -99,18 +99,18 @@ namespace bsmd.dbh #region TRANSIT case Message.NotificationClass.TRANSIT: { - RootTransit rootTransit = new RootTransit(); - rootType = RootType.TRANSIT; - itemChoiceType2 = ItemChoiceType2.Transit; + DBHWebReference.RootTransit rootTransit = new DBHWebReference.RootTransit(); + rootType = DBHWebReference.RootType.TRANSIT; + itemChoiceType2 = DBHWebReference.ItemChoiceType2.Transit; if (message.MessageCore.IMO != null) { - rootTransit.ItemElementName = ItemChoiceType1.IMONumber; + rootTransit.ItemElementName = DBHWebReference.ItemChoiceType1.IMONumber; rootTransit.Item = message.MessageCore.IMO; } else { - rootTransit.ItemElementName = ItemChoiceType1.ENINumber; + rootTransit.ItemElementName = DBHWebReference.ItemChoiceType1.ENINumber; rootTransit.Item = message.MessageCore.ENI; } @@ -130,12 +130,12 @@ namespace bsmd.dbh RootNOA_NOD rootNoaNod = new RootNOA_NOD(); if (noa_nod.ETAToNextPort.HasValue) - rootNoaNod.ETAToNextPort = noa_nod.ETAToNextPort.Value; - rootNoaNod.ETAToNextPortSpecified = noa_nod.ETAToNextPort.HasValue; + rootNoaNod.ETAToNextPort = noa_nod.ETAToNextPort.Value.ToDBHDateString(); + // rootNoaNod.ETAToNextPortSpecified = noa_nod.ETAToNextPort.HasValue; - if (noa_nod.ETDFromLastPort.HasValue) - rootNoaNod.ETDFromLastPort = noa_nod.ETDFromLastPort.Value; - rootNoaNod.ETDFromLastPortSpecified = noa_nod.ETDFromLastPort.HasValue; + if ((noa_nod.ETDFromLastPort.HasValue) && (!noa_nod.LastPort.Equals("ZZUKN", StringComparison.OrdinalIgnoreCase))) + rootNoaNod.ETDFromLastPort = noa_nod.ETDFromLastPort.Value.ToDBHDateString(); + // rootNoaNod.ETDFromLastPortSpecified = noa_nod.ETDFromLastPort.HasValue; rootNoaNod.LastPort = noa_nod.LastPort; rootNoaNod.NextPort = noa_nod.NextPort; @@ -190,6 +190,31 @@ namespace bsmd.dbh } #endregion + #region AGNT + + case Message.NotificationClass.AGNT: + { + AGNT agnt = message.Elements[0] as AGNT; + if (agnt != null) + { + RootAGNT rootAGNT = new RootAGNT(); + rootAGNT.AgentCity = agnt.AgentCity; + rootAGNT.AgentCompanyName = agnt.AgentCompanyName; + rootAGNT.AgentCountry = agnt.AgentCountry; + rootAGNT.AgentEMail = agnt.AgentEMail; + rootAGNT.AgentFax = agnt.AgentFax; + rootAGNT.AgentFirstName = agnt.AgentFirstName; + rootAGNT.AgentLastName = agnt.AgentLastName; + rootAGNT.AgentPhone = agnt.AgentPhone; + rootAGNT.AgentPostalCode = agnt.AgentPostalCode; + rootAGNT.AgentStreetAndNumber = agnt.AgentStreetAndNumber; + item = rootAGNT; + } + break; + } + + #endregion + #region ATA case Message.NotificationClass.ATA: { @@ -198,7 +223,7 @@ namespace bsmd.dbh { RootATA rootATA = new RootATA(); if (ata.ATAPortOfCall.HasValue) - rootATA.ATAPortOfCall = ata.ATAPortOfCall.Value; + rootATA.ATAPortOfCall = ata.ATAPortOfCall.Value.ToDBHDateString(); item = rootATA; } break; @@ -212,7 +237,7 @@ namespace bsmd.dbh if (atd != null) { RootATD rootATD = new RootATD(); - rootATD.ATDPortOfCall = atd.ATDPortOfCall.Value; + rootATD.ATDPortOfCall = atd.ATDPortOfCall.Value.ToDBHDateString(); item = rootATD; } break; @@ -225,10 +250,13 @@ namespace bsmd.dbh RootSEC rootSEC = new RootSEC(); SEC sec = message.Elements[0] as SEC; int numFields = (sec.SECSimplification ?? false) ? - 2 : (15 + sec.LastTenPortFacilitesCalled.Count + sec.ShipToShipActivitiesDuringLastTenPortFacilitiesCalled.Count); + 2 : (14 + sec.LastTenPortFacilitesCalled.Count + sec.ShipToShipActivitiesDuringLastTenPortFacilitiesCalled.Count); rootSEC.Items = new object[numFields]; rootSEC.ItemsElementName = new ItemsChoiceType1[numFields]; + rootSEC.CurrentShipSecurityLevel = (int)sec.CurrentShipSecurityLevel.Value; + + if (sec.SECSimplification ?? false) { rootSEC.ItemsElementName[0] = ItemsChoiceType1.SECSimplification; @@ -257,21 +285,20 @@ namespace bsmd.dbh rootSEC.Items[7] = sec.ISSCDateOfExpiration.Value; rootSEC.ItemsElementName[8] = ItemsChoiceType1.ApprovedSecurityPlanOnBoard; rootSEC.Items[8] = sec.ApprovedSecurityPlanOnBoard ?? false ? RootSECApprovedSecurityPlanOnBoard.Y : RootSECApprovedSecurityPlanOnBoard.N; - rootSEC.ItemsElementName[9] = ItemsChoiceType1.CurrentShipSecurityLevel; - if (sec.CurrentShipSecurityLevel.HasValue) rootSEC.Items[9] = (int)sec.CurrentShipSecurityLevel.Value; - rootSEC.ItemsElementName[10] = ItemsChoiceType1.PortFacilityOfArrival; - rootSEC.Items[10] = sec.PortFacilityOfArrival; - rootSEC.ItemsElementName[11] = ItemsChoiceType1.GeneralDescriptionOfCargo; + + rootSEC.ItemsElementName[9] = ItemsChoiceType1.PortFacilityOfArrival; + rootSEC.Items[9] = sec.PortFacilityOfArrival; + rootSEC.ItemsElementName[10] = ItemsChoiceType1.GeneralDescriptionOfCargo; if (sec.GeneralDescriptionOfCargo.HasValue) - rootSEC.Items[11] = (RootSECGeneralDescriptionOfCargo)sec.GeneralDescriptionOfCargo.Value; - rootSEC.ItemsElementName[12] = ItemsChoiceType1.ReasonsForNoValidISSC; - rootSEC.Items[12] = sec.ReasonsForNoValidISSC; - rootSEC.ItemsElementName[13] = ItemsChoiceType1.ISSCIssuerType; - rootSEC.Items[13] = (RootSECISSCIssuerType) (sec.ISSCIssuerType ?? 0); - rootSEC.ItemsElementName[14] = ItemsChoiceType1.CSOEMail; - rootSEC.Items[14] = sec.CSOEMail; + rootSEC.Items[10] = (RootSECGeneralDescriptionOfCargo)sec.GeneralDescriptionOfCargo.Value; + rootSEC.ItemsElementName[11] = ItemsChoiceType1.ReasonsForNoValidISSC; + rootSEC.Items[11] = sec.ReasonsForNoValidISSC; + rootSEC.ItemsElementName[12] = ItemsChoiceType1.ISSCIssuerType; + rootSEC.Items[12] = (RootSECISSCIssuerType) (sec.ISSCIssuerType ?? 0); + rootSEC.ItemsElementName[13] = ItemsChoiceType1.CSOEMail; + rootSEC.Items[13] = sec.CSOEMail; - int index = 15; + int index = 14; for (int i=0; i < sec.LastTenPortFacilitesCalled.Count; index++, i++) { rootSEC.ItemsElementName[index] = ItemsChoiceType1.LastTenPortFacilitiesCalled; @@ -292,7 +319,7 @@ namespace bsmd.dbh for (int i = 0; i < sec.ShipToShipActivitiesDuringLastTenPortFacilitiesCalled.Count; index++, i++ ) { - rootSEC.ItemsElementName[index] = ItemsChoiceType1.ShipToShipActivitiesDuringLastTenPortFacilitiesCalled; + rootSEC.ItemsElementName[index] = ItemsChoiceType1.ShipToShipActivities; RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalled s2s = new RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalled(); rootSEC.Items[index] = s2s; s2s.ShipToShipActivityLocation = new RootSECShipToShipActivitiesDuringLastTenPortFacilitiesCalledShipToShipActivityLocation(); @@ -332,14 +359,14 @@ namespace bsmd.dbh { RootBPOLPortOfItinerary port = new RootBPOLPortOfItinerary(); if (bpol.PortOfItineraries[i].PortOfItineraryETA.HasValue) - port.PortOfItineraryETA = bpol.PortOfItineraries[i].PortOfItineraryETA.Value; + port.PortOfItineraryETA = bpol.PortOfItineraries[i].PortOfItineraryETA.Value.ToDBHDateString(); port.PortOfItineraryName = bpol.PortOfItineraries[i].PortOfItineraryName; poiArray[i] = port; } if (bpol.StowawaysOnBoard.HasValue) rootBPOL.StowawayOnBoard = bpol.StowawaysOnBoard.Value ? - RootBPOLStowawayOnBoard.Y : RootBPOLStowawayOnBoard.N; + RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; item = rootBPOL; } @@ -364,10 +391,10 @@ namespace bsmd.dbh rootCREW.CrewMember[i].CrewMemberFirstName = crew.CrewMemberFirstName; rootCREW.CrewMember[i].CrewMemberGenderSpecified = crew.CrewMemberGender.HasValue; if (crew.CrewMemberGender.HasValue) - rootCREW.CrewMember[i].CrewMemberGender = (RootCREWCrewMemberCrewMemberGender)crew.CrewMemberGender.Value; + rootCREW.CrewMember[i].CrewMemberGender = (Gender)crew.CrewMemberGender.Value; rootCREW.CrewMember[i].CrewMemberIdentityDocumentId = crew.CrewMemberIdentityDocumentId; if (crew.CrewMemberIdentityDocumentType.HasValue) - rootCREW.CrewMember[i].CrewMemberIdentityDocumentType = (RootCREWCrewMemberCrewMemberIdentityDocumentType)crew.CrewMemberIdentityDocumentType.Value; + rootCREW.CrewMember[i].CrewMemberIdentityDocumentType = (IdDocType)crew.CrewMemberIdentityDocumentType.Value; rootCREW.CrewMember[i].CrewMemberLastName = crew.CrewMemberLastName; rootCREW.CrewMember[i].CrewMemberNationality = crew.CrewMemberNationality; rootCREW.CrewMember[i].CrewMemberPlaceOfBirth = crew.CrewMemberPlaceOfBirth; @@ -395,15 +422,15 @@ namespace bsmd.dbh rootPAS.Passenger[i].PassengerDateOfBirth = pas.PassengerDateOfBirth.Value; rootPAS.Passenger[i].PassengerGenderSpecified = pas.PassengerGender.HasValue; if (pas.PassengerGender.HasValue) - rootPAS.Passenger[i].PassengerGender = (RootPASPassengerPassengerGender) pas.PassengerGender.Value; + rootPAS.Passenger[i].PassengerGender = (Gender) pas.PassengerGender.Value; rootPAS.Passenger[i].PassengerNationality = pas.PassengerNationality; if (pas.PassengerIdentityDocumentType.HasValue) - rootPAS.Passenger[i].PassengerIdentityDocumentType = (RootPASPassengerPassengerIdentityDocumentType)pas.PassengerIdentityDocumentType.Value; + rootPAS.Passenger[i].PassengerIdentityDocumentType = (IdDocType)pas.PassengerIdentityDocumentType.Value; rootPAS.Passenger[i].PassengerIdentityDocumentId = pas.PassengerIdentityDocumentId; rootPAS.Passenger[i].PassengerVisaNumber = pas.PassengerVisaNumber; rootPAS.Passenger[i].PassengerPortOfEmbarkation = pas.PassengerPortOfEmbarkation; rootPAS.Passenger[i].PassengerPortOfDisembarkation = pas.PassengerPortOfDisembarkation; - rootPAS.Passenger[i].PassengerInTransit = pas.PassengerInTransit ?? false ? RootPASPassengerPassengerInTransit.Y : RootPASPassengerPassengerInTransit.N; + rootPAS.Passenger[i].PassengerInTransit = pas.PassengerInTransit ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; } item = rootPAS; } @@ -421,7 +448,7 @@ namespace bsmd.dbh { BRKA bkra = message.Elements[i] as BRKA; rootBKRA.BunkerFuelArrival[i] = new RootBKRABunkerFuelArrival(); - rootBKRA.BunkerFuelArrival[i].BunkerFuelQuantity_TNE = (float) (bkra.BunkerFuelQuantity_TNE ?? 0); + rootBKRA.BunkerFuelArrival[i].BunkerFuelQuantity_TNE = (decimal) (bkra.BunkerFuelQuantity_TNE ?? 0); rootBKRA.BunkerFuelArrival[i].BunkerFuelType = bkra.BunkerFuelType; } item = rootBKRA; @@ -440,7 +467,7 @@ namespace bsmd.dbh { BRKD bkrd = message.Elements[i] as BRKD; rootBKRD.BunkerFuelDeparture[i] = new RootBKRDBunkerFuelDeparture(); - rootBKRD.BunkerFuelDeparture[i].BunkerFuelQuantity_TNE = (float) (bkrd.BunkerFuelQuantity_TNE ?? 0); + rootBKRD.BunkerFuelDeparture[i].BunkerFuelQuantity_TNE = (decimal) (bkrd.BunkerFuelQuantity_TNE ?? 0); rootBKRD.BunkerFuelDeparture[i].BunkerFuelType = bkrd.BunkerFuelType; } item = rootBKRD; @@ -453,7 +480,7 @@ namespace bsmd.dbh { RootTIEFA rootTIEFA = new RootTIEFA(); TIEFA tiefa = message.Elements[0] as TIEFA; - rootTIEFA.DraughtUponArrival_DMT = (float) (tiefa.DraughtUponArrival_DMT ?? 0); + rootTIEFA.DraughtUponArrival_DMT = (decimal) (tiefa.DraughtUponArrival_DMT ?? 0); item = rootTIEFA; } break; @@ -464,7 +491,7 @@ namespace bsmd.dbh { RootTIEFD rootTIEFD = new RootTIEFD(); TIEFD tiefd = message.Elements[0] as TIEFD; - rootTIEFD.DraughtUponDeparture_DMT = (float) (tiefd.DraughtUponDeparture_DMT ?? 0); + rootTIEFD.DraughtUponDeparture_DMT = (decimal) (tiefd.DraughtUponDeparture_DMT ?? 0); item = rootTIEFD; } break; @@ -518,11 +545,20 @@ namespace bsmd.dbh rootStat.CallSign = stat.CallSign; rootStat.MMSINumber = stat.MMSINumber; rootStat.Flag = stat.Flag; - if (stat.LengthOverall_MTR.HasValue) rootStat.LengthOverall_MTR = (float) (stat.LengthOverall_MTR.Value); - if (stat.Beam_MTR.HasValue) rootStat.Beam_MTR = (float) (stat.Beam_MTR.Value); + if (stat.LengthOverall_MTR.HasValue) rootStat.LengthOverall_MTR = (decimal) (stat.LengthOverall_MTR.Value); + if (stat.Beam_MTR.HasValue) rootStat.Beam_MTR = (decimal) (stat.Beam_MTR.Value); if (stat.GrossTonnage.HasValue) rootStat.GrossTonnage = stat.GrossTonnage.Value; rootStat.PortOfRegistry = stat.PortOfRegistry; rootStat.ShipType = stat.ShipType; + rootStat.InmarsatCallNumber = stat.InmarsatCallNumber; + RootSTATTransportMode transportMode; + if(Enum.TryParse(stat.TransportMode, out transportMode)) + { + rootStat.TransportMode = transportMode; + } else + { + _log.WarnFormat("failed to parse transportmode {0}", stat.TransportMode); + } if (!stat.ISMCompanyName.IsNullOrEmpty()) { rootStat.ISMCompany = new RootSTATISMCompany(); @@ -548,10 +584,10 @@ namespace bsmd.dbh LADG ladg = message.Elements[i] as LADG; rootLADG.Cargo[i] = new RootLADGCargo(); if(ladg.CargoHandlingType.HasValue) - rootLADG.Cargo[i].CargoHandlingType = (RootLADGCargoCargoHandlingType)(ladg.CargoHandlingType); + rootLADG.Cargo[i].CargoHandlingType = (HandlingType)(ladg.CargoHandlingType); rootLADG.Cargo[i].CargoCodeNST = ladg.CargoCodeNST; if (ladg.CargoGrossQuantity_TNE.HasValue) - rootLADG.Cargo[i].CargoGrossQuantity_TNE = (float) ladg.CargoGrossQuantity_TNE.Value; + rootLADG.Cargo[i].CargoGrossQuantity_TNE = (decimal) ladg.CargoGrossQuantity_TNE.Value; rootLADG.Cargo[i].CargoNumberOfItemsSpecified = ladg.CargoNumberOfItems.HasValue; if (ladg.CargoNumberOfItems.HasValue) rootLADG.Cargo[i].CargoNumberOfItems = ladg.CargoNumberOfItems.Value; @@ -567,7 +603,8 @@ namespace bsmd.dbh RootINFO rootInfo = new RootINFO(); INFO info = message.Elements[0] as INFO; if (info.ShippingArea.HasValue) - rootInfo.ShippingArea = (RootINFOShippingArea)info.ShippingArea.Value; + rootInfo.ShippingArea = (ShippingArea)info.ShippingArea.Value; + rootInfo.PortArea = info.PortArea; rootInfo.RequestedPositionInPortOfCall = info.RequestedPositionInPortOfCall; rootInfo.SpecialRequirementsOfShipAtBerth = info.SpecialRequirementsOfShipAtBerth; if(info.SpecialRequirementsOfShipAtBerth.IsNullOrEmpty()) @@ -576,13 +613,15 @@ namespace bsmd.dbh // Name des Agenten eintragen } rootInfo.ConstructionCharacteristicsOfShip = info.ConstructionCharacteristicsOfShip; + rootInfo.BowThrusterPower = info.BowThrusterPower; + rootInfo.SternThrusterPower = info.SternThrusterPower; if (info.FumigatedBulkCargo.HasValue) rootInfo.FumigatedBulkCargo = (info.FumigatedBulkCargo.Value == 0) ? RootINFOFumigatedBulkCargo.Y : RootINFOFumigatedBulkCargo.N; else rootInfo.FumigatedBulkCargo = RootINFOFumigatedBulkCargo.N; rootInfo.DeadWeightSummer_TNESpecified = info.DeplacementSummerDraught_TNE.HasValue; if (info.DeplacementSummerDraught_TNE.HasValue) - rootInfo.DeadWeightSummer_TNE = (float) info.DeplacementSummerDraught_TNE.Value; + rootInfo.DeadWeightSummer_TNE = (decimal) info.DeplacementSummerDraught_TNE.Value; item = rootInfo; } break; @@ -611,26 +650,26 @@ namespace bsmd.dbh { RootPRE72H rootPre = new RootPRE72H(); PRE72H pre72h = message.Elements[0] as PRE72H; - rootPre.Tanker = pre72h.Tanker ?? false ? RootPRE72HTanker.Y : RootPRE72HTanker.N; + rootPre.Tanker = pre72h.Tanker ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; if (pre72h.Tanker ?? false) { rootPre.TankerDetails = new RootPRE72HTankerDetails(); if (pre72h.TankerHullConfiguration.HasValue) - rootPre.TankerDetails.TankerHullConfiguration = (RootPRE72HTankerDetailsTankerHullConfiguration)pre72h.TankerHullConfiguration.Value; + rootPre.TankerDetails.TankerHullConfiguration = (HullConfiguration)pre72h.TankerHullConfiguration.Value; if (pre72h.ConditionCargoBallastTanks.HasValue) - rootPre.TankerDetails.ConditionCargoBallastTanks = (RootPRE72HTankerDetailsConditionCargoBallastTanks)pre72h.ConditionCargoBallastTanks.Value; + rootPre.TankerDetails.ConditionCargoBallastTanks = (TankCondition)pre72h.ConditionCargoBallastTanks.Value; rootPre.TankerDetails.NatureOfCargo = pre72h.NatureOfCargo; rootPre.TankerDetails.VolumeOfCargo_TNESpecified = pre72h.VolumeOfCargo.HasValue; } if (pre72h.VolumeOfCargo.HasValue) - rootPre.TankerDetails.VolumeOfCargo_TNE = (float) (pre72h.VolumeOfCargo.Value); + rootPre.TankerDetails.VolumeOfCargo_TNE = (decimal) (pre72h.VolumeOfCargo.Value); rootPre.PlannedOperations = pre72h.PlannedOperations; rootPre.PlannedWorks = pre72h.PlannedWorks; if (pre72h.DateOfLastExpandedInspection.HasValue) rootPre.DateOfLastExpandedInspection = pre72h.DateOfLastExpandedInspection.Value; if (pre72h.PlannedPeriodOfStay_HUR.HasValue) - rootPre.PlannedPeriodOfStay_HUR = (float) (pre72h.PlannedPeriodOfStay_HUR.Value); + rootPre.PlannedPeriodOfStay_HUR = (decimal) (pre72h.PlannedPeriodOfStay_HUR.Value); item = rootPre; } @@ -697,20 +736,26 @@ namespace bsmd.dbh if (mdh.SanitaryMeasuresApplied ?? false) { - choiceTypes2.Add(ItemsChoiceType2.SanitaryMeasuresDetails); - RootMDHSanitaryMeasuresDetails smDet = new RootMDHSanitaryMeasuresDetails(); - if (mdh.SanitaryMeasuresDate.HasValue) - smDet.SanitaryMeasuresDate = mdh.SanitaryMeasuresDate.Value; - smDet.SanitaryMeasuresType = mdh.SanitaryMeasuresType; - smDet.SanitaryMeasuresLocation = mdh.SanitaryMeasuresLocation; - mdhItems.Add(smDet); + foreach (SanitaryMeasuresDetail smd in mdh.SanitaryMeasuresDetails) + { + choiceTypes2.Add(ItemsChoiceType2.SanitaryMeasuresDetails); + RootMDHSanitaryMeasuresDetails smDet = new RootMDHSanitaryMeasuresDetails(); + if (mdh.SanitaryMeasuresDate.HasValue) + smDet.SanitaryMeasuresDate = smd.SanitaryMeasuresDate.Value; + smDet.SanitaryMeasuresType = smd.SanitaryMeasuresType; + smDet.SanitaryMeasuresLocation = smd.SanitaryMeasuresLocation; + mdhItems.Add(smDet); + } } choiceTypes2.Add(ItemsChoiceType2.StowawaysDetected); mdhItems.Add(mdh.StowawaysDetected ?? false ? RootMDHStowawaysDetected.Y : RootMDHStowawaysDetected.N); - choiceTypes2.Add(ItemsChoiceType2.StowawaysJoiningLocation); - mdhItems.Add(mdh.StowawaysJoiningLocation); + foreach(StowawaysJoiningLocation sjl in mdh.StowawaysJoiningLocations) + { + choiceTypes2.Add(ItemsChoiceType2.StowawaysJoiningLocation); + mdhItems.Add(sjl.StowawayJoiningLocation); + } choiceTypes2.Add(ItemsChoiceType2.SickAnimalOrPetOnBoard); mdhItems.Add(mdh.SickAnimalOrPetOnBoard ?? false ? RootMDHSickAnimalOrPetOnBoard.Y : RootMDHSickAnimalOrPetOnBoard.N); @@ -733,13 +778,16 @@ namespace bsmd.dbh choiceTypes2.Add(ItemsChoiceType2.InfectedAreaVisited); mdhItems.Add(mdh.InfectedAreaVisited ?? false ? RootMDHInfectedAreaVisited.Y : RootMDHInfectedAreaVisited.N); - if (!mdh.InfectedAreaPort.IsNullOrEmpty() && mdh.InfectedAreaDate.HasValue) + foreach (InfectedArea ia in mdh.InfectedAreas) { - choiceTypes2.Add(ItemsChoiceType2.InfectedArea); - RootMDHInfectedArea infected = new RootMDHInfectedArea(); - mdhItems.Add(infected); - infected.InfectedAreaPort = mdh.InfectedAreaPort; - infected.InfectedAreaDate = mdh.InfectedAreaDate.Value; + if (!mdh.InfectedAreaPort.IsNullOrEmpty() && mdh.InfectedAreaDate.HasValue) + { + choiceTypes2.Add(ItemsChoiceType2.InfectedArea); + RootMDHInfectedArea infected = new RootMDHInfectedArea(); + mdhItems.Add(infected); + infected.InfectedAreaPort = ia.InfectedAreaPort; + infected.InfectedAreaDate = ia.InfectedAreaDate.Value; + } } if (mdh.PortOfCallLast30Days.Count > 0) @@ -761,7 +809,7 @@ namespace bsmd.dbh l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewJoinedShip.PortOfCallLast30DaysCrewJoinedShipName[j] = mdh.PortOfCallLast30Days[i].CrewJoinedShip[j].PortOfCallLast30DaysCrewJoinedShipName; } } - l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewMembersJoined = mdh.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewMembersJoined ?? false ? RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewMembersJoined.Y : RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewMembersJoined.N; + l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewMembersJoined = mdh.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewMembersJoined ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; if (mdh.PortOfCallLast30Days[i].PortOfCallLast30DaysDateOfDeparture.HasValue) l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysDateOfDeparture = mdh.PortOfCallLast30Days[i].PortOfCallLast30DaysDateOfDeparture.Value; l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysLocode = mdh.PortOfCallLast30Days[i].PortOfCallLast30DaysLocode; @@ -839,17 +887,17 @@ namespace bsmd.dbh { rww.WasteDescription = was.Waste[j-5].WasteDescription; if (was.Waste[j - 5].WasteType.HasValue) - rww.WasteType = (RootWASWasteWasteType) (was.Waste[j - 5].WasteType.Value - 1); // im generierten Code ist das 0-basiert + rww.WasteType = (WasteType) (was.Waste[j - 5].WasteType.Value - 1); // im generierten Code ist das 0-basiert if (was.Waste[j - 5].WasteDisposalAmount_MTQ.HasValue) - rww.WasteDisposalAmount_MTQ = (float)was.Waste[j - 5].WasteDisposalAmount_MTQ.Value; + rww.WasteDisposalAmount_MTQ = (decimal)was.Waste[j - 5].WasteDisposalAmount_MTQ.Value; rww.WasteDetails = new RootWASWasteWasteDetails(); if (was.Waste[j - 5].WasteCapacity_MTQ.HasValue) - rww.WasteDetails.WasteCapacity_MTQ = (float)was.Waste[j - 5].WasteCapacity_MTQ.Value; + rww.WasteDetails.WasteCapacity_MTQ = (decimal)was.Waste[j - 5].WasteCapacity_MTQ.Value; if (was.Waste[j - 5].WasteAmountRetained_MTQ.HasValue) - rww.WasteDetails.WasteAmountRetained_MTQ = (float)was.Waste[j - 5].WasteAmountRetained_MTQ.Value; + rww.WasteDetails.WasteAmountRetained_MTQ = (decimal)was.Waste[j - 5].WasteAmountRetained_MTQ.Value; rww.WasteDetails.WasteDisposalPort = was.Waste[j - 5].WasteDisposalPort; if (was.Waste[j - 5].WasteAmountGeneratedTillNextPort_MTQ.HasValue) - rww.WasteDetails.WasteAmountGeneratedTillNextPort_MTQ = (float)was.Waste[j - 5].WasteAmountGeneratedTillNextPort_MTQ.Value; + rww.WasteDetails.WasteAmountGeneratedTillNextPort_MTQ = (decimal)was.Waste[j - 5].WasteAmountGeneratedTillNextPort_MTQ.Value; } } } @@ -883,12 +931,12 @@ namespace bsmd.dbh if (towa.TowageOnArrivalGrossTonnage.HasValue) rootTowa.TowageOnArrival[i].TowageOnArrivalGrossTonnage = towa.TowageOnArrivalGrossTonnage.Value; if (towa.TowageOnArrivalLengthOverall_MTR.HasValue) - rootTowa.TowageOnArrival[i].TowageOnArrivalLengthOverall_MTR = (float) towa.TowageOnArrivalLengthOverall_MTR.Value; + rootTowa.TowageOnArrival[i].TowageOnArrivalLengthOverall_MTR = (decimal) towa.TowageOnArrivalLengthOverall_MTR.Value; if (towa.TowageOnArrivalBeam_MTR.HasValue) - rootTowa.TowageOnArrival[i].TowageOnArrivalBeam_MTR = (float) towa.TowageOnArrivalBeam_MTR.Value; + rootTowa.TowageOnArrival[i].TowageOnArrivalBeam_MTR = (decimal) towa.TowageOnArrivalBeam_MTR.Value; rootTowa.TowageOnArrival[i].TowageOnArrivalPurposeOfCall = towa.TowageOnArrivalPurposeOfCall; if (towa.TowageOnArrivalDraught_DMT.HasValue) - rootTowa.TowageOnArrival[i].TowageOnArrivalDraught_DMT = (float) towa.TowageOnArrivalDraught_DMT.Value; + rootTowa.TowageOnArrival[i].TowageOnArrivalDraught_DMT = (decimal) towa.TowageOnArrivalDraught_DMT.Value; rootTowa.TowageOnArrival[i].TowageOnArrivalRemarks = towa.TowageOnArrivalRemarks; } item = rootTowa; @@ -917,11 +965,11 @@ namespace bsmd.dbh rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorFax = towd.TowageOnDepartureOperatorFax; rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorEMail = towd.TowageOnDepartureOperatorEmail; if (towd.TowageOnDepartureLengthOverall_MTR.HasValue) - rootTowd.TowageOnDeparture[i].TowageOnDepartureLengthOverall_MTR = (float) towd.TowageOnDepartureLengthOverall_MTR.Value; + rootTowd.TowageOnDeparture[i].TowageOnDepartureLengthOverall_MTR = (decimal) towd.TowageOnDepartureLengthOverall_MTR.Value; if (towd.TowageOnDepartureBeam_MTR.HasValue) - rootTowd.TowageOnDeparture[i].TowageOnDepartureBeam_MTR = (float) towd.TowageOnDepartureBeam_MTR.Value; + rootTowd.TowageOnDeparture[i].TowageOnDepartureBeam_MTR = (decimal) towd.TowageOnDepartureBeam_MTR.Value; if (towd.TowageOnDepartureDraught_DMT.HasValue) - rootTowd.TowageOnDeparture[i].TowageOnDepartureDraught_DMT = (float) towd.TowageOnDepartureDraught_DMT.Value; + rootTowd.TowageOnDeparture[i].TowageOnDepartureDraught_DMT = (decimal) towd.TowageOnDepartureDraught_DMT.Value; rootTowd.TowageOnDeparture[i].TowageOnDepartureRemarks = towd.TowageOnDepartureRemarks; } item = rootTowd; @@ -955,42 +1003,42 @@ namespace bsmd.dbh #region IMDG if (haz.IMDGPositions.Count > 0) { - dpgOnArrival.DPGItemIMDG = new RootHAZADPGOnArrivalDPGItemIMDG[haz.IMDGPositions.Count]; + dpgOnArrival.DPGItemIMDG = new IMDGPosition[haz.IMDGPositions.Count]; for (int i = 0; i < haz.IMDGPositions.Count; i++) { - IMDGPosition imdgPos = haz.IMDGPositions[i]; - RootHAZADPGOnArrivalDPGItemIMDG rootIMDG = new RootHAZADPGOnArrivalDPGItemIMDG(); + bsmd.database.IMDGPosition imdgPos = haz.IMDGPositions[i]; + IMDGPosition rootIMDG = new IMDGPosition(); rootIMDG.UNNumber = imdgPos.UNNumber; if (imdgPos.PackingGroup.HasValue) - rootIMDG.PackingGroup = (RootHAZADPGOnArrivalDPGItemIMDGPackingGroup)imdgPos.PackingGroup.Value; + rootIMDG.PackingGroup = (PackingGroupType)imdgPos.PackingGroup.Value; rootIMDG.ProperShippingName = imdgPos.ProperShippingName; rootIMDG.IMOClass = imdgPos.IMOClass; - rootIMDG.CompatibilityGroup = imdgPos.CompatibilityGroup; + // rootIMDG.CompatibilityGroup = imdgPos.CompatibilityGroup; rootIMDG.TechnicalName = imdgPos.TechnicalName; rootIMDG.NetExplosiveMass_KGMSpecified = imdgPos.NetExplosiveMass_KGM.HasValue; if (imdgPos.NetExplosiveMass_KGM.HasValue) - rootIMDG.NetExplosiveMass_KGM = (float)imdgPos.NetExplosiveMass_KGM.Value; + rootIMDG.NetExplosiveMass_KGM = (decimal)imdgPos.NetExplosiveMass_KGM.Value; rootIMDG.Flashpoint_CEL = imdgPos.Flashpoint_CEL; rootIMDG.Class7NuclideName = imdgPos.Class7NuclideName; rootIMDG.Class7MaxActivity_BQLSpecified = imdgPos.Class7MaxActivity_BQL.HasValue; if (imdgPos.Class7MaxActivity_BQL.HasValue) - rootIMDG.Class7MaxActivity_BQL = (float)imdgPos.Class7MaxActivity_BQL.Value; + rootIMDG.Class7MaxActivity_BQL = (decimal)imdgPos.Class7MaxActivity_BQL.Value; rootIMDG.Class7CategorySpecified = imdgPos.Class7Category.HasValue; if (imdgPos.Class7Category.HasValue) rootIMDG.Class7Category = imdgPos.Class7Category.Value; rootIMDG.Class7TransportIndexSpecified = imdgPos.Class7TransportIndex.HasValue; if (imdgPos.Class7TransportIndex.HasValue) - rootIMDG.Class7TransportIndex = (float)imdgPos.Class7TransportIndex.Value; + rootIMDG.Class7TransportIndex = (decimal)imdgPos.Class7TransportIndex.Value; rootIMDG.Class7CSISpecified = imdgPos.Class7CSI.HasValue; if (imdgPos.Class7CSI.HasValue) rootIMDG.Class7CSI = imdgPos.Class7CSI.Value; rootIMDG.ControlTemperature_CELSpecified = imdgPos.ControlTemperature_CEL.HasValue; if (imdgPos.ControlTemperature_CEL.HasValue) - rootIMDG.ControlTemperature_CEL = (float)imdgPos.ControlTemperature_CEL.Value; + rootIMDG.ControlTemperature_CEL = (decimal)imdgPos.ControlTemperature_CEL.Value; rootIMDG.EmergencyTemperature_CELSpecified = imdgPos.EmergencyTemperature_CEL.HasValue; if (imdgPos.EmergencyTemperature_CEL.HasValue) - rootIMDG.EmergencyTemperature_CEL = (float)imdgPos.EmergencyTemperature_CEL.Value; + rootIMDG.EmergencyTemperature_CEL = (decimal)imdgPos.EmergencyTemperature_CEL.Value; if (imdgPos.SubsidiaryRiskList.Count > 0) { rootIMDG.SubsidiaryRisks = new string[imdgPos.SubsidiaryRiskList.Count]; @@ -998,29 +1046,29 @@ namespace bsmd.dbh rootIMDG.SubsidiaryRisks[sCount] = imdgPos.SubsidiaryRiskList[sCount].SubsidiaryRisk; } if (imdgPos.MarinePollutant.HasValue) - rootIMDG.MarinePollutant = imdgPos.MarinePollutant.Value ? RootHAZADPGOnArrivalDPGItemIMDGMarinePollutant.Y : RootHAZADPGOnArrivalDPGItemIMDGMarinePollutant.N; + rootIMDG.MarinePollutant = imdgPos.MarinePollutant.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; if (imdgPos.NumberOfPackages.HasValue) rootIMDG.NumberOfPackages = imdgPos.NumberOfPackages.Value; rootIMDG.PackageType = imdgPos.PackageType; if (imdgPos.LimitedQuantities.HasValue) - rootIMDG.LimitedQuantities = imdgPos.LimitedQuantities.Value ? RootHAZADPGOnArrivalDPGItemIMDGLimitedQuantities.Y : RootHAZADPGOnArrivalDPGItemIMDGLimitedQuantities.N; + rootIMDG.LimitedQuantities = imdgPos.LimitedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; if (imdgPos.ExceptedQuantities.HasValue) - rootIMDG.ExceptedQuantities = imdgPos.ExceptedQuantities.Value ? RootHAZADPGOnArrivalDPGItemIMDGExceptedQuantities.Y : RootHAZADPGOnArrivalDPGItemIMDGExceptedQuantities.N; + rootIMDG.ExceptedQuantities = imdgPos.ExceptedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIMDG.NetQuantity_KGMSpecified = imdgPos.NetQuantity_KGM.HasValue; if (imdgPos.NetQuantity_KGM.HasValue) - rootIMDG.NetQuantity_KGM = (float)imdgPos.NetQuantity_KGM.Value; + rootIMDG.NetQuantity_KGM = (decimal)imdgPos.NetQuantity_KGM.Value; rootIMDG.GrossQuantity_KGMSpecified = imdgPos.GrossQuantity_KGM.HasValue; if (imdgPos.GrossQuantity_KGM.HasValue) - rootIMDG.GrossQuantity_KGM = (float)imdgPos.GrossQuantity_KGM.Value; + rootIMDG.GrossQuantity_KGM = (decimal)imdgPos.GrossQuantity_KGM.Value; rootIMDG.Volume_MTQSpecified = imdgPos.Volume_MTQ.HasValue; if (imdgPos.Volume_MTQ.HasValue) - rootIMDG.Volume_MTQ = (float)imdgPos.Volume_MTQ.Value; + rootIMDG.Volume_MTQ = (decimal)imdgPos.Volume_MTQ.Value; rootIMDG.GeneralCargoIBCSpecified = imdgPos.GeneralCargoIBC.HasValue; if (imdgPos.GeneralCargoIBC.HasValue) - rootIMDG.GeneralCargoIBC = imdgPos.GeneralCargoIBC.Value ? RootHAZADPGOnArrivalDPGItemIMDGGeneralCargoIBC.Y : RootHAZADPGOnArrivalDPGItemIMDGGeneralCargoIBC.N; + rootIMDG.GeneralCargoIBC = imdgPos.GeneralCargoIBC.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIMDG.ContainerNumber = imdgPos.ContainerNumber; rootIMDG.VehicleLicenseNumber = imdgPos.VehicleLicenseNumber; - rootIMDG.StowagePosition = imdgPos.StowagePosition; + // rootIMDG.StowagePosition = imdgPos.StowagePosition; rootIMDG.PortOfLoading = imdgPos.PortOfLoading; rootIMDG.PortOfDischarge = imdgPos.PortOfDischarge; rootIMDG.Remarks = imdgPos.Remarks; @@ -1033,29 +1081,29 @@ namespace bsmd.dbh #region IBC if (haz.IBCPositions.Count > 0) { - dpgOnArrival.DPGItemIBC = new RootHAZADPGOnArrivalDPGItemIBC[haz.IBCPositions.Count]; + dpgOnArrival.DPGItemIBC = new IBCPosition[haz.IBCPositions.Count]; for (int i = 0; i < haz.IBCPositions.Count; i++) { - RootHAZADPGOnArrivalDPGItemIBC rootIBC = new RootHAZADPGOnArrivalDPGItemIBC(); - IBCPosition ibcPos = haz.IBCPositions[i]; + IBCPosition rootIBC = new IBCPosition(); + bsmd.database.IBCPosition ibcPos = haz.IBCPositions[i]; rootIBC.ProductName = ibcPos.ProductName; if (ibcPos.PollutionCategory.HasValue) - rootIBC.PollutionCategory = (RootHAZADPGOnArrivalDPGItemIBCPollutionCategory)ibcPos.PollutionCategory.Value; + rootIBC.PollutionCategory = (PollutionCategoryType)ibcPos.PollutionCategory.Value; rootIBC.HazardsSpecified = ibcPos.Hazards.HasValue; if (ibcPos.Hazards.HasValue) - rootIBC.Hazards = (RootHAZADPGOnArrivalDPGItemIBCHazards)ibcPos.Hazards.Value; + rootIBC.Hazards = (HazardType)ibcPos.Hazards.Value; if (ibcPos.FlashpointInformation.HasValue) - rootIBC.FlashpointInformation = (RootHAZADPGOnArrivalDPGItemIBCFlashpointInformation)ibcPos.FlashpointInformation.Value; + rootIBC.FlashpointInformation = (FlashpointInfoType)ibcPos.FlashpointInformation.Value; rootIBC.Flashpoint_CEL = ibcPos.Flashpoint_CEL; if (ibcPos.Quantity_KGM.HasValue) - rootIBC.Quantity_KGM = (float)ibcPos.Quantity_KGM.Value; + rootIBC.Quantity_KGM = (decimal)ibcPos.Quantity_KGM.Value; rootIBC.StowagePosition = ibcPos.StowagePosition; rootIBC.PortOfLoading = ibcPos.PortOfLoading; rootIBC.PortOfDischarge = ibcPos.PortOfDischarge; rootIBC.SpecRef15_19Specified = ibcPos.SpecRef15_19.HasValue; if (ibcPos.SpecRef15_19.HasValue) - rootIBC.SpecRef15_19 = ibcPos.SpecRef15_19.Value ? RootHAZADPGOnArrivalDPGItemIBCSpecRef15_19.Y : RootHAZADPGOnArrivalDPGItemIBCSpecRef15_19.N; + rootIBC.SpecRef15_19 = ibcPos.SpecRef15_19.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIBC.Remarks = ibcPos.Remarks; dpgOnArrival.DPGItemIBC[i] = rootIBC; @@ -1066,17 +1114,17 @@ namespace bsmd.dbh #region IGC if (haz.IGCPositions.Count > 0) { - dpgOnArrival.DPGItemIGC = new RootHAZADPGOnArrivalDPGItemIGC[haz.IGCPositions.Count]; + dpgOnArrival.DPGItemIGC = new IGCPosition[haz.IGCPositions.Count]; for (int i = 0; i < haz.IGCPositions.Count; i++) { - RootHAZADPGOnArrivalDPGItemIGC rootIGC = new RootHAZADPGOnArrivalDPGItemIGC(); - IGCPosition igcPos = haz.IGCPositions[i]; + IGCPosition rootIGC = new IGCPosition(); + bsmd.database.IGCPosition igcPos = haz.IGCPositions[i]; rootIGC.UNNumber = igcPos.UNNumber; rootIGC.IMOClass = igcPos.IMOClass; rootIGC.ProductName = igcPos.ProductName; if (igcPos.Quantity_KGM.HasValue) - rootIGC.Quantity_KGM = (float)igcPos.Quantity_KGM.Value; + rootIGC.Quantity_KGM = (decimal)igcPos.Quantity_KGM.Value; rootIGC.StowagePosition = igcPos.StowagePosition; rootIGC.PortOfLoading = igcPos.PortOfLoading; rootIGC.PortOfDischarge = igcPos.PortOfDischarge; @@ -1090,19 +1138,19 @@ namespace bsmd.dbh #region IMSBC if (haz.IMSBCPositions.Count > 0) { - dpgOnArrival.DPGItemIMSBC = new RootHAZADPGOnArrivalDPGItemIMSBC[haz.IMSBCPositions.Count]; + dpgOnArrival.DPGItemIMSBC = new IMSBCPosition[haz.IMSBCPositions.Count]; for (int i = 0; i < haz.IMSBCPositions.Count; i++) { - RootHAZADPGOnArrivalDPGItemIMSBC rootIMSBC = new RootHAZADPGOnArrivalDPGItemIMSBC(); - IMSBCPosition imsbcPos = haz.IMSBCPositions[i]; + IMSBCPosition rootIMSBC = new IMSBCPosition(); + bsmd.database.IMSBCPosition imsbcPos = haz.IMSBCPositions[i]; rootIMSBC.BulkCargoShippingName = imsbcPos.BulkCargoShippingName; if (imsbcPos.MHB.HasValue) - rootIMSBC.MHB = imsbcPos.MHB.Value ? RootHAZADPGOnArrivalDPGItemIMSBCMHB.Y : RootHAZADPGOnArrivalDPGItemIMSBCMHB.N; + rootIMSBC.MHB = imsbcPos.MHB.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIMSBC.UNNumber = imsbcPos.UNNumber; rootIMSBC.IMOClass = imsbcPos.IMOClass; if (imsbcPos.Quantity_KGM.HasValue) - rootIMSBC.Quantity_KGM = (float)imsbcPos.Quantity_KGM.Value; + rootIMSBC.Quantity_KGM = (decimal)imsbcPos.Quantity_KGM.Value; rootIMSBC.StowagePosition = imsbcPos.StowagePosition; rootIMSBC.PortOfLoading = imsbcPos.PortOfLoading; rootIMSBC.PortOfDischarge = imsbcPos.PortOfDischarge; @@ -1116,18 +1164,18 @@ namespace bsmd.dbh #region MARPOL_ANNEX_I if (haz.MARPOLPositions.Count > 0) { - dpgOnArrival.DPGItemMARPOLAnnexI = new RootHAZADPGOnArrivalDPGItemMARPOLAnnexI[haz.MARPOLPositions.Count]; + dpgOnArrival.DPGItemMARPOLAnnexI = new MARPOLPosition[haz.MARPOLPositions.Count]; for (int i = 0; i < haz.MARPOLPositions.Count; i++) { - RootHAZADPGOnArrivalDPGItemMARPOLAnnexI rootMarpol = new RootHAZADPGOnArrivalDPGItemMARPOLAnnexI(); + MARPOLPosition rootMarpol = new MARPOLPosition(); MARPOL_Annex_I_Position marpolPos = haz.MARPOLPositions[i]; rootMarpol.Name = marpolPos.Name; if (marpolPos.FlashpointInformation.HasValue) - rootMarpol.FlashpointInformation = (RootHAZADPGOnArrivalDPGItemMARPOLAnnexIFlashpointInformation)marpolPos.FlashpointInformation.Value; + rootMarpol.FlashpointInformation = (FlashpointInfoType)marpolPos.FlashpointInformation.Value; rootMarpol.Flashpoint_CEL = marpolPos.Flashpoint_CEL; if (marpolPos.Quantity_KGM.HasValue) - rootMarpol.Quantity_KGM = (float)marpolPos.Quantity_KGM.Value; + rootMarpol.Quantity_KGM = (decimal) marpolPos.Quantity_KGM.Value; rootMarpol.StowagePosition = marpolPos.StowagePosition; rootMarpol.PortOfLoading = marpolPos.PortOfLoading; rootMarpol.PortOfDischarge = marpolPos.PortOfDischarge; @@ -1181,42 +1229,42 @@ namespace bsmd.dbh #region IMDG if (haz.IMDGPositions.Count > 0) { - dpgOnDeparture.DPGItemIMDG = new RootHAZDDPGOnDepartureDPGItemIMDG[haz.IMDGPositions.Count]; + dpgOnDeparture.DPGItemIMDG = new IMDGPosition[haz.IMDGPositions.Count]; for (int i = 0; i < haz.IMDGPositions.Count; i++) { - IMDGPosition imdgPos = haz.IMDGPositions[i]; - RootHAZDDPGOnDepartureDPGItemIMDG rootIMDG = new RootHAZDDPGOnDepartureDPGItemIMDG(); + bsmd.database.IMDGPosition imdgPos = haz.IMDGPositions[i]; + IMDGPosition rootIMDG = new IMDGPosition(); rootIMDG.UNNumber = imdgPos.UNNumber; if (imdgPos.PackingGroup.HasValue) - rootIMDG.PackingGroup = (RootHAZDDPGOnDepartureDPGItemIMDGPackingGroup)imdgPos.PackingGroup.Value; + rootIMDG.PackingGroup = (PackingGroupType)imdgPos.PackingGroup.Value; rootIMDG.ProperShippingName = imdgPos.ProperShippingName; rootIMDG.IMOClass = imdgPos.IMOClass; - rootIMDG.CompatibilityGroup = imdgPos.CompatibilityGroup; + // rootIMDG.CompatibilityGroup = imdgPos.CompatibilityGroup; rootIMDG.TechnicalName = imdgPos.TechnicalName; rootIMDG.NetExplosiveMass_KGMSpecified = imdgPos.NetExplosiveMass_KGM.HasValue; if (imdgPos.NetExplosiveMass_KGM.HasValue) - rootIMDG.NetExplosiveMass_KGM = (float)imdgPos.NetExplosiveMass_KGM.Value; + rootIMDG.NetExplosiveMass_KGM = (decimal)imdgPos.NetExplosiveMass_KGM.Value; rootIMDG.Flashpoint_CEL = imdgPos.Flashpoint_CEL; rootIMDG.Class7NuclideName = imdgPos.Class7NuclideName; rootIMDG.Class7MaxActivity_BQLSpecified = imdgPos.Class7MaxActivity_BQL.HasValue; if (imdgPos.Class7MaxActivity_BQL.HasValue) - rootIMDG.Class7MaxActivity_BQL = (float)imdgPos.Class7MaxActivity_BQL.Value; + rootIMDG.Class7MaxActivity_BQL = (decimal)imdgPos.Class7MaxActivity_BQL.Value; rootIMDG.Class7CategorySpecified = imdgPos.Class7Category.HasValue; if (imdgPos.Class7Category.HasValue) rootIMDG.Class7Category = imdgPos.Class7Category.Value; rootIMDG.Class7TransportIndexSpecified = imdgPos.Class7TransportIndex.HasValue; if (imdgPos.Class7TransportIndex.HasValue) - rootIMDG.Class7TransportIndex = (float)imdgPos.Class7TransportIndex.Value; + rootIMDG.Class7TransportIndex = (decimal)imdgPos.Class7TransportIndex.Value; rootIMDG.Class7CSISpecified = imdgPos.Class7CSI.HasValue; if (imdgPos.Class7CSI.HasValue) rootIMDG.Class7CSI = imdgPos.Class7CSI.Value; rootIMDG.ControlTemperature_CELSpecified = imdgPos.ControlTemperature_CEL.HasValue; if (imdgPos.ControlTemperature_CEL.HasValue) - rootIMDG.ControlTemperature_CEL = (float)imdgPos.ControlTemperature_CEL.Value; + rootIMDG.ControlTemperature_CEL = (decimal)imdgPos.ControlTemperature_CEL.Value; rootIMDG.EmergencyTemperature_CELSpecified = imdgPos.EmergencyTemperature_CEL.HasValue; if (imdgPos.EmergencyTemperature_CEL.HasValue) - rootIMDG.EmergencyTemperature_CEL = (float)imdgPos.EmergencyTemperature_CEL.Value; + rootIMDG.EmergencyTemperature_CEL = (decimal)imdgPos.EmergencyTemperature_CEL.Value; if (imdgPos.SubsidiaryRiskList.Count > 0) { rootIMDG.SubsidiaryRisks = new string[imdgPos.SubsidiaryRiskList.Count]; @@ -1224,29 +1272,29 @@ namespace bsmd.dbh rootIMDG.SubsidiaryRisks[sCount] = imdgPos.SubsidiaryRiskList[sCount].SubsidiaryRisk; } if (imdgPos.MarinePollutant.HasValue) - rootIMDG.MarinePollutant = imdgPos.MarinePollutant.Value ? RootHAZDDPGOnDepartureDPGItemIMDGMarinePollutant.Y : RootHAZDDPGOnDepartureDPGItemIMDGMarinePollutant.N; + rootIMDG.MarinePollutant = imdgPos.MarinePollutant.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; if (imdgPos.NumberOfPackages.HasValue) rootIMDG.NumberOfPackages = imdgPos.NumberOfPackages.Value; rootIMDG.PackageType = imdgPos.PackageType; if (imdgPos.LimitedQuantities.HasValue) - rootIMDG.LimitedQuantities = imdgPos.LimitedQuantities.Value ? RootHAZDDPGOnDepartureDPGItemIMDGLimitedQuantities.Y : RootHAZDDPGOnDepartureDPGItemIMDGLimitedQuantities.N; + rootIMDG.LimitedQuantities = imdgPos.LimitedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; if (imdgPos.ExceptedQuantities.HasValue) - rootIMDG.ExceptedQuantities = imdgPos.ExceptedQuantities.Value ? RootHAZDDPGOnDepartureDPGItemIMDGExceptedQuantities.Y : RootHAZDDPGOnDepartureDPGItemIMDGExceptedQuantities.N; + rootIMDG.ExceptedQuantities = imdgPos.ExceptedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIMDG.NetQuantity_KGMSpecified = imdgPos.NetQuantity_KGM.HasValue; if (imdgPos.NetQuantity_KGM.HasValue) - rootIMDG.NetQuantity_KGM = (float)imdgPos.NetQuantity_KGM.Value; + rootIMDG.NetQuantity_KGM = (decimal)imdgPos.NetQuantity_KGM.Value; rootIMDG.GrossQuantity_KGMSpecified = imdgPos.GrossQuantity_KGM.HasValue; if (imdgPos.GrossQuantity_KGM.HasValue) - rootIMDG.GrossQuantity_KGM = (float)imdgPos.GrossQuantity_KGM.Value; + rootIMDG.GrossQuantity_KGM = (decimal)imdgPos.GrossQuantity_KGM.Value; rootIMDG.Volume_MTQSpecified = imdgPos.Volume_MTQ.HasValue; if (imdgPos.Volume_MTQ.HasValue) - rootIMDG.Volume_MTQ = (float)imdgPos.Volume_MTQ.Value; + rootIMDG.Volume_MTQ = (decimal)imdgPos.Volume_MTQ.Value; rootIMDG.GeneralCargoIBCSpecified = imdgPos.GeneralCargoIBC.HasValue; if (imdgPos.GeneralCargoIBC.HasValue) - rootIMDG.GeneralCargoIBC = imdgPos.GeneralCargoIBC.Value ? RootHAZDDPGOnDepartureDPGItemIMDGGeneralCargoIBC.Y : RootHAZDDPGOnDepartureDPGItemIMDGGeneralCargoIBC.N; + rootIMDG.GeneralCargoIBC = imdgPos.GeneralCargoIBC.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIMDG.ContainerNumber = imdgPos.ContainerNumber; rootIMDG.VehicleLicenseNumber = imdgPos.VehicleLicenseNumber; - rootIMDG.StowagePosition = imdgPos.StowagePosition; + //rootIMDG.StowagePosition = imdgPos.StowagePosition; rootIMDG.PortOfLoading = imdgPos.PortOfLoading; rootIMDG.PortOfDischarge = imdgPos.PortOfDischarge; rootIMDG.Remarks = imdgPos.Remarks; @@ -1259,29 +1307,29 @@ namespace bsmd.dbh #region IBC if (haz.IBCPositions.Count > 0) { - dpgOnDeparture.DPGItemIBC = new RootHAZDDPGOnDepartureDPGItemIBC[haz.IBCPositions.Count]; + dpgOnDeparture.DPGItemIBC = new IBCPosition[haz.IBCPositions.Count]; for (int i = 0; i < haz.IBCPositions.Count; i++) { - RootHAZDDPGOnDepartureDPGItemIBC rootIBC = new RootHAZDDPGOnDepartureDPGItemIBC(); - IBCPosition ibcPos = haz.IBCPositions[i]; + IBCPosition rootIBC = new IBCPosition(); + bsmd.database.IBCPosition ibcPos = haz.IBCPositions[i]; rootIBC.ProductName = ibcPos.ProductName; if (ibcPos.PollutionCategory.HasValue) - rootIBC.PollutionCategory = (RootHAZDDPGOnDepartureDPGItemIBCPollutionCategory)ibcPos.PollutionCategory.Value; + rootIBC.PollutionCategory = (PollutionCategoryType)ibcPos.PollutionCategory.Value; rootIBC.HazardsSpecified = ibcPos.Hazards.HasValue; if (ibcPos.Hazards.HasValue) - rootIBC.Hazards = (RootHAZDDPGOnDepartureDPGItemIBCHazards)ibcPos.Hazards.Value; + rootIBC.Hazards = (HazardType)ibcPos.Hazards.Value; if (ibcPos.FlashpointInformation.HasValue) - rootIBC.FlashpointInformation = (RootHAZDDPGOnDepartureDPGItemIBCFlashpointInformation)ibcPos.FlashpointInformation.Value; + rootIBC.FlashpointInformation = (FlashpointInfoType)ibcPos.FlashpointInformation.Value; rootIBC.Flashpoint_CEL = ibcPos.Flashpoint_CEL; if (ibcPos.Quantity_KGM.HasValue) - rootIBC.Quantity_KGM = (float)ibcPos.Quantity_KGM.Value; + rootIBC.Quantity_KGM = (decimal) ibcPos.Quantity_KGM.Value; rootIBC.StowagePosition = ibcPos.StowagePosition; rootIBC.PortOfLoading = ibcPos.PortOfLoading; rootIBC.PortOfDischarge = ibcPos.PortOfDischarge; rootIBC.SpecRef15_19Specified = ibcPos.SpecRef15_19.HasValue; if (ibcPos.SpecRef15_19.HasValue) - rootIBC.SpecRef15_19 = ibcPos.SpecRef15_19.Value ? RootHAZDDPGOnDepartureDPGItemIBCSpecRef15_19.Y : RootHAZDDPGOnDepartureDPGItemIBCSpecRef15_19.N; + rootIBC.SpecRef15_19 = ibcPos.SpecRef15_19.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIBC.Remarks = ibcPos.Remarks; dpgOnDeparture.DPGItemIBC[i] = rootIBC; @@ -1292,17 +1340,17 @@ namespace bsmd.dbh #region IGC if (haz.IGCPositions.Count > 0) { - dpgOnDeparture.DPGItemIGC = new RootHAZDDPGOnDepartureDPGItemIGC[haz.IGCPositions.Count]; + dpgOnDeparture.DPGItemIGC = new IGCPosition[haz.IGCPositions.Count]; for (int i = 0; i < haz.IGCPositions.Count; i++) { - RootHAZDDPGOnDepartureDPGItemIGC rootIGC = new RootHAZDDPGOnDepartureDPGItemIGC(); - IGCPosition igcPos = haz.IGCPositions[i]; + IGCPosition rootIGC = new IGCPosition(); + bsmd.database.IGCPosition igcPos = haz.IGCPositions[i]; rootIGC.UNNumber = igcPos.UNNumber; rootIGC.IMOClass = igcPos.IMOClass; rootIGC.ProductName = igcPos.ProductName; if (igcPos.Quantity_KGM.HasValue) - rootIGC.Quantity_KGM = (float)igcPos.Quantity_KGM.Value; + rootIGC.Quantity_KGM = (decimal)igcPos.Quantity_KGM.Value; rootIGC.StowagePosition = igcPos.StowagePosition; rootIGC.PortOfLoading = igcPos.PortOfLoading; rootIGC.PortOfDischarge = igcPos.PortOfDischarge; @@ -1316,19 +1364,19 @@ namespace bsmd.dbh #region IMSBC if (haz.IMSBCPositions.Count > 0) { - dpgOnDeparture.DPGItemIMSBC = new RootHAZDDPGOnDepartureDPGItemIMSBC[haz.IMSBCPositions.Count]; + dpgOnDeparture.DPGItemIMSBC = new IMSBCPosition[haz.IMSBCPositions.Count]; for (int i = 0; i < haz.IMSBCPositions.Count; i++) { - RootHAZDDPGOnDepartureDPGItemIMSBC rootIMSBC = new RootHAZDDPGOnDepartureDPGItemIMSBC(); - IMSBCPosition imsbcPos = haz.IMSBCPositions[i]; + IMSBCPosition rootIMSBC = new IMSBCPosition(); + bsmd.database.IMSBCPosition imsbcPos = haz.IMSBCPositions[i]; rootIMSBC.BulkCargoShippingName = imsbcPos.BulkCargoShippingName; if (imsbcPos.MHB.HasValue) - rootIMSBC.MHB = imsbcPos.MHB.Value ? RootHAZDDPGOnDepartureDPGItemIMSBCMHB.Y : RootHAZDDPGOnDepartureDPGItemIMSBCMHB.N; + rootIMSBC.MHB = imsbcPos.MHB.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; rootIMSBC.UNNumber = imsbcPos.UNNumber; rootIMSBC.IMOClass = imsbcPos.IMOClass; if (imsbcPos.Quantity_KGM.HasValue) - rootIMSBC.Quantity_KGM = (float)imsbcPos.Quantity_KGM.Value; + rootIMSBC.Quantity_KGM = (decimal)imsbcPos.Quantity_KGM.Value; rootIMSBC.StowagePosition = imsbcPos.StowagePosition; rootIMSBC.PortOfLoading = imsbcPos.PortOfLoading; rootIMSBC.PortOfDischarge = imsbcPos.PortOfDischarge; @@ -1342,18 +1390,18 @@ namespace bsmd.dbh #region MARPOL_ANNEX_I if (haz.MARPOLPositions.Count > 0) { - dpgOnDeparture.DPGItemMARPOLAnnexI = new RootHAZDDPGOnDepartureDPGItemMARPOLAnnexI[haz.MARPOLPositions.Count]; + dpgOnDeparture.DPGItemMARPOLAnnexI = new MARPOLPosition[haz.MARPOLPositions.Count]; for (int i = 0; i < haz.MARPOLPositions.Count; i++) { - RootHAZDDPGOnDepartureDPGItemMARPOLAnnexI rootMarpol = new RootHAZDDPGOnDepartureDPGItemMARPOLAnnexI(); + MARPOLPosition rootMarpol = new MARPOLPosition(); MARPOL_Annex_I_Position marpolPos = haz.MARPOLPositions[i]; rootMarpol.Name = marpolPos.Name; if (marpolPos.FlashpointInformation.HasValue) - rootMarpol.FlashpointInformation = (RootHAZDDPGOnDepartureDPGItemMARPOLAnnexIFlashpointInformation)marpolPos.FlashpointInformation.Value; + rootMarpol.FlashpointInformation = (FlashpointInfoType) marpolPos.FlashpointInformation.Value; rootMarpol.Flashpoint_CEL = marpolPos.Flashpoint_CEL; if (marpolPos.Quantity_KGM.HasValue) - rootMarpol.Quantity_KGM = (float)marpolPos.Quantity_KGM.Value; + rootMarpol.Quantity_KGM = (decimal)marpolPos.Quantity_KGM.Value; rootMarpol.StowagePosition = marpolPos.StowagePosition; rootMarpol.PortOfLoading = marpolPos.PortOfLoading; rootMarpol.PortOfDischarge = marpolPos.PortOfDischarge; @@ -1397,7 +1445,7 @@ namespace bsmd.dbh try { object[] items = null; - if ((rootType == RootType.CANCEL) || (rootType == RootType.DATA) || (rootType == RootType.RESET)) + if ((rootType == DBHWebReference.RootType.CANCEL) || (rootType == DBHWebReference.RootType.DATA) || (rootType == DBHWebReference.RootType.RESET)) { items = new object[1]; items[0] = item; @@ -1405,12 +1453,12 @@ namespace bsmd.dbh if (message.MessageCore.IsTransit) { item = message.MessageCore.TransitId; - itemChoiceType2 = ItemChoiceType2.TransitId; + itemChoiceType2 = DBHWebReference.ItemChoiceType2.TransitId; } else { item = message.MessageCore.VisitId; - itemChoiceType2 = ItemChoiceType2.VisitId; + itemChoiceType2 = DBHWebReference.ItemChoiceType2.VisitId; } } diff --git a/nsw/Source/bsmd.dbh/Response.cs b/nsw/Source/bsmd.dbh/Response.cs index b40f3749..a7613bfd 100644 --- a/nsw/Source/bsmd.dbh/Response.cs +++ b/nsw/Source/bsmd.dbh/Response.cs @@ -23,10 +23,10 @@ namespace bsmd.dbh public static void ProcessResponse(string VisitId, string TransitId, DateTime Timestamp, string SenderReference, response.RootType Type, List Messages, - List ReportingClassesFull, - List ReportingClassesPartial, - List RootReportingClassesError, - List ReportingClassesResetted, + List ReportingClassesFull, + List ReportingClassesPartial, + List RootReportingClassesError, + List ReportingClassesResetted, string connectionString) { @@ -73,7 +73,7 @@ namespace bsmd.dbh break; case dbh.response.RootType.CANCEL: if ((ReportingClassesFull != null) && (ReportingClassesFull.Count > 0) && - (int)ReportingClassesFull[0] == (int)aMessage.MessageNotificationClass) + (int) ReportingClassesFull[0].ReportingClass[0] == (int)aMessage.MessageNotificationClass) { aMessage.Cancel = true; aMessage.InternalStatus = Message.BSMDStatus.CONFIRMED; @@ -81,7 +81,7 @@ namespace bsmd.dbh break; case dbh.response.RootType.RESET: if ((ReportingClassesResetted != null) && (ReportingClassesResetted.Count > 0) && - (int)ReportingClassesResetted[0] == (int)aMessage.MessageNotificationClass) + (int) ReportingClassesResetted[0] .ReportingClass[0] == (int)aMessage.MessageNotificationClass) { aMessage.Reset = true; aMessage.InternalStatus = Message.BSMDStatus.CONFIRMED; @@ -89,7 +89,7 @@ namespace bsmd.dbh break; case dbh.response.RootType.DATA: if((ReportingClassesFull != null) && (ReportingClassesFull.Count > 0) && - (int)ReportingClassesFull[0] == (int)aMessage.MessageNotificationClass) + (int) ReportingClassesFull[0].ReportingClass[0] == (int)aMessage.MessageNotificationClass) { // this was successful, save status to MessageHeader aMessage.InternalStatus = Message.BSMDStatus.CONFIRMED; diff --git a/nsw/Source/bsmd.herberg.FormService/FormService.cs b/nsw/Source/bsmd.herberg.FormService/FormService.cs index f47756de..f8fcc53a 100644 --- a/nsw/Source/bsmd.herberg.FormService/FormService.cs +++ b/nsw/Source/bsmd.herberg.FormService/FormService.cs @@ -196,8 +196,7 @@ namespace bsmd.herberg.FormService } else { - this.EventLog.WriteEntry("FormService stopped: DB connection failed", EventLogEntryType.Error); - this.Stop(); + this.EventLog.WriteEntry("FormService DB connection failure", EventLogEntryType.Warning); } lock (this._timerlock) diff --git a/nsw/Source/bsmd.herberg.FormService/Util.cs b/nsw/Source/bsmd.herberg.FormService/Util.cs index ef7c8bf1..7a6c1417 100644 --- a/nsw/Source/bsmd.herberg.FormService/Util.cs +++ b/nsw/Source/bsmd.herberg.FormService/Util.cs @@ -11,6 +11,7 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; +using System.Linq; using System.Text.RegularExpressions; using log4net; @@ -54,13 +55,19 @@ namespace bsmd.herberg.FormService if (formResponse.formDatasets[i].formData[n].name.Contains("Transmission")) { _log.Info("foundit"); - } } // Daten werden nur aktualisiert, wenn die form ein anderes (=neueres) Rev. Date hat - if (aMessageCore.HerbergRevDate.HasValue && (formResponse.formDatasets[i].revisionDate == aMessageCore.HerbergRevDate.Value)) - return; + if (!aMessageCore.IMO.Equals("9000007")) + { + if (aMessageCore.HerbergRevDate.HasValue && (formResponse.formDatasets[i].revisionDate == aMessageCore.HerbergRevDate.Value)) + return; + } + else + { + _log.Debug("TEST Vessel"); + } if (aMessageCore.ReportStatus != MessageCore.ReportStatusEnum.COMPLETE) aMessageCore.ReportStatus = MessageCore.ReportStatusEnum.HE_REVISION; @@ -188,13 +195,16 @@ namespace bsmd.herberg.FormService if (vDict.ContainsKey("ContactFirstName")) aMessageCore.Customer.ContactFirstName = vDict["ContactFirstName"]; if (vDict.ContainsKey("ContactLastName")) aMessageCore.Customer.ContactLastName = vDict["ContactLastName"]; - continue; // das Zeug verhält sich wie eine Not. Class + // continue; // das Zeug verhält sich wie eine Not. Class } if (messageType.Contains(".")) // eine subliste continue; - theMessage.MessageNotificationClass = (Message.NotificationClass)Enum.Parse(typeof(Message.NotificationClass), messageType, true); + if (messageType.Equals("Agency")) + theMessage.MessageNotificationClass = Message.NotificationClass.AGNT; + else + theMessage.MessageNotificationClass = (Message.NotificationClass)Enum.Parse(typeof(Message.NotificationClass), messageType, true); theMessage.MessageCoreId = aMessageCore.Id; theMessage.MessageCore = aMessageCore; @@ -492,43 +502,93 @@ namespace bsmd.herberg.FormService Dictionary pDict = nDict[key]; if (pDict.Count > 0) { - PortOfCallLast30Days poc30 = mdh.GetSublistElementWithIdentifier(key.ToString()) as PortOfCallLast30Days; - if (poc30 == null) + if(pDict.ContainsKey("InfectedAreaDate") || pDict.ContainsKey("InfectedAreaPort")) { - poc30 = new PortOfCallLast30Days(); - poc30.Identifier = key.ToString(); - mdh.PortOfCallLast30Days.Add(poc30); - poc30.MDH = mdh; + InfectedArea infectedArea = mdh.GetInfectedAreaWithIdentifier(key.ToString()); + if (infectedArea == null) + { + infectedArea = new InfectedArea(); + infectedArea.Identifier = key.ToString(); + mdh.InfectedAreas.Add(infectedArea); + infectedArea.MDH = mdh; + } + + if (pDict.ContainsKey("InfectedAreaDate")) infectedArea.InfectedAreaDate = Extensions.TryParseDateTime(pDict["InfectedAreaDate"]); + if (pDict.ContainsKey("InfectedAreaPort")) infectedArea.InfectedAreaPort = pDict["InfectedAreaPort"]; + saveMessages.Add(infectedArea); } - if (pDict.ContainsKey("PortOfCallLast30DaysDateOfDeparture")) poc30.PortOfCallLast30DaysDateOfDeparture = Extensions.TryParseDateTime(pDict["PortOfCallLast30DaysDateOfDeparture"]); - if (pDict.ContainsKey("PortOfCallLast30DaysCrewMembersJoined")) poc30.PortOfCallLast30DaysCrewMembersJoined = pDict["PortOfCallLast30DaysCrewMembersJoined"].Equals("Y"); - if (pDict.ContainsKey("PortOfCallLast30DaysPortCode") && pDict.ContainsKey("PortOfCallLast30DaysCountryCode")) - poc30.PortOfCallLast30DaysLocode = pDict["PortOfCallLast30DaysCountryCode"] + pDict["PortOfCallLast30DaysPortCode"]; - - - - saveMessages.Add(poc30); - - // lookup / crew members (Identifier hier der Name! (vereinfachung, ich habe keine rowid)) - if (pDict.ContainsKey("PortOfCallLast30DaysCrewMemberNamesJoined")) + if(pDict.ContainsKey("SanitaryMeasuresType") || pDict.ContainsKey("SanitaryMeasuresLocation") || pDict.ContainsKey("SanitaryMeasuresDate")) { - string[] names = pDict["PortOfCallLast30DaysCrewMemberNamesJoined"].Split(','); - for (int k = 0; k < names.Length; k++) + SanitaryMeasuresDetail sdm = mdh.GetSanitaryMeasuresDetailWithIdentifier(key.ToString()); + if (sdm == null) { - string crewname = names[k].Trim(); - PortOfCallLast30DaysCrewJoinedShip poc30Crew = poc30.GetSublistElementWithIdentifier(crewname) as PortOfCallLast30DaysCrewJoinedShip; - if (poc30Crew == null) + sdm = new SanitaryMeasuresDetail(); + sdm.Identifier = key.ToString(); + mdh.SanitaryMeasuresDetails.Add(sdm); + sdm.MDH = mdh; + } + + if (pDict.ContainsKey("SanitaryMeasuresType")) sdm.SanitaryMeasuresType = pDict["SanitaryMeasuresType"]; + if (pDict.ContainsKey("SanitaryMeasuresLocation")) sdm.SanitaryMeasuresLocation = pDict["SanitaryMeasuresLocation"]; + if (pDict.ContainsKey("SanitaryMeasuresDate")) sdm.SanitaryMeasuresDate = Extensions.TryParseDateTime(pDict["SanitaryMeasuresDate"]); + saveMessages.Add(sdm); + } + + if(pDict.ContainsKey("StowawaysJoiningLocation")) + { + StowawaysJoiningLocation sjl = mdh.GetStowawaysJoiningLocationWithIdentifier(key.ToString()); + if (sjl == null) + { + sjl = new StowawaysJoiningLocation(); + sjl.Identifier = key.ToString(); + mdh.StowawaysJoiningLocations.Add(sjl); + sjl.MDH = mdh; + } + if (pDict.ContainsKey("StowawaysJoiningLocation")) sjl.StowawayJoiningLocation = pDict["StowawaysJoiningLocation"]; + saveMessages.Add(sjl); + } + + if (pDict.Keys.Where(pKey => pKey.StartsWith("PortOfCallLast30Days")).Count() > 0) + { + PortOfCallLast30Days poc30 = mdh.GetSublistElementWithIdentifier(key.ToString()) as PortOfCallLast30Days; + if (poc30 == null) + { + poc30 = new PortOfCallLast30Days(); + poc30.Identifier = key.ToString(); + mdh.PortOfCallLast30Days.Add(poc30); + poc30.MDH = mdh; + } + + if (pDict.ContainsKey("PortOfCallLast30DaysDateOfDeparture")) poc30.PortOfCallLast30DaysDateOfDeparture = Extensions.TryParseDateTime(pDict["PortOfCallLast30DaysDateOfDeparture"]); + if (pDict.ContainsKey("PortOfCallLast30DaysCrewMembersJoined")) poc30.PortOfCallLast30DaysCrewMembersJoined = pDict["PortOfCallLast30DaysCrewMembersJoined"].Equals("Y"); + if (pDict.ContainsKey("PortOfCallLast30DaysPortCode") && pDict.ContainsKey("PortOfCallLast30DaysCountryCode")) + poc30.PortOfCallLast30DaysLocode = pDict["PortOfCallLast30DaysCountryCode"] + pDict["PortOfCallLast30DaysPortCode"]; + + saveMessages.Add(poc30); + + + // lookup / crew members (Identifier hier der Name! (vereinfachung, ich habe keine rowid)) + if (pDict.ContainsKey("PortOfCallLast30DaysCrewMemberNamesJoined")) + { + string[] names = pDict["PortOfCallLast30DaysCrewMemberNamesJoined"].Split(','); + for (int k = 0; k < names.Length; k++) { - poc30Crew = new PortOfCallLast30DaysCrewJoinedShip(); - poc30Crew.Identifier = crewname; - poc30Crew.PortOfCallLast30Days = poc30; - poc30Crew.PortOfCallLast30DaysCrewJoinedShipName = crewname; - poc30.CrewJoinedShip.Add(poc30Crew); - saveMessages.Add(poc30Crew); + string crewname = names[k].Trim(); + PortOfCallLast30DaysCrewJoinedShip poc30Crew = poc30.GetSublistElementWithIdentifier(crewname) as PortOfCallLast30DaysCrewJoinedShip; + if (poc30Crew == null) + { + poc30Crew = new PortOfCallLast30DaysCrewJoinedShip(); + poc30Crew.Identifier = crewname; + poc30Crew.PortOfCallLast30Days = poc30; + poc30Crew.PortOfCallLast30DaysCrewJoinedShipName = crewname; + poc30.CrewJoinedShip.Add(poc30Crew); + saveMessages.Add(poc30Crew); + } } } } + } } } @@ -1082,10 +1142,10 @@ namespace bsmd.herberg.FormService if (((waste.WasteType ?? 0) == 9) && waste.WasteDescription.IsNullOrEmpty()) waste.WasteDescription = "-"; - if(waste.WasteDisposalPort.Length == 7) + if(!waste.WasteDisposalPort.IsNullOrEmpty() && waste.WasteDisposalPort.Length > 5) { _log.WarnFormat("WasteDisposalPort format ERROR [{0}], truncating", was.LastWasteDisposalPort); - waste.WasteDisposalPort = waste.WasteDisposalPort.Substring(2); + waste.WasteDisposalPort = waste.WasteDisposalPort.Substring(0, 5); } if (waste.WasteType.HasValue)