diff --git a/SendNSWMessageService/NSWSendService.cs b/SendNSWMessageService/NSWSendService.cs
index 6597f3ba..5a446e45 100644
--- a/SendNSWMessageService/NSWSendService.cs
+++ b/SendNSWMessageService/NSWSendService.cs
@@ -183,7 +183,7 @@ namespace SendNSWMessageService
{
case Message.NSWProvider.DBH:
- sendSucceeded = bsmd.dbh.Request.SendMessage(message);
+ sendSucceeded = bsmd.dbh.MessageController.SendMessage(core, message);
if (!sendSucceeded)
message.InternalStatus = Message.BSMDStatus.SEND_FAILED;
else
@@ -245,7 +245,7 @@ namespace SendNSWMessageService
didSendSomething = true;
break;
case Message.NSWProvider.DBH:
- coreSendSucceeded = bsmd.dbh.Request.SendCancelCore(core);
+ coreSendSucceeded = bsmd.dbh.MessageController.SendCancelCore(core);
break;
default:
_log.WarnFormat("Cancelling for HIS {0} is not supported", core.InitialHIS);
@@ -266,10 +266,11 @@ namespace SendNSWMessageService
DBManager.Instance.Save(core);
}
+
+ // external processing for HIS-Nord
bsmd.hisnord.transmitter.CallTransmitter();
-
- // ob test oder nicht ist in stat. dict gespeichert
+
bsmd.hisnord.Request.ReadResponseFiles();
bsmd.hisnord.Response.ReadAnswers();
diff --git a/bsmd.dbh/MessageController.cs b/bsmd.dbh/MessageController.cs
new file mode 100644
index 00000000..b9e01710
--- /dev/null
+++ b/bsmd.dbh/MessageController.cs
@@ -0,0 +1,75 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using log4net;
+using bsmd.database;
+
+namespace bsmd.dbh
+{
+ public static class MessageController
+ {
+ private static readonly ILog _log = LogManager.GetLogger(typeof(MessageController));
+
+ public static bool SendMessage(MessageCore core, Message message)
+ {
+ bool result = true;
+ try
+ {
+ if (message == null) return false;
+
+ if (message.ReportingParty == null)
+ {
+ _log.ErrorFormat("Reporting party not set on message {0}", message.Id);
+ return false;
+ }
+
+ if ((message.MessageNotificationClass != Message.NotificationClass.VISIT) &&
+ (message.MessageNotificationClass != Message.NotificationClass.TRANSIT) &&
+ (message.Elements.Count == 0))
+ {
+ _log.ErrorFormat("trying to send message {0} class {1} but there are no depending record elements",
+ message.Id, message.MessageNotificationClass);
+ return false;
+ }
+
+ string messageFile = RequestUtil.CreateMessageFile(core, message);
+ if (messageFile != null)
+ {
+ // move file to output directory
+
+ }
+ else
+ {
+ result = false;
+ }
+ }
+ catch (Exception ex)
+ {
+ _log.Error(ex.ToString());
+ result = false;
+ }
+ return result;
+ }
+
+ public static bool SendCancelCore(MessageCore core)
+ {
+ bool result = true;
+
+ return result;
+ }
+
+ public static void SendAndReceive()
+ {
+ // sent unsent messages in output folder
+
+ // remove files from output folder to archive folder
+
+ // receive files from remote host
+
+ // process result files
+ }
+
+ }
+}
diff --git a/bsmd.dbh/Request.cs b/bsmd.dbh/Request.cs
index 14f28bb5..587728e0 100644
--- a/bsmd.dbh/Request.cs
+++ b/bsmd.dbh/Request.cs
@@ -22,9 +22,9 @@ namespace bsmd.dbh
/// It has been superseded by a file-based approach that transmits classes via SFTP.
///
[Obsolete]
- public class Request
+ public class RequestWeb
{
- private static readonly ILog _log = LogManager.GetLogger(typeof(Request));
+ private static readonly ILog _log = LogManager.GetLogger(typeof(RequestWeb));
public static bool SendCancelCore(MessageCore core)
{
diff --git a/bsmd.dbh/Request/NSWRequest.cs b/bsmd.dbh/Request/NSWRequest.cs
new file mode 100644
index 00000000..3b562a81
--- /dev/null
+++ b/bsmd.dbh/Request/NSWRequest.cs
@@ -0,0 +1,7442 @@
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:2.0.50727.9151
+//
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
+//
+//------------------------------------------------------------------------------
+
+using System.Xml.Serialization;
+
+//
+// This source code was auto-generated by xsd, Version=2.0.50727.312.
+//
+
+namespace bsmd.dbh.Request
+{
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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;
+
+ ///
+ 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))]
+ [System.Xml.Serialization.XmlElementAttribute("WAS_RCPT", typeof(RootWAS_RCPT))]
+ public object[] Items
+ {
+ get
+ {
+ return this.itemsField;
+ }
+ set
+ {
+ this.itemsField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public enum RootVersion
+ {
+
+ ///
+ [System.Xml.Serialization.XmlEnumAttribute("7.0")]
+ Item70,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public enum RootType
+ {
+
+ ///
+ VISIT,
+
+ ///
+ TRANSIT,
+
+ ///
+ DATA,
+
+ ///
+ RESET,
+
+ ///
+ CANCEL,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootTransit
+ {
+
+ private string itemField;
+
+ private ItemChoiceType1 itemElementNameField;
+
+ private System.DateTime eTAKielCanalField;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))]
+ [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))]
+ [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
+ public string Item
+ {
+ get
+ {
+ return this.itemField;
+ }
+ set
+ {
+ this.itemField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public ItemChoiceType1 ItemElementName
+ {
+ get
+ {
+ return this.itemElementNameField;
+ }
+ set
+ {
+ this.itemElementNameField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
+ public System.DateTime ETAKielCanal
+ {
+ get
+ {
+ return this.eTAKielCanalField;
+ }
+ set
+ {
+ this.eTAKielCanalField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemChoiceType1
+ {
+
+ ///
+ ENINumber,
+
+ ///
+ IMONumber,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum FlashpointInfoType
+ {
+
+ ///
+ NF,
+
+ ///
+ GT60CEL,
+
+ ///
+ LE60CEL,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ public partial class IMSBCPosition
+ {
+
+ private string bulkCargoShippingNameField;
+
+ private IMOHazardClassType iMOHazardClassField;
+
+ private bool iMOHazardClassFieldSpecified;
+
+ 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 IMOHazardClassType IMOHazardClass
+ {
+ get
+ {
+ return this.iMOHazardClassField;
+ }
+ set
+ {
+ this.iMOHazardClassField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool IMOHazardClassSpecified
+ {
+ get
+ {
+ return this.iMOHazardClassFieldSpecified;
+ }
+ set
+ {
+ this.iMOHazardClassFieldSpecified = 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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum IMOHazardClassType
+ {
+
+ ///
+ A,
+
+ ///
+ B,
+
+ ///
+ [System.Xml.Serialization.XmlEnumAttribute("A and B")]
+ AandB,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum RootSECValidISSCOnBoard
+ {
+
+ ///
+ Y,
+
+ ///
+ N,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum PollutionCategoryType
+ {
+
+ ///
+ X,
+
+ ///
+ Y,
+
+ ///
+ Z,
+
+ ///
+ OS,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum HazardType
+ {
+
+ ///
+ P,
+
+ ///
+ S,
+
+ ///
+ [System.Xml.Serialization.XmlEnumAttribute("S/P")]
+ SP,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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 IMDGPositionClass7MaxActivity class7MaxActivityField;
+
+ 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 IMDGPositionClass7MaxActivity Class7MaxActivity
+ {
+ get
+ {
+ return this.class7MaxActivityField;
+ }
+ set
+ {
+ this.class7MaxActivityField = 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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum PackingGroupType
+ {
+
+ ///
+ I,
+
+ ///
+ II,
+
+ ///
+ III,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class IMDGPositionClass7MaxActivity
+ {
+
+ private decimal maxActivityValueField;
+
+ private ActivityUnitType maxActivityUnitField;
+
+ ///
+ public decimal MaxActivityValue
+ {
+ get
+ {
+ return this.maxActivityValueField;
+ }
+ set
+ {
+ this.maxActivityValueField = value;
+ }
+ }
+
+ ///
+ public ActivityUnitType MaxActivityUnit
+ {
+ get
+ {
+ return this.maxActivityUnitField;
+ }
+ set
+ {
+ this.maxActivityUnitField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum ActivityUnitType
+ {
+
+ ///
+ BQL,
+
+ ///
+ MBQ,
+
+ ///
+ TBQ,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemsChoiceType4
+ {
+
+ ///
+ Bay,
+
+ ///
+ Row,
+
+ ///
+ StowagePosition,
+
+ ///
+ Tier,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public enum ReportingPartyRPType
+ {
+
+ ///
+ MASTER,
+
+ ///
+ SHIPOWNER,
+
+ ///
+ CHARTERER,
+
+ ///
+ AGENT,
+
+ ///
+ PORT_AUTHORITY,
+
+ ///
+ CARRIER,
+
+ ///
+ OTHERS,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootVisit
+ {
+
+ private string itemField;
+
+ private ItemChoiceType itemElementNameField;
+
+ private string portOfCallField;
+
+ private System.DateTime eTAPortOfCallField;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))]
+ [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))]
+ [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
+ public string Item
+ {
+ get
+ {
+ return this.itemField;
+ }
+ set
+ {
+ this.itemField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public ItemChoiceType ItemElementName
+ {
+ get
+ {
+ return this.itemElementNameField;
+ }
+ set
+ {
+ this.itemElementNameField = value;
+ }
+ }
+
+ ///
+ public string PortOfCall
+ {
+ get
+ {
+ return this.portOfCallField;
+ }
+ set
+ {
+ this.portOfCallField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
+ public System.DateTime ETAPortOfCall
+ {
+ get
+ {
+ return this.eTAPortOfCallField;
+ }
+ set
+ {
+ this.eTAPortOfCallField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemChoiceType
+ {
+
+ ///
+ ENINumber,
+
+ ///
+ IMONumber,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemChoiceType2
+ {
+
+ ///
+ Transit,
+
+ ///
+ TransitId,
+
+ ///
+ Visit,
+
+ ///
+ VisitId,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootATA
+ {
+
+ private ReportingParty reportingPartyField;
+
+ private System.DateTime aTAPortOfCallField;
+
+ ///
+ public ReportingParty ReportingParty
+ {
+ get
+ {
+ return this.reportingPartyField;
+ }
+ set
+ {
+ this.reportingPartyField = value;
+ }
+ }
+
+ ///
+ public System.DateTime ATAPortOfCall
+ {
+ get
+ {
+ return this.aTAPortOfCallField;
+ }
+ set
+ {
+ this.aTAPortOfCallField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootATD
+ {
+
+ private ReportingParty reportingPartyField;
+
+ private System.DateTime aTDPortOfCallField;
+
+ ///
+ public ReportingParty ReportingParty
+ {
+ get
+ {
+ return this.reportingPartyField;
+ }
+ set
+ {
+ this.reportingPartyField = value;
+ }
+ }
+
+ ///
+ public System.DateTime ATDPortOfCall
+ {
+ get
+ {
+ return this.aTDPortOfCallField;
+ }
+ set
+ {
+ this.aTDPortOfCallField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootBPOLPortOfItinerary
+ {
+
+ private string portOfItineraryNameField;
+
+ private System.DateTime portOfItineraryETAField;
+
+ ///
+ public string PortOfItineraryName
+ {
+ get
+ {
+ return this.portOfItineraryNameField;
+ }
+ set
+ {
+ this.portOfItineraryNameField = value;
+ }
+ }
+
+ ///
+ public System.DateTime PortOfItineraryETA
+ {
+ get
+ {
+ return this.portOfItineraryETAField;
+ }
+ set
+ {
+ this.portOfItineraryETAField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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 crewMemberIdentityDocumentIssuingStateField;
+
+ private System.DateTime crewMemberIdentityDocumentExpiryDateField;
+
+ 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 CrewMemberIdentityDocumentIssuingState
+ {
+ get
+ {
+ return this.crewMemberIdentityDocumentIssuingStateField;
+ }
+ set
+ {
+ this.crewMemberIdentityDocumentIssuingStateField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
+ public System.DateTime CrewMemberIdentityDocumentExpiryDate
+ {
+ get
+ {
+ return this.crewMemberIdentityDocumentExpiryDateField;
+ }
+ set
+ {
+ this.crewMemberIdentityDocumentExpiryDateField = 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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum Gender
+ {
+
+ ///
+ NOT_KNOWN,
+
+ ///
+ MALE,
+
+ ///
+ FEMALE,
+
+ ///
+ NOT_APPLICABLE,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum IdDocType
+ {
+
+ ///
+ IDENTITY_CARD,
+
+ ///
+ PASSPORT,
+
+ ///
+ MUSTER_BOOK,
+
+ ///
+ PICTURE_ID,
+
+ ///
+ RESIDENTAL_PERMIT,
+
+ ///
+ OTHER_LEGAL_IDENTITY_DOCUMENT,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum INFClassType
+ {
+
+ ///
+ INF1,
+
+ ///
+ INF2,
+
+ ///
+ INF3,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemsChoiceType5
+ {
+
+ ///
+ DPGManifestOnBoardOnArrival,
+
+ ///
+ DPGOnArrival,
+
+ ///
+ INFShipClass,
+
+ ///
+ MOUBaltic,
+
+ ///
+ NoDPGOnBoardOnArrival,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemsChoiceType6
+ {
+
+ ///
+ DPGManifestOnBoardOnDeparture,
+
+ ///
+ DPGOnDeparture,
+
+ ///
+ INFShipClass,
+
+ ///
+ MOUBaltic,
+
+ ///
+ NoDPGOnBoardOnDeparture,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum ShippingArea
+ {
+
+ ///
+ NORTH_BALTIC_SEA,
+
+ ///
+ EUROPE,
+
+ ///
+ OVERSEAS,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public enum RootINFOFumigatedBulkCargo
+ {
+
+ ///
+ Y,
+
+ ///
+ N,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum HandlingType
+ {
+
+ ///
+ LOAD,
+
+ ///
+ DISCHARGE,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootNOA_NOD
+ {
+
+ private ReportingParty reportingPartyField;
+
+ private object[] itemsField;
+
+ private ItemsChoiceType[] itemsElementNameField;
+
+ private string lastPortField;
+
+ private System.DateTime eTDFromLastPortField;
+
+ private bool eTDFromLastPortFieldSpecified;
+
+ private string nextPortField;
+
+ private System.DateTime eTAToNextPortField;
+
+ private bool eTAToNextPortFieldSpecified;
+
+ ///
+ public ReportingParty ReportingParty
+ {
+ get
+ {
+ return this.reportingPartyField;
+ }
+ set
+ {
+ this.reportingPartyField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("CallPurpose", typeof(RootNOA_NODCallPurpose))]
+ [System.Xml.Serialization.XmlElementAttribute("ETAToKielCanal", typeof(System.DateTime))]
+ [System.Xml.Serialization.XmlElementAttribute("ETAToPortOfCall", typeof(System.DateTime))]
+ [System.Xml.Serialization.XmlElementAttribute("ETDFromKielCanal", typeof(System.DateTime))]
+ [System.Xml.Serialization.XmlElementAttribute("ETDFromPortOfCall", typeof(System.DateTime))]
+ [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
+ public object[] Items
+ {
+ get
+ {
+ return this.itemsField;
+ }
+ set
+ {
+ this.itemsField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public ItemsChoiceType[] ItemsElementName
+ {
+ get
+ {
+ return this.itemsElementNameField;
+ }
+ set
+ {
+ this.itemsElementNameField = value;
+ }
+ }
+
+ ///
+ public string LastPort
+ {
+ get
+ {
+ return this.lastPortField;
+ }
+ set
+ {
+ this.lastPortField = value;
+ }
+ }
+
+ ///
+ public System.DateTime ETDFromLastPort
+ {
+ get
+ {
+ return this.eTDFromLastPortField;
+ }
+ set
+ {
+ this.eTDFromLastPortField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool ETDFromLastPortSpecified
+ {
+ get
+ {
+ return this.eTDFromLastPortFieldSpecified;
+ }
+ set
+ {
+ this.eTDFromLastPortFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string NextPort
+ {
+ get
+ {
+ return this.nextPortField;
+ }
+ set
+ {
+ this.nextPortField = value;
+ }
+ }
+
+ ///
+ public System.DateTime ETAToNextPort
+ {
+ get
+ {
+ return this.eTAToNextPortField;
+ }
+ set
+ {
+ this.eTAToNextPortField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool ETAToNextPortSpecified
+ {
+ get
+ {
+ return this.eTAToNextPortFieldSpecified;
+ }
+ set
+ {
+ this.eTAToNextPortFieldSpecified = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemsChoiceType
+ {
+
+ ///
+ CallPurpose,
+
+ ///
+ ETAToKielCanal,
+
+ ///
+ ETAToPortOfCall,
+
+ ///
+ ETDFromKielCanal,
+
+ ///
+ ETDFromPortOfCall,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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 passengerIdentityDocumentIssuingStateField;
+
+ private System.DateTime passengerIdentityDocumentExpiryDateField;
+
+ 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 PassengerIdentityDocumentIssuingState
+ {
+ get
+ {
+ return this.passengerIdentityDocumentIssuingStateField;
+ }
+ set
+ {
+ this.passengerIdentityDocumentIssuingStateField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
+ public System.DateTime PassengerIdentityDocumentExpiryDate
+ {
+ get
+ {
+ return this.passengerIdentityDocumentExpiryDateField;
+ }
+ set
+ {
+ this.passengerIdentityDocumentExpiryDateField = 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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum HullConfiguration
+ {
+
+ ///
+ SINGLE_HULL,
+
+ ///
+ SINGLE_HULL_WITH_SBT,
+
+ ///
+ DOUBLE_HULL,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum TankCondition
+ {
+
+ ///
+ FULL,
+
+ ///
+ EMPTY,
+
+ ///
+ INERTED,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootSECKielCanalPassage
+ {
+
+ private string kielCanalPassagePlannedField;
+
+ private System.DateTime kielCanalPassagePlannedIncomingField;
+
+ private bool kielCanalPassagePlannedIncomingFieldSpecified;
+
+ private System.DateTime kielCanalPassagePlannedOutgoingField;
+
+ private bool kielCanalPassagePlannedOutgoingFieldSpecified;
+
+ ///
+ public string KielCanalPassagePlanned
+ {
+ get
+ {
+ return this.kielCanalPassagePlannedField;
+ }
+ set
+ {
+ this.kielCanalPassagePlannedField = value;
+ }
+ }
+
+ ///
+ public System.DateTime KielCanalPassagePlannedIncoming
+ {
+ get
+ {
+ return this.kielCanalPassagePlannedIncomingField;
+ }
+ set
+ {
+ this.kielCanalPassagePlannedIncomingField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool KielCanalPassagePlannedIncomingSpecified
+ {
+ get
+ {
+ return this.kielCanalPassagePlannedIncomingFieldSpecified;
+ }
+ set
+ {
+ this.kielCanalPassagePlannedIncomingFieldSpecified = value;
+ }
+ }
+
+ ///
+ public System.DateTime KielCanalPassagePlannedOutgoing
+ {
+ get
+ {
+ return this.kielCanalPassagePlannedOutgoingField;
+ }
+ set
+ {
+ this.kielCanalPassagePlannedOutgoingField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool KielCanalPassagePlannedOutgoingSpecified
+ {
+ get
+ {
+ return this.kielCanalPassagePlannedOutgoingFieldSpecified;
+ }
+ set
+ {
+ this.kielCanalPassagePlannedOutgoingFieldSpecified = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum CargoDescription
+ {
+
+ ///
+ CONTAINER,
+
+ ///
+ VEHICLES,
+
+ ///
+ CONVENTIONAL_GENERAL_CARGO,
+
+ ///
+ DRY_CARGO_IN_BULK,
+
+ ///
+ LIQUID_CARGO_IN_BULK,
+
+ ///
+ EMPTY,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum ISSCIssuerType
+ {
+
+ ///
+ ADMINISTRATION,
+
+ ///
+ RSO,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ public enum ISSCType
+ {
+
+ ///
+ FULL,
+
+ ///
+ INTERIM,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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 decimal towageOnArrivalDraught_DMTField;
+
+ private string towageOnArrivalPurposeOfCallField;
+
+ 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 decimal TowageOnArrivalDraught_DMT
+ {
+ get
+ {
+ return this.towageOnArrivalDraught_DMTField;
+ }
+ set
+ {
+ this.towageOnArrivalDraught_DMTField = value;
+ }
+ }
+
+ ///
+ public string TowageOnArrivalPurposeOfCall
+ {
+ get
+ {
+ return this.towageOnArrivalPurposeOfCallField;
+ }
+ set
+ {
+ this.towageOnArrivalPurposeOfCallField = value;
+ }
+ }
+
+ ///
+ public string TowageOnArrivalRemarks
+ {
+ get
+ {
+ return this.towageOnArrivalRemarksField;
+ }
+ set
+ {
+ this.towageOnArrivalRemarksField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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("NextWasteDisposalPort", typeof(string))]
+ [System.Xml.Serialization.XmlElementAttribute("WasteDisposalServiceProviderName", typeof(string))]
+ [System.Xml.Serialization.XmlElementAttribute("WasteDisposalValidExemption", typeof(string))]
+ [System.Xml.Serialization.XmlElementAttribute("WasteItem", typeof(RootWASWasteItem))]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootWASWasteItem
+ {
+
+ private RootWASWasteItemWasteType wasteTypeField;
+
+ private decimal wasteDisposalAmount_MTQField;
+
+ private decimal wasteCapacity_MTQField;
+
+ private decimal wasteAmountRetained_MTQField;
+
+ private decimal wasteAmountGeneratedTillNextPort_MTQField;
+
+ private string remainingWasteDeliveryPortField;
+
+ ///
+ public RootWASWasteItemWasteType 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 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 decimal WasteAmountGeneratedTillNextPort_MTQ
+ {
+ get
+ {
+ return this.wasteAmountGeneratedTillNextPort_MTQField;
+ }
+ set
+ {
+ this.wasteAmountGeneratedTillNextPort_MTQField = value;
+ }
+ }
+
+ ///
+ public string RemainingWasteDeliveryPort
+ {
+ get
+ {
+ return this.remainingWasteDeliveryPortField;
+ }
+ set
+ {
+ this.remainingWasteDeliveryPortField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootWASWasteItemWasteType
+ {
+
+ private string wasteCodeField;
+
+ private string wasteDescriptionField;
+
+ ///
+ public string 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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema = false)]
+ public enum ItemsChoiceType3
+ {
+
+ ///
+ ConfirmationOfCorrectnessAndSufficiency,
+
+ ///
+ LastWasteDisposalDate,
+
+ ///
+ LastWasteDisposalPort,
+
+ ///
+ NextWasteDisposalPort,
+
+ ///
+ WasteDisposalServiceProviderName,
+
+ ///
+ WasteDisposalValidExemption,
+
+ ///
+ WasteItem,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootWAS_RCPT
+ {
+
+ private ReportingParty reportingPartyField;
+
+ private RootWAS_RCPTWasteDeliveryReceipt[] wasteDeliveryReceiptField;
+
+ ///
+ public ReportingParty ReportingParty
+ {
+ get
+ {
+ return this.reportingPartyField;
+ }
+ set
+ {
+ this.reportingPartyField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("WasteDeliveryReceipt")]
+ public RootWAS_RCPTWasteDeliveryReceipt[] WasteDeliveryReceipt
+ {
+ get
+ {
+ return this.wasteDeliveryReceiptField;
+ }
+ set
+ {
+ this.wasteDeliveryReceiptField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootWAS_RCPTWasteDeliveryReceipt
+ {
+
+ private string identificationNumberField;
+
+ private string portReceptionFacilityNameField;
+
+ private string portReceptionFacilityProviderNameField;
+
+ private string[] treatmentFacilityProviderField;
+
+ private System.DateTime wasteDeliveryDateFromField;
+
+ private System.DateTime wasteDeliveryDateToField;
+
+ private RootWAS_RCPTWasteDeliveryReceiptWasteReceived[] wasteReceivedField;
+
+ ///
+ public string IdentificationNumber
+ {
+ get
+ {
+ return this.identificationNumberField;
+ }
+ set
+ {
+ this.identificationNumberField = value;
+ }
+ }
+
+ ///
+ public string PortReceptionFacilityName
+ {
+ get
+ {
+ return this.portReceptionFacilityNameField;
+ }
+ set
+ {
+ this.portReceptionFacilityNameField = value;
+ }
+ }
+
+ ///
+ public string PortReceptionFacilityProviderName
+ {
+ get
+ {
+ return this.portReceptionFacilityProviderNameField;
+ }
+ set
+ {
+ this.portReceptionFacilityProviderNameField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("TreatmentFacilityProviderName", IsNullable = false)]
+ public string[] TreatmentFacilityProvider
+ {
+ get
+ {
+ return this.treatmentFacilityProviderField;
+ }
+ set
+ {
+ this.treatmentFacilityProviderField = value;
+ }
+ }
+
+ ///
+ public System.DateTime WasteDeliveryDateFrom
+ {
+ get
+ {
+ return this.wasteDeliveryDateFromField;
+ }
+ set
+ {
+ this.wasteDeliveryDateFromField = value;
+ }
+ }
+
+ ///
+ public System.DateTime WasteDeliveryDateTo
+ {
+ get
+ {
+ return this.wasteDeliveryDateToField;
+ }
+ set
+ {
+ this.wasteDeliveryDateToField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("WasteReceived")]
+ public RootWAS_RCPTWasteDeliveryReceiptWasteReceived[] WasteReceived
+ {
+ get
+ {
+ return this.wasteReceivedField;
+ }
+ set
+ {
+ this.wasteReceivedField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootWAS_RCPTWasteDeliveryReceiptWasteReceived
+ {
+
+ private RootWAS_RCPTWasteDeliveryReceiptWasteReceivedWasteType wasteTypeField;
+
+ private decimal amountWasteReceived_MTQField;
+
+ ///
+ public RootWAS_RCPTWasteDeliveryReceiptWasteReceivedWasteType WasteType
+ {
+ get
+ {
+ return this.wasteTypeField;
+ }
+ set
+ {
+ this.wasteTypeField = value;
+ }
+ }
+
+ ///
+ public decimal AmountWasteReceived_MTQ
+ {
+ get
+ {
+ return this.amountWasteReceived_MTQField;
+ }
+ set
+ {
+ this.amountWasteReceived_MTQField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public partial class RootWAS_RCPTWasteDeliveryReceiptWasteReceivedWasteType
+ {
+
+ private string wasteCodeField;
+
+ private string wasteDescriptionField;
+
+ ///
+ public string WasteCode
+ {
+ get
+ {
+ return this.wasteCodeField;
+ }
+ set
+ {
+ this.wasteCodeField = value;
+ }
+ }
+
+ ///
+ public string WasteDescription
+ {
+ get
+ {
+ return this.wasteDescriptionField;
+ }
+ set
+ {
+ this.wasteDescriptionField = value;
+ }
+ }
+ }
+}
diff --git a/bsmd.dbh/RequestUtil.cs b/bsmd.dbh/RequestUtil.cs
new file mode 100644
index 00000000..8f505bb8
--- /dev/null
+++ b/bsmd.dbh/RequestUtil.cs
@@ -0,0 +1,155 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Xml.Serialization;
+using bsmd.database;
+using log4net;
+using bsmd.dbh.Request;
+
+namespace bsmd.dbh
+{
+ internal static class RequestUtil
+ {
+ private static readonly ILog _log = LogManager.GetLogger(typeof(RequestUtil));
+
+ public static string CreateMessageFile(MessageCore core, Message message)
+ {
+
+ // create output structure
+ try
+ {
+ Root root = new Root();
+ root.Version = RootVersion.Item70;
+ root.SourceDocumentVersion = "7.0";
+ root.Timestamp = DateTime.Now;
+ root.Sender = Properties.Settings.Default.Sender;
+ root.SenderReference = "N";
+ bsmd.database.ReportingParty reportingParty = DBManager.Instance.GetReportingPartyDict()[core.DefaultReportingPartyId.Value];
+ Request.ReportingParty rp = new Request.ReportingParty();
+ rp.RPCity = reportingParty.City;
+ rp.RPCountry = reportingParty.Country;
+ rp.RPEMail = reportingParty.EMail;
+ rp.RPFax = reportingParty.Fax;
+ rp.RPFirstName = reportingParty.FirstName;
+ rp.RPLastName = reportingParty.LastName;
+ rp.RPName = reportingParty.Name;
+ rp.RPPhone = reportingParty.Phone;
+ rp.RPPostalCode = reportingParty.PostalCode;
+ rp.RPStreetAndNumber = reportingParty.StreetAndNumber;
+ rp.RPTypeSpecified = reportingParty.ReportingPartyType.HasValue;
+ if (rp.RPTypeSpecified)
+ rp.RPType = (ReportingPartyRPType)reportingParty.ReportingPartyType.Value;
+ root.ReportingParty = rp;
+
+ switch (message.MessageNotificationClass)
+ {
+ case Message.NotificationClass.VISIT:
+ root.Type = RootType.VISIT;
+ RootVisit rootVisit = new RootVisit();
+ rootVisit.PortOfCall = core.PoC;
+ if (core.ETA.HasValue)
+ rootVisit.ETAPortOfCall = core.ETA.Value;
+ rootVisit.ETAPortOfCall = core.ETA.Value;
+ if(!core.IMO.IsNullOrEmpty())
+ {
+ rootVisit.ItemElementName = ItemChoiceType.IMONumber;
+ rootVisit.Item = core.IMO;
+ }
+ else
+ {
+ rootVisit.ItemElementName = ItemChoiceType.ENINumber;
+ rootVisit.Item = core.ENI;
+ }
+ root.Item = rootVisit;
+ root.ItemElementName = ItemChoiceType2.Visit;
+ break;
+
+ case Message.NotificationClass.TRANSIT:
+ root.Type = RootType.TRANSIT;
+ RootTransit rootTransit = new RootTransit();
+
+ if (!core.IMO.IsNullOrEmpty())
+ {
+ rootTransit.ItemElementName = ItemChoiceType1.IMONumber;
+ rootTransit.Item = core.IMO;
+ }
+ else
+ {
+ rootTransit.ItemElementName = ItemChoiceType1.ENINumber;
+ rootTransit.Item = core.ENI;
+ }
+ if (core.ETAKielCanal.HasValue)
+ rootTransit.ETAKielCanal = core.ETAKielCanal.Value;
+ root.Item = rootTransit;
+ root.ItemElementName = ItemChoiceType2.Transit;
+ break;
+
+ case Message.NotificationClass.STAT:
+ root.Type = RootType.DATA;
+ RootSTAT rootStat = new RootSTAT();
+ STAT stat = message.Elements[0] as STAT;
+ rootStat.ShipName = stat.ShipName;
+ rootStat.CallSign = stat.CallSign;
+ rootStat.MMSINumber = stat.MMSINumber;
+ rootStat.Flag = stat.Flag;
+ if (stat.LengthOverall_MTR.HasValue) rootStat.LengthOverall_MTR = Decimal.Round((decimal)(stat.LengthOverall_MTR.Value), 2);
+ if (stat.Beam_MTR.HasValue) rootStat.Beam_MTR = Decimal.Round((decimal)(stat.Beam_MTR.Value), 2);
+ if (stat.GrossTonnage.HasValue) rootStat.GrossTonnage = stat.GrossTonnage.Value;
+ rootStat.PortOfRegistry = stat.PortOfRegistry;
+ rootStat.ShipType = stat.ShipType;
+
+ if (!stat.InmarsatCallNumber.IsNullOrEmpty())
+ {
+ rootStat.InmarsatCallNumbers = stat.InmarsatCallNumber.Trim().Split('\n');
+ for (int i = 0; i < Math.Min(rootStat.InmarsatCallNumbers.Length, 5); i++)
+ rootStat.InmarsatCallNumbers[i] = rootStat.InmarsatCallNumbers[i].Trim();
+ }
+
+ rootStat.TransportMode = RootSTATTransportMode.Item1; // default is maritime transport!
+ if (!stat.TransportMode.IsNullOrEmpty() && stat.TransportMode.Equals("8"))
+ rootStat.TransportMode = RootSTATTransportMode.Item8;
+
+ if (!stat.ISMCompanyName.IsNullOrEmpty())
+ {
+ rootStat.ISMCompany = new RootSTATISMCompany();
+ rootStat.ISMCompany.ISMCompanyName = stat.ISMCompanyName;
+ rootStat.ISMCompany.ISMCompanyId = stat.ISMCompanyId;
+ rootStat.ISMCompany.ISMCompanyStreetAndNumber = stat.ISMCompanyStreetAndNumber;
+ rootStat.ISMCompany.ISMCompanyPostalCode = stat.ISMCompanyPostalCode;
+ rootStat.ISMCompany.ISMCompanyCity = stat.ISMCompanyCity;
+ rootStat.ISMCompany.ISMCompanyCountry = stat.ISMCompanyCountry;
+ }
+
+ root.Items = new object[1];
+ root.Items[0] = rootStat;
+ break;
+ default:
+ _log.WarnFormat("Message type {0} not (yet) supported for dbh", message.MessageNotificationClassDisplay);
+ break;
+ }
+
+ // serialize output structure to file
+
+ string filename = string.Format("BSMD_{1}-{2}-{0}.xml", (message == null) ? "CANCEL" : message.MessageNotificationClassDisplay, DateTime.Now.ToString("yyyyMMddHHmmss"), core.Id.Value);
+ _log.InfoFormat("saving {0} to output directory", filename);
+
+ string filePath = Path.Combine(Path.GetTempPath(), filename);
+ XmlSerializer serializer = new XmlSerializer(typeof(Root));
+ using (TextWriter tw = new StreamWriter(filePath))
+ {
+ serializer.Serialize(tw, root);
+ }
+
+ return filename;
+ }
+ catch(Exception ex)
+ {
+ _log.Error(ex.ToString());
+ return null;
+ }
+ }
+ }
+}
diff --git a/bsmd.dbh/Response.cs b/bsmd.dbh/Response.cs
index 419a349a..5fce359c 100644
--- a/bsmd.dbh/Response.cs
+++ b/bsmd.dbh/Response.cs
@@ -16,7 +16,7 @@ using System.Xml.Serialization;
namespace bsmd.dbh
{
- public class Response
+ public static class ResponseWeb
{
private static readonly ILog _log = LogManager.GetLogger("dbh Response");
diff --git a/bsmd.dbh/Response/NSWResponse.cs b/bsmd.dbh/Response/NSWResponse.cs
new file mode 100644
index 00000000..41e81541
--- /dev/null
+++ b/bsmd.dbh/Response/NSWResponse.cs
@@ -0,0 +1,604 @@
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:2.0.50727.9151
+//
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
+//
+//------------------------------------------------------------------------------
+
+using System.Xml.Serialization;
+
+//
+// This source code was auto-generated by xsd, Version=2.0.50727.312.
+//
+
+namespace bsmd.dbh.Response
+{
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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 bool versionFieldSpecified;
+
+ 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 RootReportingClassesNoChanges reportingClassesNoChangesField;
+
+ private RootMessage[] messagesField;
+
+ ///
+ public RootVersion Version
+ {
+ get
+ {
+ return this.versionField;
+ }
+ set
+ {
+ this.versionField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool VersionSpecified
+ {
+ get
+ {
+ return this.versionFieldSpecified;
+ }
+ set
+ {
+ this.versionFieldSpecified = 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;
+ }
+ }
+
+ ///
+ public RootReportingClassesNoChanges ReportingClassesNoChanges
+ {
+ get
+ {
+ return this.reportingClassesNoChangesField;
+ }
+ set
+ {
+ this.reportingClassesNoChangesField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("Message", IsNullable = false)]
+ public RootMessage[] Messages
+ {
+ get
+ {
+ return this.messagesField;
+ }
+ set
+ {
+ this.messagesField = value;
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public enum RootVersion
+ {
+
+ ///
+ [System.Xml.Serialization.XmlEnumAttribute("7.0")]
+ Item70,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public enum RootType
+ {
+
+ ///
+ VISIT,
+
+ ///
+ TRANSIT,
+
+ ///
+ DATA,
+
+ ///
+ RESET,
+
+ ///
+ CANCEL,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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,
+
+ ///
+ WAS_RCPT,
+
+ ///
+ CREW,
+
+ ///
+ PAS,
+
+ ///
+ BPOL,
+
+ ///
+ TOWA,
+
+ ///
+ TOWD,
+
+ ///
+ HAZA,
+
+ ///
+ HAZD,
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [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", "2.0.50727.312")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
+ public enum RootMessageType
+ {
+
+ ///
+ INFO,
+
+ ///
+ WARNING,
+
+ ///
+ VIOLATION,
+
+ ///
+ ERROR,
+
+ ///
+ XSD_ERROR,
+ }
+}
diff --git a/bsmd.dbh/ResponseUtil.cs b/bsmd.dbh/ResponseUtil.cs
new file mode 100644
index 00000000..979c5bc4
--- /dev/null
+++ b/bsmd.dbh/ResponseUtil.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace bsmd.dbh
+{
+ internal static class ResponseUtil
+ {
+ }
+}
diff --git a/bsmd.dbh/bsmd.dbh.csproj b/bsmd.dbh/bsmd.dbh.csproj
index 823a48a2..18b6b03a 100644
--- a/bsmd.dbh/bsmd.dbh.csproj
+++ b/bsmd.dbh/bsmd.dbh.csproj
@@ -66,14 +66,17 @@
Properties\AssemblyProjectKeyInfo.cs
+
True
True
Settings.settings
-
-
+
+
+
+
True
True
@@ -125,10 +128,7 @@
-
-
-
-
+