diff --git a/Stundensheet.xlsx b/Stundensheet.xlsx index 5e40a730..cb0afd2d 100644 Binary files a/Stundensheet.xlsx and b/Stundensheet.xlsx differ diff --git a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs index 4a684641..d7496e4d 100644 --- a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs +++ b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs @@ -2,6 +2,6 @@ [assembly: AssemblyCompany("schick Informatik")] [assembly: AssemblyProduct("BSMD NSW interface")] -[assembly: AssemblyInformationalVersion("5.7.0")] +[assembly: AssemblyInformationalVersion("5.8.0")] [assembly: AssemblyCopyright("Copyright © 2014-2019 schick Informatik")] [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 146ce6e9..250587e3 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("5.7.0.*")] +[assembly: AssemblyVersion("5.8.0.*")] diff --git a/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs b/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs index 2c3801a7..b1fae2f7 100644 --- a/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs +++ b/nsw/Source/bsmd.dbh.ResponseService/IResponseService.cs @@ -20,6 +20,7 @@ namespace bsmd.dbh.ResponseService bsmd.dbh.response.RootReportingClassesPartial ReportingClassesPartial, bsmd.dbh.response.RootReportingClassesError RootReportingClassesError, bsmd.dbh.response.RootReportingClassesResetted ReportingClassesResetted, + bsmd.dbh.response.RootReportingClassesNoChanges ReportingClassesNoChanges, bsmd.dbh.response.Message[] Messages); } diff --git a/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs b/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs index 81036dd4..3607578f 100644 --- a/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs +++ b/nsw/Source/bsmd.dbh.ResponseService/ResponseService.svc.cs @@ -18,6 +18,7 @@ namespace bsmd.dbh.ResponseService bsmd.dbh.response.RootReportingClassesPartial ReportingClassesPartial, bsmd.dbh.response.RootReportingClassesError RootReportingClassesError, bsmd.dbh.response.RootReportingClassesResetted ReportingClassesResetted, + bsmd.dbh.response.RootReportingClassesNoChanges ReportingClassesNoChanges, bsmd.dbh.response.Message[] Messages) { @@ -75,8 +76,9 @@ namespace bsmd.dbh.ResponseService } _log.DebugFormat("processing {0}..", MessageId ?? "?"); + Response.ProcessResponse(VisitId, TransitId, Timestamp, SenderReference, Type, Messages, - ReportingClassesFull, ReportingClassesPartial, RootReportingClassesError, ReportingClassesResetted, + ReportingClassesFull, ReportingClassesPartial, RootReportingClassesError, ReportingClassesResetted, ReportingClassesNoChanges, Properties.Settings.Default.DBConnectionString); } diff --git a/nsw/Source/bsmd.dbh/NSWResponse.cs b/nsw/Source/bsmd.dbh/NSWResponse.cs index 2726f23f..f9ffad86 100644 --- a/nsw/Source/bsmd.dbh/NSWResponse.cs +++ b/nsw/Source/bsmd.dbh/NSWResponse.cs @@ -11,14 +11,14 @@ using System.Xml.Serialization; // -// Dieser Quellcode wurde automatisch generiert von xsd, Version=4.6.1055.0. +// Dieser Quellcode wurde automatisch generiert von xsd, Version=4.7.3081.0. // namespace bsmd.dbh.response { /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -51,6 +51,8 @@ namespace bsmd.dbh.response private RootReportingClassesResetted reportingClassesResettedField; + private RootReportingClassesNoChanges reportingClassesNoChangesField; + private Message[] messagesField; /// @@ -210,6 +212,19 @@ namespace bsmd.dbh.response } } + /// + public RootReportingClassesNoChanges ReportingClassesNoChanges + { + get + { + return this.reportingClassesNoChangesField; + } + set + { + this.reportingClassesNoChangesField = value; + } + } + /// [System.Xml.Serialization.XmlArrayItemAttribute("Message", IsNullable = false)] public Message[] Messages @@ -226,7 +241,7 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] public enum RootType @@ -249,7 +264,7 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -275,7 +290,7 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] public enum ReportingClassCode { @@ -360,7 +375,7 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -386,7 +401,7 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -412,7 +427,7 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -438,7 +453,33 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] + public partial class RootReportingClassesNoChanges + { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass + { + get + { + return this.reportingClassField; + } + set + { + this.reportingClassField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -508,7 +549,7 @@ namespace bsmd.dbh.response } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.7.3081.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] public enum RootMessageType @@ -526,4 +567,5 @@ namespace bsmd.dbh.response /// ERROR, } + } \ No newline at end of file diff --git a/nsw/Source/bsmd.dbh/Response.cs b/nsw/Source/bsmd.dbh/Response.cs index 6f77cbf8..419a349a 100644 --- a/nsw/Source/bsmd.dbh/Response.cs +++ b/nsw/Source/bsmd.dbh/Response.cs @@ -19,7 +19,7 @@ namespace bsmd.dbh public class Response { - private static ILog _log = LogManager.GetLogger("dbh Response"); + private static readonly ILog _log = LogManager.GetLogger("dbh Response"); public static void ProcessResponse(string VisitId, string TransitId, DateTime Timestamp, string SenderReference, response.RootType Type, bsmd.dbh.response.Message[] Messages, @@ -27,6 +27,7 @@ namespace bsmd.dbh bsmd.dbh.response.RootReportingClassesPartial ReportingClassesPartial, bsmd.dbh.response.RootReportingClassesError ReportingClassesError, bsmd.dbh.response.RootReportingClassesResetted ReportingClassesResetted, + bsmd.dbh.response.RootReportingClassesNoChanges ReportingClassesNoChanges, string connectionString) { @@ -43,9 +44,8 @@ namespace bsmd.dbh if (DBManager.Instance.Connect(connectionString)) { - _log.Debug("Start PROCESS"); - Guid messageId; - if (!Guid.TryParseExact(SenderReference, "N", out messageId)) + _log.DebugFormat("Start PROCESS, Timestamp: {0}", Timestamp); + if (!Guid.TryParseExact(SenderReference, "N", out Guid messageId)) { _log.WarnFormat("SenderReference {0} is not a guid, skipping message processing!", SenderReference); return; @@ -61,11 +61,10 @@ namespace bsmd.dbh DBManager.Instance.Delete(existingError); } - MessageCore aCore = null; if (dbEntity == null) { - aCore = DBManager.Instance.GetMessageCoreById(messageId); - if((aCore != null) && (Type == response.RootType.CANCEL)) + MessageCore aCore = DBManager.Instance.GetMessageCoreById(messageId); + if ((aCore != null) && (Type == response.RootType.CANCEL)) { _log.InfoFormat("Cancel confirmation received for {0} ({1})", aCore.Id, aCore.DisplayId); aCore.BSMDStatusInternal = MessageCore.BSMDStatus.RESPONDED; @@ -121,7 +120,7 @@ namespace bsmd.dbh //} break; case dbh.response.RootType.DATA: - if((ReportingClassesFull != null) && (ReportingClassesFull.ReportingClass.Length > 0)) + if(ReportingClassesFull?.ReportingClass.Length > 0) { // this was successful, save status to MessageHeader aMessage.SendSuccess = true; @@ -129,7 +128,7 @@ namespace bsmd.dbh aMessage.Status = Message.MessageStatus.ACCEPTED; _log.InfoFormat("full message class accepted"); } - if ((ReportingClassesPartial != null) && (ReportingClassesPartial.ReportingClass.Length > 0)) + if (ReportingClassesPartial?.ReportingClass.Length > 0) { // this was successful, save status to MessageHeader aMessage.SendSuccess = true; @@ -137,7 +136,7 @@ namespace bsmd.dbh aMessage.Status = Message.MessageStatus.ACCEPTED; _log.InfoFormat("partial message class accepted"); } - if ((ReportingClassesError != null) && (ReportingClassesError.ReportingClass.Length > 0)) + if (ReportingClassesError?.ReportingClass.Length > 0) { // this was successful, save status to MessageHeader aMessage.SendSuccess = true; @@ -145,6 +144,27 @@ namespace bsmd.dbh aMessage.Status = Message.MessageStatus.ACCEPTED; _log.InfoFormat("message class accepted but error"); } + if(ReportingClassesNoChanges?.ReportingClass.Length > 0) + { + // this was successful, yet unnecessary ;-) + aMessage.SendSuccess = true; + aMessage.InternalStatus = Message.BSMDStatus.CONFIRMED; + aMessage.Status = Message.MessageStatus.ACCEPTED; + _log.InfoFormat("message accepted, data was unchanged"); + } + + bool isReset = false; + if(ReportingClassesResetted?.ReportingClass.Length > 0) + { + aMessage.SendSuccess = false; + aMessage.InternalStatus = Message.BSMDStatus.CONFIRMED; + aMessage.Status = Message.MessageStatus.ACCEPTED; + isReset = true; + _log.InfoFormat("RESET successful for message"); + } + + if (isReset && !aMessage.Reset) + aMessage.Reset = isReset; // check the whole thing for completion MessageCore core = DBManager.Instance.GetMessageCoreById(aMessage.MessageCoreId.Value); @@ -180,8 +200,7 @@ namespace bsmd.dbh Messages[i].Type, Messages[i].Text ?? "null"); - int code = 0; - bool hasCode = Int32.TryParse(Messages[i].ID, out code); + bool hasCode = Int32.TryParse(Messages[i].ID, out int code); switch (Messages[i].Type) { diff --git a/nsw/Source/bsmd.hisnord/Request.cs b/nsw/Source/bsmd.hisnord/Request.cs index 7d818316..214241a4 100644 --- a/nsw/Source/bsmd.hisnord/Request.cs +++ b/nsw/Source/bsmd.hisnord/Request.cs @@ -78,8 +78,7 @@ namespace bsmd.hisnord public static bool? CreateSendFile(MessageCore core, Message message, bool useTest) { - bool? retval = null; - + bool? retval; try { nsw _nsw = new nsw(); @@ -1581,7 +1580,6 @@ namespace bsmd.hisnord #endregion - #region serialize and save message diff --git a/nsw/Source/bsmd.hisnord/Response.cs b/nsw/Source/bsmd.hisnord/Response.cs index 512160c3..000895d8 100644 --- a/nsw/Source/bsmd.hisnord/Response.cs +++ b/nsw/Source/bsmd.hisnord/Response.cs @@ -13,8 +13,7 @@ namespace bsmd.hisnord public static class Response { - private static ILog _log = LogManager.GetLogger(typeof(Response)); - + private static readonly ILog _log = LogManager.GetLogger(typeof(Response)); public static void ReadAnswers(bool useTest) { @@ -37,16 +36,14 @@ namespace bsmd.hisnord } else { - int prozessStatus; - if (!Int32.TryParse(fileNameElems[fileNameElems.Length - 1], out prozessStatus)) + if (!Int32.TryParse(fileNameElems[fileNameElems.Length - 1], out int prozessStatus)) { _log.WarnFormat("ANSWER file {0}.xml has no process status at the end (2..6)", bareFileName); isOK = false; } else { - long timestampMilliSecs; - if (!Int64.TryParse(fileNameElems[fileNameElems.Length - 2], out timestampMilliSecs)) + if (!Int64.TryParse(fileNameElems[fileNameElems.Length - 2], out long timestampMilliSecs)) { _log.WarnFormat("ANSWER file {0}.xml has no readable timestamp", bareFileName); isOK = false; @@ -74,15 +71,14 @@ namespace bsmd.hisnord if (xml.Name == "SystemError") { // Fehlernachricht - SystemError systemError = SystemError.createFromXml(xml); + SystemError systemError = SystemError.createFromXml(xml); if (systemError != null) - { + { MessageCore aCore = DBManager.Instance.GetMessageCoreById(systemError.MessageCoreId); if (aCore != null) { - Message.NotificationClass notificationClass; - if (Enum.TryParse(systemError.Meldetype, out notificationClass)) + if (Enum.TryParse(systemError.Meldetype, out Message.NotificationClass notificationClass)) { Message refMessage = DBManager.Instance.GetMessage(aCore, notificationClass); if (refMessage != null) @@ -118,7 +114,7 @@ namespace bsmd.hisnord _log.WarnFormat("SystemError received for unknown core {0}: {1}", systemError.MessageCoreId, systemError.ErrorMessage); } // trotzdem immer speichern - DBManager.Instance.Save(systemError); + DBManager.Instance.Save(systemError); } } else @@ -127,7 +123,7 @@ namespace bsmd.hisnord NSWResponse nswResponse = new NSWResponse(xml); // Rückmeldung auswerten - + if (nswResponse.MessageCoreId.HasValue) { MessageCore core = DBManager.Instance.GetMessageCoreById(nswResponse.MessageCoreId.Value); @@ -135,7 +131,7 @@ namespace bsmd.hisnord { List messages = DBManager.Instance.GetMessagesForCore(core, DBManager.MessageLoad.ALL); - if(nswResponse.NotificationClass == Message.NotificationClass.VISIT) + if (nswResponse.NotificationClass == Message.NotificationClass.VISIT) { if ((nswResponse.Status == "ACCEPTED") && !nswResponse.VisitId.IsNullOrEmpty()) { @@ -144,7 +140,7 @@ namespace bsmd.hisnord } } - if(nswResponse.NotificationClass == Message.NotificationClass.TRANSIT) + if (nswResponse.NotificationClass == Message.NotificationClass.TRANSIT) { if ((nswResponse.Status == "ACCEPTED") && !nswResponse.TransitId.IsNullOrEmpty()) { @@ -153,41 +149,41 @@ namespace bsmd.hisnord } } - if(nswResponse.NotificationClass == Message.NotificationClass.STO) + if (nswResponse.NotificationClass == Message.NotificationClass.STO) { - _log.InfoFormat("NSWRESPONSE Cancel Visit/Transit Reply: {0} Cancel? {1}", + _log.InfoFormat("NSWRESPONSE Cancel Visit/Transit Reply: {0} Cancel? {1}", nswResponse.Status, (core.Cancelled ?? false) ? "YES" : "NO" ); - if((nswResponse.Status == "ACCEPTED") && ((core.Cancelled ?? false) == true)) + if ((nswResponse.Status == "ACCEPTED") && (core.Cancelled ?? false)) { core.BSMDStatusInternal = MessageCore.BSMDStatus.RESPONDED; _log.InfoFormat("Core cancel confirmed for {0}", core.DisplayId); } - if ((nswResponse.Status == "REJECTED") && ((core.Cancelled ?? false) == true)) + if ((nswResponse.Status == "REJECTED") && (core.Cancelled ?? false)) { core.Cancelled = false; // CANCEL fehlgeschlagen - core.BSMDStatusInternal = MessageCore.BSMDStatus.FAILURE; + core.BSMDStatusInternal = MessageCore.BSMDStatus.FAILURE; _log.InfoFormat("Cancel rejected for {0}", core.DisplayId); } - - } + + } bool aMessageStillInSENTstate = false; // now find the message that was meant.. foreach (Message aMessage in messages) { if (aMessage.MessageNotificationClass == nswResponse.NotificationClass) - { + { if (nswResponse.Status != null) { aMessage.ReceivedAt = nswResponse.ReceiveAt; - bool isAccepted = (nswResponse.Status == "ACCEPTED"); + bool isAccepted = (nswResponse.Status == "ACCEPTED"); - if(isAccepted) + if (isAccepted) { aMessage.SendSuccess = true; aMessage.Status = Message.MessageStatus.ACCEPTED; @@ -196,7 +192,7 @@ namespace bsmd.hisnord { aMessage.InternalStatus = Message.BSMDStatus.VIOLATION; aMessage.StatusInfo = "Violations reported"; - } + } } else { @@ -244,12 +240,12 @@ namespace bsmd.hisnord messageError.MessageHeader = aMessage; DBManager.Instance.Save(messageError); } - - _log.InfoFormat("Saving Message {0} Status {1} InternalStatus {2}", + + _log.InfoFormat("Saving Message {0} Status {1} InternalStatus {2}", aMessage.Id, aMessage.Status, aMessage.InternalStatus); DBManager.Instance.Save(aMessage); - + #endregion } @@ -259,7 +255,7 @@ namespace bsmd.hisnord } - if(!aMessageStillInSENTstate && !(core.Cancelled ?? false)) + if (!aMessageStillInSENTstate && !(core.Cancelled ?? false)) core.BSMDStatusInternal = MessageCore.BSMDStatus.RESPONDED; DBManager.Instance.Save(core); @@ -267,16 +263,16 @@ namespace bsmd.hisnord else { _log.ErrorFormat("cannot find core for id {0}", nswResponse.MessageCoreId); - } + } } else { _log.ErrorFormat("received response without suitable conveyance code, request id {0}", nswResponse.ClientRequestId); isOK = false; } - } + } } - catch(Exception ex) + catch (Exception ex) { _log.WarnFormat("Exception deserializing ANSWER file: {0}", ex.ToString()); isOK = false; diff --git a/nsw/dbh/NSWRequest.cs b/nsw/dbh/NSWRequest.cs new file mode 100644 index 00000000..20c5a928 --- /dev/null +++ b/nsw/dbh/NSWRequest.cs @@ -0,0 +1,5882 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using System.Xml.Serialization; + +// +// Dieser Quellcode wurde automatisch generiert von xsd, Version=4.6.1055.0. +// + + +/// +[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 RootVersion versionField; + + private string sourceDocumentVersionField; + + 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 RootVersion Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + + /// + public string SourceDocumentVersion { + get { + return this.sourceDocumentVersionField; + } + set { + this.sourceDocumentVersionField = 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("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; + } + 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.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum RootVersion { + + /// + [System.Xml.Serialization.XmlEnumAttribute("5.0")] + Item50, +} + +/// +[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 { + + /// + 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 int cargoLACodeField; + + private bool cargoLACodeFieldSpecified; + + private string cargoCodeNSTField; + + private string cargoCodeNST_3Field; + + private int cargoNumberOfItemsField; + + private bool cargoNumberOfItemsFieldSpecified; + + private decimal cargoGrossQuantity_TNEField; + + private string cargoPortOfLoadingField; + + private string cargoPortOfDischargeField; + + /// + public HandlingType CargoHandlingType { + get { + return this.cargoHandlingTypeField; + } + set { + this.cargoHandlingTypeField = value; + } + } + + /// + public int CargoLACode { + get { + return this.cargoLACodeField; + } + set { + this.cargoLACodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CargoLACodeSpecified { + get { + return this.cargoLACodeFieldSpecified; + } + set { + this.cargoLACodeFieldSpecified = value; + } + } + + /// + public string CargoCodeNST { + get { + return this.cargoCodeNSTField; + } + set { + this.cargoCodeNSTField = value; + } + } + + /// + public string CargoCodeNST_3 { + get { + return this.cargoCodeNST_3Field; + } + set { + this.cargoCodeNST_3Field = 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; + } + } + + /// + public string CargoPortOfLoading { + get { + return this.cargoPortOfLoadingField; + } + set { + this.cargoPortOfLoadingField = value; + } + } + + /// + public string CargoPortOfDischarge { + get { + return this.cargoPortOfDischargeField; + } + set { + this.cargoPortOfDischargeField = 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 typeOfCargoField; + + 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 TypeOfCargo { + get { + return this.typeOfCargoField; + } + set { + this.typeOfCargoField = 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 RootSECKielCanalPassage kielCanalPassageField; + + private int currentShipSecurityLevelField; + + private object[] itemsField; + + private ItemsChoiceType1[] itemsElementNameField; + + /// + public ReportingParty ReportingParty { + get { + return this.reportingPartyField; + } + set { + this.reportingPartyField = value; + } + } + + /// + public RootSECKielCanalPassage KielCanalPassage { + get { + return this.kielCanalPassageField; + } + set { + this.kielCanalPassageField = 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()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class RootSECKielCanalPassage { + + private string kielCanalPassagePlannedField; + + private string kielCanalPassagePlannedIncomingField; + + private string kielCanalPassagePlannedOutgoingField; + + /// + public string KielCanalPassagePlanned { + get { + return this.kielCanalPassagePlannedField; + } + set { + this.kielCanalPassagePlannedField = value; + } + } + + /// + public string KielCanalPassagePlannedIncoming { + get { + return this.kielCanalPassagePlannedIncomingField; + } + set { + this.kielCanalPassagePlannedIncomingField = value; + } + } + + /// + public string KielCanalPassagePlannedOutgoing { + get { + return this.kielCanalPassagePlannedOutgoingField; + } + set { + this.kielCanalPassagePlannedOutgoingField = 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 portFacilityGISISCodeLoCodeField; + + 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 PortFacilityGISISCodeLoCode { + get { + return this.portFacilityGISISCodeLoCodeField; + } + set { + this.portFacilityGISISCodeLoCodeField = 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 int 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 int 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[] inmarsatCallNumbersField; + + 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; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute("InmarsatCallNumber", IsNullable=false)] + public string[] InmarsatCallNumbers { + get { + return this.inmarsatCallNumbersField; + } + set { + this.inmarsatCallNumbersField = 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("ConfirmationOfCorrectnessAndSufficiency", typeof(string))] + [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 RootWASWasteWasteType wasteTypeField; + + private decimal wasteDisposalAmount_MTQField; + + private decimal wasteDisposedAtLastPort_MTQField; + + private RootWASWasteWasteDetails wasteDetailsField; + + /// + public RootWASWasteWasteType WasteType { + get { + return this.wasteTypeField; + } + set { + this.wasteTypeField = value; + } + } + + /// + public decimal WasteDisposalAmount_MTQ { + get { + return this.wasteDisposalAmount_MTQField; + } + set { + this.wasteDisposalAmount_MTQField = value; + } + } + + /// + public decimal WasteDisposedAtLastPort_MTQ { + get { + return this.wasteDisposedAtLastPort_MTQField; + } + set { + this.wasteDisposedAtLastPort_MTQField = value; + } + } + + /// + public RootWASWasteWasteDetails WasteDetails { + get { + return this.wasteDetailsField; + } + set { + this.wasteDetailsField = 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 RootWASWasteWasteType { + + private int wasteCodeField; + + private string wasteDescriptionField; + + /// + public int WasteCode { + get { + return this.wasteCodeField; + } + set { + this.wasteCodeField = value; + } + } + + /// + public string WasteDescription { + get { + return this.wasteDescriptionField; + } + set { + this.wasteDescriptionField = 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 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 { + + /// + ConfirmationOfCorrectnessAndSufficiency, + + /// + 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/dbh/NSWResponse V5.01 2018-03-20.xsd b/nsw/dbh/NSWResponse V5.01 2018-03-20.xsd new file mode 100644 index 00000000..b5ff67bf --- /dev/null +++ b/nsw/dbh/NSWResponse V5.01 2018-03-20.xsd @@ -0,0 +1,244 @@ + + + + + + + + + Version number of schema + + + + + + + + + + + Unique message identifier. + + + + + Required when TransitId is missing and field "Type" is not "VISIT or "TRANSIT" + + + + + + + + + + + Required when VisitId is missing and field "Type" is not "VISIT or "TRANSIT" + + + + + + + + + + + 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): +- VISIT: Creates a new declaration with the application for a VisitId. It's allowed to send further data in one or more reporting classes +- TRANSIT: same with TransitId +- DATA: Only data for one or more reporting classes are included +- RESET: The data of one or more reporting classes are deleted +- CANCEL: The whole declaration is cancelled + + + + + + + + + + + + + + Reporting classes that are received with all necessary data. + + + + + + The code of a reporting class. + + + + + + + + Reporting classes that are received with some data missing (see Messages for errors/violations). + + + + + + The code of a reporting class. + + + + + + + + Reporting classes that are received with some data missing (see Messages for errors/violations). + + + + + + The code of a reporting class. + + + + + + + + Reporting classes that are resetted (due to a message with Type RESET). + + + + + + The code of a reporting class. + + + + + + + + Errors, Violations, etc. + + + + + + + + + ID (given from NSW) + + + + + + + + + + + + Type of Message (functional error, process error in report, process error in message basket, process error during status request, or violation) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nsw/dbh/NSWResponse V5.1 2018-06-28.xsd b/nsw/dbh/NSWResponse V5.1 2018-06-28.xsd new file mode 100644 index 00000000..b7361161 --- /dev/null +++ b/nsw/dbh/NSWResponse V5.1 2018-06-28.xsd @@ -0,0 +1,258 @@ + + + + + + + + + Version number of schema + + + + + + + + + + + Unique message identifier. + + + + + Required when TransitId is missing and field "Type" is not "VISIT or "TRANSIT" + + + + + + + + + + + Required when VisitId is missing and field "Type" is not "VISIT or "TRANSIT" + + + + + + + + + + + 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): +- VISIT: Creates a new declaration with the application for a VisitId. It's allowed to send further data in one or more reporting classes +- TRANSIT: same with TransitId +- DATA: Only data for one or more reporting classes are included +- RESET: The data of one or more reporting classes are deleted +- CANCEL: The whole declaration is cancelled + + + + + + + + + + + + + + Reporting classes that are received with all necessary data. + + + + + + The code of a reporting class. + + + + + + + + Reporting classes that are received with some data missing (see Messages for errors/violations). + + + + + + The code of a reporting class. + + + + + + + + Reporting classes that are received with some data missing (see Messages for errors/violations). + + + + + + The code of a reporting class. + + + + + + + + Reporting classes that are resetted (due to a message with Type RESET). + + + + + + The code of a reporting class. + + + + + + + + Reporting classes that are received with all necessary data, but not sent (again) to the NSW due to unchanged content. + + + + + + The code of a reporting class. + + + + + + + + Errors, Violations, etc. + + + + + + + + + ID (given from NSW) + + + + + + + + + + + + Type of Message (functional error, process error in report, process error in message basket, process error during status request, or violation) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nsw/dbh/NSWResponse V5_01 2018-03-20.cs b/nsw/dbh/NSWResponse V5_01 2018-03-20.cs new file mode 100644 index 00000000..2d4e4416 --- /dev/null +++ b/nsw/dbh/NSWResponse V5_01 2018-03-20.cs @@ -0,0 +1,454 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using System.Xml.Serialization; + +// +// Dieser Quellcode wurde automatisch generiert von xsd, Version=4.6.1055.0. +// + + +/// +[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 string messageIdField; + + private string visitIdField; + + private string transitIdField; + + private string[] sisNumbersField; + + private System.DateTime timestampField; + + private string senderReferenceField; + + private RootType typeField; + + private RootReportingClassesFull reportingClassesFullField; + + private RootReportingClassesPartial reportingClassesPartialField; + + private RootReportingClassesError reportingClassesErrorField; + + private RootReportingClassesResetted reportingClassesResettedField; + + private RootMessage[] messagesField; + + /// + public string Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + + /// + public string MessageId { + get { + return this.messageIdField; + } + set { + this.messageIdField = value; + } + } + + /// + public string VisitId { + get { + return this.visitIdField; + } + set { + this.visitIdField = value; + } + } + + /// + public string TransitId { + get { + return this.transitIdField; + } + set { + this.transitIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute("SisNumber", IsNullable=false)] + public string[] SisNumbers { + get { + return this.sisNumbersField; + } + set { + this.sisNumbersField = value; + } + } + + /// + public System.DateTime Timestamp { + get { + return this.timestampField; + } + set { + this.timestampField = value; + } + } + + /// + public string SenderReference { + get { + return this.senderReferenceField; + } + set { + this.senderReferenceField = value; + } + } + + /// + public RootType Type { + get { + return this.typeField; + } + set { + this.typeField = value; + } + } + + /// + public RootReportingClassesFull ReportingClassesFull { + get { + return this.reportingClassesFullField; + } + set { + this.reportingClassesFullField = value; + } + } + + /// + public RootReportingClassesPartial ReportingClassesPartial { + get { + return this.reportingClassesPartialField; + } + set { + this.reportingClassesPartialField = value; + } + } + + /// + public RootReportingClassesError ReportingClassesError { + get { + return this.reportingClassesErrorField; + } + set { + this.reportingClassesErrorField = value; + } + } + + /// + public RootReportingClassesResetted ReportingClassesResetted { + get { + return this.reportingClassesResettedField; + } + set { + this.reportingClassesResettedField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute("Message", IsNullable=false)] + public RootMessage[] Messages { + get { + return this.messagesField; + } + set { + this.messagesField = 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 RootReportingClassesFull { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum ReportingClassCode { + + /// + NOA_NOD, + + /// + ATA, + + /// + ATD, + + /// + SEC, + + /// + AGNT, + + /// + POBA, + + /// + POBD, + + /// + NAME, + + /// + TIEFA, + + /// + TIEFD, + + /// + BKRA, + + /// + BKRD, + + /// + STAT, + + /// + LADG, + + /// + INFO, + + /// + SERV, + + /// + PRE72H, + + /// + MDH, + + /// + WAS, + + /// + CREW, + + /// + PAS, + + /// + BPOL, + + /// + TOWA, + + /// + TOWD, + + /// + HAZA, + + /// + HAZD, +} + +/// +[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 RootReportingClassesPartial { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = 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 RootReportingClassesError { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = 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 RootReportingClassesResetted { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = 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 RootMessage { + + private string idField; + + private RootMessageType typeField; + + private string locationField; + + private string textField; + + /// + public string ID { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public RootMessageType Type { + get { + return this.typeField; + } + set { + this.typeField = value; + } + } + + /// + public string Location { + get { + return this.locationField; + } + set { + this.locationField = value; + } + } + + /// + public string Text { + get { + return this.textField; + } + set { + this.textField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum RootMessageType { + + /// + INFO, + + /// + WARNING, + + /// + VIOLATION, + + /// + ERROR, +} diff --git a/nsw/dbh/NSWResponse.cs b/nsw/dbh/NSWResponse.cs new file mode 100644 index 00000000..2d4e4416 --- /dev/null +++ b/nsw/dbh/NSWResponse.cs @@ -0,0 +1,454 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using System.Xml.Serialization; + +// +// Dieser Quellcode wurde automatisch generiert von xsd, Version=4.6.1055.0. +// + + +/// +[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 string messageIdField; + + private string visitIdField; + + private string transitIdField; + + private string[] sisNumbersField; + + private System.DateTime timestampField; + + private string senderReferenceField; + + private RootType typeField; + + private RootReportingClassesFull reportingClassesFullField; + + private RootReportingClassesPartial reportingClassesPartialField; + + private RootReportingClassesError reportingClassesErrorField; + + private RootReportingClassesResetted reportingClassesResettedField; + + private RootMessage[] messagesField; + + /// + public string Version { + get { + return this.versionField; + } + set { + this.versionField = value; + } + } + + /// + public string MessageId { + get { + return this.messageIdField; + } + set { + this.messageIdField = value; + } + } + + /// + public string VisitId { + get { + return this.visitIdField; + } + set { + this.visitIdField = value; + } + } + + /// + public string TransitId { + get { + return this.transitIdField; + } + set { + this.transitIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute("SisNumber", IsNullable=false)] + public string[] SisNumbers { + get { + return this.sisNumbersField; + } + set { + this.sisNumbersField = value; + } + } + + /// + public System.DateTime Timestamp { + get { + return this.timestampField; + } + set { + this.timestampField = value; + } + } + + /// + public string SenderReference { + get { + return this.senderReferenceField; + } + set { + this.senderReferenceField = value; + } + } + + /// + public RootType Type { + get { + return this.typeField; + } + set { + this.typeField = value; + } + } + + /// + public RootReportingClassesFull ReportingClassesFull { + get { + return this.reportingClassesFullField; + } + set { + this.reportingClassesFullField = value; + } + } + + /// + public RootReportingClassesPartial ReportingClassesPartial { + get { + return this.reportingClassesPartialField; + } + set { + this.reportingClassesPartialField = value; + } + } + + /// + public RootReportingClassesError ReportingClassesError { + get { + return this.reportingClassesErrorField; + } + set { + this.reportingClassesErrorField = value; + } + } + + /// + public RootReportingClassesResetted ReportingClassesResetted { + get { + return this.reportingClassesResettedField; + } + set { + this.reportingClassesResettedField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayItemAttribute("Message", IsNullable=false)] + public RootMessage[] Messages { + get { + return this.messagesField; + } + set { + this.messagesField = 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 RootReportingClassesFull { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +public enum ReportingClassCode { + + /// + NOA_NOD, + + /// + ATA, + + /// + ATD, + + /// + SEC, + + /// + AGNT, + + /// + POBA, + + /// + POBD, + + /// + NAME, + + /// + TIEFA, + + /// + TIEFD, + + /// + BKRA, + + /// + BKRD, + + /// + STAT, + + /// + LADG, + + /// + INFO, + + /// + SERV, + + /// + PRE72H, + + /// + MDH, + + /// + WAS, + + /// + CREW, + + /// + PAS, + + /// + BPOL, + + /// + TOWA, + + /// + TOWD, + + /// + HAZA, + + /// + HAZD, +} + +/// +[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 RootReportingClassesPartial { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = 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 RootReportingClassesError { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = 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 RootReportingClassesResetted { + + private ReportingClassCode[] reportingClassField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ReportingClass")] + public ReportingClassCode[] ReportingClass { + get { + return this.reportingClassField; + } + set { + this.reportingClassField = 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 RootMessage { + + private string idField; + + private RootMessageType typeField; + + private string locationField; + + private string textField; + + /// + public string ID { + get { + return this.idField; + } + set { + this.idField = value; + } + } + + /// + public RootMessageType Type { + get { + return this.typeField; + } + set { + this.typeField = value; + } + } + + /// + public string Location { + get { + return this.locationField; + } + set { + this.locationField = value; + } + } + + /// + public string Text { + get { + return this.textField; + } + set { + this.textField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum RootMessageType { + + /// + INFO, + + /// + WARNING, + + /// + VIOLATION, + + /// + ERROR, +}