diff --git a/nsw/NSW Schnittstelle Leitgrundsätze und Definitionen.pdf b/nsw/NSW Schnittstelle Leitgrundsätze und Definitionen.pdf
index 1b45ee3b..5b27ba5f 100644
Binary files a/nsw/NSW Schnittstelle Leitgrundsätze und Definitionen.pdf and b/nsw/NSW Schnittstelle Leitgrundsätze und Definitionen.pdf differ
diff --git a/nsw/Source/SQL/Update_1.0_To_1.1.sql b/nsw/Source/SQL/Update_1.0_To_1.1.sql
index f5e2d076..f6b68902 100644
--- a/nsw/Source/SQL/Update_1.0_To_1.1.sql
+++ b/nsw/Source/SQL/Update_1.0_To_1.1.sql
@@ -31,6 +31,7 @@ GO
ALTER TABLE MessageCore ADD [Created] [smalldatetime] NULL
ALTER TABLE MessageCore ADD [Changed] [smalldatetime] NULL
+ALTER TABLE [dbo].[MessageCore] ADD [InitialHIS] TINYINT NULL;
ALTER TABLE MessageHeader ADD [Created] [smalldatetime] NULL
ALTER TABLE MessageHeader ADD [Changed] [smalldatetime] NULL
diff --git a/nsw/Source/SendNSWMessageService/App.config b/nsw/Source/SendNSWMessageService/App.config
index fad249e4..9efbbd47 100644
--- a/nsw/Source/SendNSWMessageService/App.config
+++ b/nsw/Source/SendNSWMessageService/App.config
@@ -1,6 +1,36 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ replace me!
+
+
+
\ No newline at end of file
diff --git a/nsw/Source/SendNSWMessageService/NSWSendService.Designer.cs b/nsw/Source/SendNSWMessageService/NSWSendService.Designer.cs
index 095b2cd5..86d6408b 100644
--- a/nsw/Source/SendNSWMessageService/NSWSendService.Designer.cs
+++ b/nsw/Source/SendNSWMessageService/NSWSendService.Designer.cs
@@ -28,8 +28,12 @@
///
private void InitializeComponent()
{
- components = new System.ComponentModel.Container();
- this.ServiceName = "Service1";
+ //
+ // NSWSendService
+ //
+ this.CanPauseAndContinue = true;
+ this.ServiceName = "NSWSendService";
+
}
#endregion
diff --git a/nsw/Source/SendNSWMessageService/NSWSendService.cs b/nsw/Source/SendNSWMessageService/NSWSendService.cs
index e84723cf..f60f75ce 100644
--- a/nsw/Source/SendNSWMessageService/NSWSendService.cs
+++ b/nsw/Source/SendNSWMessageService/NSWSendService.cs
@@ -4,25 +4,137 @@ using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
+using System.IO;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
+using System.Timers;
+using log4net;
+
+using bsmd.database;
+using bsmd.dbh;
+
+
namespace SendNSWMessageService
{
public partial class NSWSendService : ServiceBase
{
+ private Timer _timer;
+ private object _timerlock = new object();
+ private bool processRunning = false;
+ private ILog _log = LogManager.GetLogger(typeof(NSWSendService));
+
public NSWSendService()
{
+ Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
InitializeComponent();
}
protected override void OnStart(string[] args)
{
+ this.EventLog.Source = this.ServiceName;
+ this.EventLog.Log = "Application";
+ this.EventLog.BeginInit();
+ if (!EventLog.SourceExists(this.EventLog.Source, this.EventLog.Log))
+ EventLog.CreateEventSource(this.EventLog.Source, this.EventLog.Log);
+ this.EventLog.EndInit();
+
+ this.Init(args);
+
+ this.EventLog.WriteEntry("NSW Send Service started.", EventLogEntryType.Information);
+ }
+
+ public void Init(string[] args)
+ {
+ this._timer = new Timer();
+ this._timer.Interval = 5000; // 5 sec
+ this._timer.Elapsed += _timer_Elapsed;
+ this._timer.Enabled = true;
+
+ }
+
+ void _timer_Elapsed(object sender, ElapsedEventArgs e)
+ {
+ lock (this._timerlock)
+ {
+ if (this.processRunning) return;
+ else this.processRunning = true;
+ }
+
+ if (DBManager.Instance.Connect(Properties.Settings.Default.ConnectionString))
+ {
+
+ // Datenbank auf zu sendende Objekte überprüfen und laden
+
+ // "Core"-Messages sind Erst-Anmeldungen (für VISIT/TRANSIT Id) am NSW
+ List toSendList = DBManager.Instance.GetToSendMessageCoreList();
+
+
+ foreach (MessageCore aMessageCore in toSendList)
+ {
+ string message = string.Format("Sending CORE message for {0} application to {1}",
+ aMessageCore.IsTransit ? "TRANSIT" : "VISIT", aMessageCore.InitialHIS.ToString());
+ _log.Info(message);
+
+ // switch über passendes HIS / Schnittstelle
+ switch (aMessageCore.InitialHIS)
+ {
+ case Message.NSWProvider.DBH:
+ //bsmd.dbh.Request.SendMessage()
+
+ break;
+ case Message.NSWProvider.DAKOSY:
+
+ break;
+
+ case Message.NSWProvider.DUDR:
+
+ break;
+ default:
+
+ break;
+
+
+ }
+
+ // senden
+
+ // ..
+
+
+ }
+
+ DBManager.Instance.Disconnect();
+
+ }
+ else
+ {
+ this.EventLog.WriteEntry("NSW Send Service stopped: DB connection failed", EventLogEntryType.Error);
+ this.Stop();
+ }
+
+ lock (this._timerlock)
+ {
+ this.processRunning = false;
+ }
+
+ }
+
+ protected override void OnPause()
+ {
+ this._timer.Stop();
+ }
+
+ protected override void OnContinue()
+ {
+ this._timer.Start();
}
protected override void OnStop()
{
+ this._timer.Enabled = false;
+ this.EventLog.WriteEntry("NSW Send Service stopped.", EventLogEntryType.Information);
}
}
}
diff --git a/nsw/Source/SendNSWMessageService/NSWSendService.resx b/nsw/Source/SendNSWMessageService/NSWSendService.resx
new file mode 100644
index 00000000..34987b22
--- /dev/null
+++ b/nsw/Source/SendNSWMessageService/NSWSendService.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ False
+
+
\ No newline at end of file
diff --git a/nsw/Source/SendNSWMessageService/Program.cs b/nsw/Source/SendNSWMessageService/Program.cs
index c81cf08e..4cd97fe4 100644
--- a/nsw/Source/SendNSWMessageService/Program.cs
+++ b/nsw/Source/SendNSWMessageService/Program.cs
@@ -1,9 +1,11 @@
using System;
using System.Collections.Generic;
+using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
+using log4net;
namespace SendNSWMessageService
{
@@ -13,13 +15,24 @@ namespace SendNSWMessageService
/// The main entry point for the application.
///
static void Main()
- {
+ {
ServiceBase[] ServicesToRun;
+
+ log4net.Config.XmlConfigurator.Configure();
+
ServicesToRun = new ServiceBase[]
{
new NSWSendService()
};
- ServiceBase.Run(ServicesToRun);
+ if (Debugger.IsAttached)
+ {
+ ((NSWSendService)ServicesToRun[0]).Init(null);
+ while (true) ;
+ }
+ else
+ {
+ ServiceBase.Run(ServicesToRun);
+ }
}
}
}
diff --git a/nsw/Source/SendNSWMessageService/ProjectInstaller.Designer.cs b/nsw/Source/SendNSWMessageService/ProjectInstaller.Designer.cs
new file mode 100644
index 00000000..c73e37a9
--- /dev/null
+++ b/nsw/Source/SendNSWMessageService/ProjectInstaller.Designer.cs
@@ -0,0 +1,59 @@
+namespace SendNSWMessageService
+{
+ partial class ProjectInstaller
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.nswSendServiceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
+ this.nswSendServiceInstaller = new System.ServiceProcess.ServiceInstaller();
+ //
+ // nswSendServiceProcessInstaller
+ //
+ this.nswSendServiceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
+ this.nswSendServiceProcessInstaller.Password = null;
+ this.nswSendServiceProcessInstaller.Username = null;
+ //
+ // nswSendServiceInstaller
+ //
+ this.nswSendServiceInstaller.Description = "Sending NSW requests to HIS";
+ this.nswSendServiceInstaller.DisplayName = "NSW Send Service";
+ this.nswSendServiceInstaller.ServiceName = "NSWSendService";
+ //
+ // ProjectInstaller
+ //
+ this.Installers.AddRange(new System.Configuration.Install.Installer[] {
+ this.nswSendServiceProcessInstaller,
+ this.nswSendServiceInstaller});
+
+ }
+
+ #endregion
+
+ private System.ServiceProcess.ServiceProcessInstaller nswSendServiceProcessInstaller;
+ private System.ServiceProcess.ServiceInstaller nswSendServiceInstaller;
+ }
+}
\ No newline at end of file
diff --git a/nsw/Source/SendNSWMessageService/ProjectInstaller.cs b/nsw/Source/SendNSWMessageService/ProjectInstaller.cs
new file mode 100644
index 00000000..1fd3f6cc
--- /dev/null
+++ b/nsw/Source/SendNSWMessageService/ProjectInstaller.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Configuration.Install;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace SendNSWMessageService
+{
+ [RunInstaller(true)]
+ public partial class ProjectInstaller : System.Configuration.Install.Installer
+ {
+ public ProjectInstaller()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/nsw/Source/SendNSWMessageService/ProjectInstaller.resx b/nsw/Source/SendNSWMessageService/ProjectInstaller.resx
new file mode 100644
index 00000000..4fa19e99
--- /dev/null
+++ b/nsw/Source/SendNSWMessageService/ProjectInstaller.resx
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 196, 17
+
+
+ False
+
+
\ No newline at end of file
diff --git a/nsw/Source/SendNSWMessageService/SendNSWMessageService.csproj b/nsw/Source/SendNSWMessageService/SendNSWMessageService.csproj
index 800e8fb2..fbf29867 100644
--- a/nsw/Source/SendNSWMessageService/SendNSWMessageService.csproj
+++ b/nsw/Source/SendNSWMessageService/SendNSWMessageService.csproj
@@ -32,8 +32,13 @@
4
+
+ ..\packages\log4net.2.0.3\lib\net40-full\log4net.dll
+
+
+
@@ -49,10 +54,44 @@
NSWSendService.cs
+
+ Component
+
+
+ ProjectInstaller.cs
+
+
+ True
+ True
+ Settings.settings
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+ NSWSendService.cs
+
+
+ ProjectInstaller.cs
+
+
+
+
+ {19945af2-379b-46a5-b27a-303b5ec1d557}
+ bsmd.database
+
+
+ {df625ff0-2265-4686-9cb6-2a8511cb3b9d}
+ bsmd.dbh
+
+
\ No newline at end of file
diff --git a/nsw/Source/bsmd.dakosy/eDeclaration.cs b/nsw/Source/bsmd.dakosy/eDeclaration.cs
new file mode 100644
index 00000000..3df4e161
--- /dev/null
+++ b/nsw/Source/bsmd.dakosy/eDeclaration.cs
@@ -0,0 +1,5444 @@
+//------------------------------------------------------------------------------
+//
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.34209
+//
+// Ä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=4.0.30319.1.
+//
+
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+[System.Xml.Serialization.XmlRootAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages", IsNullable=false)]
+public partial class eDeclarationMessage {
+
+ private InterchangeHeaderType interchangeHeaderField;
+
+ private InterchangeBody interchangeBodyField;
+
+ private string versionField;
+
+ ///
+ public InterchangeHeaderType InterchangeHeader {
+ get {
+ return this.interchangeHeaderField;
+ }
+ set {
+ this.interchangeHeaderField = value;
+ }
+ }
+
+ ///
+ public InterchangeBody InterchangeBody {
+ get {
+ return this.interchangeBodyField;
+ }
+ set {
+ this.interchangeBodyField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public string Version {
+ get {
+ return this.versionField;
+ }
+ set {
+ this.versionField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class InterchangeHeaderType {
+
+ private System.DateTime creationTimeField;
+
+ private string exchangeNumberField;
+
+ private bool testIndicatorField;
+
+ private Participant senderField;
+
+ private Participant recipientField;
+
+ private string versionField;
+
+ ///
+ public System.DateTime CreationTime {
+ get {
+ return this.creationTimeField;
+ }
+ set {
+ this.creationTimeField = value;
+ }
+ }
+
+ ///
+ public string ExchangeNumber {
+ get {
+ return this.exchangeNumberField;
+ }
+ set {
+ this.exchangeNumberField = value;
+ }
+ }
+
+ ///
+ public bool TestIndicator {
+ get {
+ return this.testIndicatorField;
+ }
+ set {
+ this.testIndicatorField = value;
+ }
+ }
+
+ ///
+ public Participant Sender {
+ get {
+ return this.senderField;
+ }
+ set {
+ this.senderField = value;
+ }
+ }
+
+ ///
+ public Participant Recipient {
+ get {
+ return this.recipientField;
+ }
+ set {
+ this.recipientField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public string Version {
+ get {
+ return this.versionField;
+ }
+ set {
+ this.versionField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class Participant {
+
+ private ParticipantCode participantCodeField;
+
+ ///
+ public ParticipantCode ParticipantCode {
+ get {
+ return this.participantCodeField;
+ }
+ set {
+ this.participantCodeField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ParticipantCode {
+
+ private string agencyIDField;
+
+ private string valueField;
+
+ ///
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public string AgencyID {
+ get {
+ return this.agencyIDField;
+ }
+ set {
+ this.agencyIDField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlTextAttribute()]
+ public string Value {
+ get {
+ return this.valueField;
+ }
+ set {
+ this.valueField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ErrorInfo {
+
+ private string textField;
+
+ private string languageCodeField;
+
+ ///
+ public string Text {
+ get {
+ return this.textField;
+ }
+ set {
+ this.textField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public string LanguageCode {
+ get {
+ return this.languageCodeField;
+ }
+ set {
+ this.languageCodeField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ResponseError {
+
+ private string errorCodeField;
+
+ private string errorCodeListField;
+
+ private string errorCodeListAgencyField;
+
+ private ErrorInfo[] errorInformationsField;
+
+ ///
+ public string ErrorCode {
+ get {
+ return this.errorCodeField;
+ }
+ set {
+ this.errorCodeField = value;
+ }
+ }
+
+ ///
+ public string ErrorCodeList {
+ get {
+ return this.errorCodeListField;
+ }
+ set {
+ this.errorCodeListField = value;
+ }
+ }
+
+ ///
+ public string ErrorCodeListAgency {
+ get {
+ return this.errorCodeListAgencyField;
+ }
+ set {
+ this.errorCodeListAgencyField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public ErrorInfo[] ErrorInformations {
+ get {
+ return this.errorInformationsField;
+ }
+ set {
+ this.errorInformationsField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class WildCardFreeText {
+
+ private string keyField;
+
+ private string text1Field;
+
+ private string text2Field;
+
+ ///
+ public string Key {
+ get {
+ return this.keyField;
+ }
+ set {
+ this.keyField = value;
+ }
+ }
+
+ ///
+ public string Text1 {
+ get {
+ return this.text1Field;
+ }
+ set {
+ this.text1Field = value;
+ }
+ }
+
+ ///
+ public string Text2 {
+ get {
+ return this.text2Field;
+ }
+ set {
+ this.text2Field = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class AdditionalValue {
+
+ private string keyField;
+
+ private string valueField;
+
+ private string languageCodeField;
+
+ ///
+ public string Key {
+ get {
+ return this.keyField;
+ }
+ set {
+ this.keyField = value;
+ }
+ }
+
+ ///
+ public string Value {
+ get {
+ return this.valueField;
+ }
+ set {
+ this.valueField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public string LanguageCode {
+ get {
+ return this.languageCodeField;
+ }
+ set {
+ this.languageCodeField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class CommunicationDataType {
+
+ private string telephoneField;
+
+ private string faxField;
+
+ private string emailField;
+
+ ///
+ public string Telephone {
+ get {
+ return this.telephoneField;
+ }
+ set {
+ this.telephoneField = value;
+ }
+ }
+
+ ///
+ public string Fax {
+ get {
+ return this.faxField;
+ }
+ set {
+ this.faxField = value;
+ }
+ }
+
+ ///
+ public string Email {
+ get {
+ return this.emailField;
+ }
+ set {
+ this.emailField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class EdiResponse {
+
+ private MessageHeaderType messageHeaderField;
+
+ private EdiResponseType responseTypeField;
+
+ private EdiResponseSubType responseSubTypeField;
+
+ private string visitIDField;
+
+ private string transitIDField;
+
+ private string infoContactNameField;
+
+ private CommunicationDataType[] infoContactDataListField;
+
+ private AdditionalValue[] additionalValuesField;
+
+ private WildCardFreeText[] freeTextListField;
+
+ private string previousExchangeNumberField;
+
+ private string previousMessageNumberField;
+
+ private System.DateTime previousMessageDateField;
+
+ private bool previousMessageDateFieldSpecified;
+
+ private ResponseError[] errorsField;
+
+ ///
+ public MessageHeaderType MessageHeader {
+ get {
+ return this.messageHeaderField;
+ }
+ set {
+ this.messageHeaderField = value;
+ }
+ }
+
+ ///
+ public EdiResponseType ResponseType {
+ get {
+ return this.responseTypeField;
+ }
+ set {
+ this.responseTypeField = value;
+ }
+ }
+
+ ///
+ public EdiResponseSubType ResponseSubType {
+ get {
+ return this.responseSubTypeField;
+ }
+ set {
+ this.responseSubTypeField = value;
+ }
+ }
+
+ ///
+ public string VisitID {
+ get {
+ return this.visitIDField;
+ }
+ set {
+ this.visitIDField = value;
+ }
+ }
+
+ ///
+ public string TransitID {
+ get {
+ return this.transitIDField;
+ }
+ set {
+ this.transitIDField = value;
+ }
+ }
+
+ ///
+ public string InfoContactName {
+ get {
+ return this.infoContactNameField;
+ }
+ set {
+ this.infoContactNameField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("ContactData", IsNullable=false)]
+ public CommunicationDataType[] InfoContactDataList {
+ get {
+ return this.infoContactDataListField;
+ }
+ set {
+ this.infoContactDataListField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public AdditionalValue[] AdditionalValues {
+ get {
+ return this.additionalValuesField;
+ }
+ set {
+ this.additionalValuesField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("FreeText", IsNullable=false)]
+ public WildCardFreeText[] FreeTextList {
+ get {
+ return this.freeTextListField;
+ }
+ set {
+ this.freeTextListField = value;
+ }
+ }
+
+ ///
+ public string PreviousExchangeNumber {
+ get {
+ return this.previousExchangeNumberField;
+ }
+ set {
+ this.previousExchangeNumberField = value;
+ }
+ }
+
+ ///
+ public string PreviousMessageNumber {
+ get {
+ return this.previousMessageNumberField;
+ }
+ set {
+ this.previousMessageNumberField = value;
+ }
+ }
+
+ ///
+ public System.DateTime PreviousMessageDate {
+ get {
+ return this.previousMessageDateField;
+ }
+ set {
+ this.previousMessageDateField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool PreviousMessageDateSpecified {
+ get {
+ return this.previousMessageDateFieldSpecified;
+ }
+ set {
+ this.previousMessageDateFieldSpecified = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("Error", IsNullable=false)]
+ public ResponseError[] Errors {
+ get {
+ return this.errorsField;
+ }
+ set {
+ this.errorsField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class MessageHeaderType {
+
+ private System.DateTime creationTimeField;
+
+ private bool creationTimeFieldSpecified;
+
+ private string messageReferenceNumberField;
+
+ private Participant messageSenderField;
+
+ private Participant messageRecipientField;
+
+ ///
+ public System.DateTime CreationTime {
+ get {
+ return this.creationTimeField;
+ }
+ set {
+ this.creationTimeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool CreationTimeSpecified {
+ get {
+ return this.creationTimeFieldSpecified;
+ }
+ set {
+ this.creationTimeFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string MessageReferenceNumber {
+ get {
+ return this.messageReferenceNumberField;
+ }
+ set {
+ this.messageReferenceNumberField = value;
+ }
+ }
+
+ ///
+ public Participant MessageSender {
+ get {
+ return this.messageSenderField;
+ }
+ set {
+ this.messageSenderField = value;
+ }
+ }
+
+ ///
+ public Participant MessageRecipient {
+ get {
+ return this.messageRecipientField;
+ }
+ set {
+ this.messageRecipientField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum EdiResponseType {
+
+ ///
+ ACCEPTED,
+
+ ///
+ ERROR,
+
+ ///
+ RECEIVED,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum EdiResponseSubType {
+
+ ///
+ FUNCTIONAL,
+
+ ///
+ TECHNICAL,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ResetNotification {
+
+ private NotificationType notificationTypeField;
+
+ ///
+ public NotificationType NotificationType {
+ get {
+ return this.notificationTypeField;
+ }
+ set {
+ this.notificationTypeField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum NotificationType {
+
+ ///
+ ATA,
+
+ ///
+ ATD,
+
+ ///
+ BKRA,
+
+ ///
+ BKRD,
+
+ ///
+ BPOL,
+
+ ///
+ CREW,
+
+ ///
+ INFO,
+
+ ///
+ LADG,
+
+ ///
+ MDH,
+
+ ///
+ NAME,
+
+ ///
+ NOA_NOD,
+
+ ///
+ PAS,
+
+ ///
+ PRE72H,
+
+ ///
+ PoBA,
+
+ ///
+ PoBD,
+
+ ///
+ SEC,
+
+ ///
+ SERV,
+
+ ///
+ STAT,
+
+ ///
+ TIEFA,
+
+ ///
+ TIEFD,
+
+ ///
+ TOWA,
+
+ ///
+ TOWD,
+
+ ///
+ WAS,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class Waste {
+
+ private WasteType wasteTypeField;
+
+ private string descriptionField;
+
+ private double disposalAmountMTQField;
+
+ private bool disposalAmountMTQFieldSpecified;
+
+ private double capacityMTQField;
+
+ private bool capacityMTQFieldSpecified;
+
+ private double amountRetainedMTQField;
+
+ private bool amountRetainedMTQFieldSpecified;
+
+ private string disposalPortField;
+
+ private double amountGeneratedTillNextPortMTQField;
+
+ private bool amountGeneratedTillNextPortMTQFieldSpecified;
+
+ ///
+ public WasteType WasteType {
+ get {
+ return this.wasteTypeField;
+ }
+ set {
+ this.wasteTypeField = value;
+ }
+ }
+
+ ///
+ public string Description {
+ get {
+ return this.descriptionField;
+ }
+ set {
+ this.descriptionField = value;
+ }
+ }
+
+ ///
+ public double DisposalAmountMTQ {
+ get {
+ return this.disposalAmountMTQField;
+ }
+ set {
+ this.disposalAmountMTQField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool DisposalAmountMTQSpecified {
+ get {
+ return this.disposalAmountMTQFieldSpecified;
+ }
+ set {
+ this.disposalAmountMTQFieldSpecified = value;
+ }
+ }
+
+ ///
+ public double CapacityMTQ {
+ get {
+ return this.capacityMTQField;
+ }
+ set {
+ this.capacityMTQField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool CapacityMTQSpecified {
+ get {
+ return this.capacityMTQFieldSpecified;
+ }
+ set {
+ this.capacityMTQFieldSpecified = value;
+ }
+ }
+
+ ///
+ public double AmountRetainedMTQ {
+ get {
+ return this.amountRetainedMTQField;
+ }
+ set {
+ this.amountRetainedMTQField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool AmountRetainedMTQSpecified {
+ get {
+ return this.amountRetainedMTQFieldSpecified;
+ }
+ set {
+ this.amountRetainedMTQFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string DisposalPort {
+ get {
+ return this.disposalPortField;
+ }
+ set {
+ this.disposalPortField = value;
+ }
+ }
+
+ ///
+ public double AmountGeneratedTillNextPortMTQ {
+ get {
+ return this.amountGeneratedTillNextPortMTQField;
+ }
+ set {
+ this.amountGeneratedTillNextPortMTQField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool AmountGeneratedTillNextPortMTQSpecified {
+ get {
+ return this.amountGeneratedTillNextPortMTQFieldSpecified;
+ }
+ set {
+ this.amountGeneratedTillNextPortMTQFieldSpecified = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum WasteType {
+
+ ///
+ CARGO_ASSOCIATED_WASTE_8,
+
+ ///
+ CARGO_RESIDUES_9,
+
+ ///
+ GARBAGE_FOOD_WASTE_4,
+
+ ///
+ GARBAGE_OTHER_6,
+
+ ///
+ GARBAGE_PLASTIC_5,
+
+ ///
+ SEWAGE_7,
+
+ ///
+ WASTE_OILS_BILGE_WATER_2,
+
+ ///
+ WASTE_OILS_OTHERS_3,
+
+ ///
+ WASTE_OILS_SLUDGE_1,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class WasteDisposalServiceProviderName {
+
+ private string serviceProviderNameField;
+
+ ///
+ public string ServiceProviderName {
+ get {
+ return this.serviceProviderNameField;
+ }
+ set {
+ this.serviceProviderNameField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class WAS {
+
+ private string wasteDisposalValidExemptionField;
+
+ private string lastWasteDisposalPortField;
+
+ private System.DateTime lastWasteDisposalDateField;
+
+ private bool lastWasteDisposalDateFieldSpecified;
+
+ private WasteDisposalServiceProviderName[] wasteDisposalServiceProviderNameField;
+
+ private WasteDisposalDeliveryType wasteDisposalDeliveryField;
+
+ private bool wasteDisposalDeliveryFieldSpecified;
+
+ private Waste[] wasteField;
+
+ private bool confirmationOfCorrectnessField;
+
+ private bool confirmationOfCorrectnessFieldSpecified;
+
+ ///
+ public string WasteDisposalValidExemption {
+ get {
+ return this.wasteDisposalValidExemptionField;
+ }
+ set {
+ this.wasteDisposalValidExemptionField = value;
+ }
+ }
+
+ ///
+ public string LastWasteDisposalPort {
+ get {
+ return this.lastWasteDisposalPortField;
+ }
+ set {
+ this.lastWasteDisposalPortField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime LastWasteDisposalDate {
+ get {
+ return this.lastWasteDisposalDateField;
+ }
+ set {
+ this.lastWasteDisposalDateField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool LastWasteDisposalDateSpecified {
+ get {
+ return this.lastWasteDisposalDateFieldSpecified;
+ }
+ set {
+ this.lastWasteDisposalDateFieldSpecified = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("WasteDisposalServiceProviderName")]
+ public WasteDisposalServiceProviderName[] WasteDisposalServiceProviderName {
+ get {
+ return this.wasteDisposalServiceProviderNameField;
+ }
+ set {
+ this.wasteDisposalServiceProviderNameField = value;
+ }
+ }
+
+ ///
+ public WasteDisposalDeliveryType WasteDisposalDelivery {
+ get {
+ return this.wasteDisposalDeliveryField;
+ }
+ set {
+ this.wasteDisposalDeliveryField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool WasteDisposalDeliverySpecified {
+ get {
+ return this.wasteDisposalDeliveryFieldSpecified;
+ }
+ set {
+ this.wasteDisposalDeliveryFieldSpecified = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("Waste")]
+ public Waste[] Waste {
+ get {
+ return this.wasteField;
+ }
+ set {
+ this.wasteField = value;
+ }
+ }
+
+ ///
+ public bool ConfirmationOfCorrectness {
+ get {
+ return this.confirmationOfCorrectnessField;
+ }
+ set {
+ this.confirmationOfCorrectnessField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool ConfirmationOfCorrectnessSpecified {
+ get {
+ return this.confirmationOfCorrectnessFieldSpecified;
+ }
+ set {
+ this.confirmationOfCorrectnessFieldSpecified = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum WasteDisposalDeliveryType {
+
+ ///
+ ALL,
+
+ ///
+ NONE,
+
+ ///
+ SOME,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ISMCompany {
+
+ private string ismCompanyNameField;
+
+ private string ismCompanyIdField;
+
+ private string ismCompanyStreetNameField;
+
+ private string ismCompanyStreetNumberField;
+
+ 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 IsmCompanyStreetName {
+ get {
+ return this.ismCompanyStreetNameField;
+ }
+ set {
+ this.ismCompanyStreetNameField = value;
+ }
+ }
+
+ ///
+ public string IsmCompanyStreetNumber {
+ get {
+ return this.ismCompanyStreetNumberField;
+ }
+ set {
+ this.ismCompanyStreetNumberField = value;
+ }
+ }
+
+ ///
+ public string IsmCompanyPostalCode {
+ get {
+ return this.ismCompanyPostalCodeField;
+ }
+ set {
+ this.ismCompanyPostalCodeField = value;
+ }
+ }
+
+ ///
+ public string IsmCompanyCity {
+ get {
+ return this.ismCompanyCityField;
+ }
+ set {
+ this.ismCompanyCityField = value;
+ }
+ }
+
+ ///
+ public string IsmCompanyCountry {
+ get {
+ return this.ismCompanyCountryField;
+ }
+ set {
+ this.ismCompanyCountryField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class STAT {
+
+ private string shipNameField;
+
+ private string callSignField;
+
+ private string mmsiNumberField;
+
+ private string flagField;
+
+ private double lengthOverallMTRField;
+
+ private bool lengthOverallMTRFieldSpecified;
+
+ private double beamMTRField;
+
+ private bool beamMTRFieldSpecified;
+
+ private int grossTonnageField;
+
+ private bool grossTonnageFieldSpecified;
+
+ private string portOfRegistryField;
+
+ private string inmarsatCallNumberField;
+
+ private string shipTypeField;
+
+ private ISMCompany iSMCompanyField;
+
+ ///
+ 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 double LengthOverallMTR {
+ get {
+ return this.lengthOverallMTRField;
+ }
+ set {
+ this.lengthOverallMTRField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool LengthOverallMTRSpecified {
+ get {
+ return this.lengthOverallMTRFieldSpecified;
+ }
+ set {
+ this.lengthOverallMTRFieldSpecified = value;
+ }
+ }
+
+ ///
+ public double BeamMTR {
+ get {
+ return this.beamMTRField;
+ }
+ set {
+ this.beamMTRField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool BeamMTRSpecified {
+ get {
+ return this.beamMTRFieldSpecified;
+ }
+ set {
+ this.beamMTRFieldSpecified = value;
+ }
+ }
+
+ ///
+ public int GrossTonnage {
+ get {
+ return this.grossTonnageField;
+ }
+ set {
+ this.grossTonnageField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool GrossTonnageSpecified {
+ get {
+ return this.grossTonnageFieldSpecified;
+ }
+ set {
+ this.grossTonnageFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string PortOfRegistry {
+ get {
+ return this.portOfRegistryField;
+ }
+ set {
+ this.portOfRegistryField = value;
+ }
+ }
+
+ ///
+ public string InmarsatCallNumber {
+ get {
+ return this.inmarsatCallNumberField;
+ }
+ set {
+ this.inmarsatCallNumberField = value;
+ }
+ }
+
+ ///
+ public string ShipType {
+ get {
+ return this.shipTypeField;
+ }
+ set {
+ this.shipTypeField = value;
+ }
+ }
+
+ ///
+ public ISMCompany ISMCompany {
+ get {
+ return this.iSMCompanyField;
+ }
+ set {
+ this.iSMCompanyField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class TOWDOperator {
+
+ private string operatorCompanyNameField;
+
+ private string operatorStreetAndNumberField;
+
+ private string operatorPostalCodeField;
+
+ private string operatorCityField;
+
+ private string operatorCountryField;
+
+ private string operatorPhoneField;
+
+ private string operatorFaxField;
+
+ private string operatorEMailField;
+
+ ///
+ public string OperatorCompanyName {
+ get {
+ return this.operatorCompanyNameField;
+ }
+ set {
+ this.operatorCompanyNameField = value;
+ }
+ }
+
+ ///
+ public string OperatorStreetAndNumber {
+ get {
+ return this.operatorStreetAndNumberField;
+ }
+ set {
+ this.operatorStreetAndNumberField = value;
+ }
+ }
+
+ ///
+ public string OperatorPostalCode {
+ get {
+ return this.operatorPostalCodeField;
+ }
+ set {
+ this.operatorPostalCodeField = value;
+ }
+ }
+
+ ///
+ public string OperatorCity {
+ get {
+ return this.operatorCityField;
+ }
+ set {
+ this.operatorCityField = value;
+ }
+ }
+
+ ///
+ public string OperatorCountry {
+ get {
+ return this.operatorCountryField;
+ }
+ set {
+ this.operatorCountryField = value;
+ }
+ }
+
+ ///
+ public string OperatorPhone {
+ get {
+ return this.operatorPhoneField;
+ }
+ set {
+ this.operatorPhoneField = value;
+ }
+ }
+
+ ///
+ public string OperatorFax {
+ get {
+ return this.operatorFaxField;
+ }
+ set {
+ this.operatorFaxField = value;
+ }
+ }
+
+ ///
+ public string OperatorEMail {
+ get {
+ return this.operatorEMailField;
+ }
+ set {
+ this.operatorEMailField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class TowageDeparture {
+
+ private string nameField;
+
+ private string flagField;
+
+ private TOWDOperator tOWDOperatorField;
+
+ private double draughtDMTField;
+
+ private bool draughtDMTFieldSpecified;
+
+ private double overallMTRField;
+
+ private bool overallMTRFieldSpecified;
+
+ private double beamMTRField;
+
+ private bool beamMTRFieldSpecified;
+
+ private string remarksField;
+
+ ///
+ public string Name {
+ get {
+ return this.nameField;
+ }
+ set {
+ this.nameField = value;
+ }
+ }
+
+ ///
+ public string Flag {
+ get {
+ return this.flagField;
+ }
+ set {
+ this.flagField = value;
+ }
+ }
+
+ ///
+ public TOWDOperator TOWDOperator {
+ get {
+ return this.tOWDOperatorField;
+ }
+ set {
+ this.tOWDOperatorField = value;
+ }
+ }
+
+ ///
+ public double DraughtDMT {
+ get {
+ return this.draughtDMTField;
+ }
+ set {
+ this.draughtDMTField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool DraughtDMTSpecified {
+ get {
+ return this.draughtDMTFieldSpecified;
+ }
+ set {
+ this.draughtDMTFieldSpecified = value;
+ }
+ }
+
+ ///
+ public double OverallMTR {
+ get {
+ return this.overallMTRField;
+ }
+ set {
+ this.overallMTRField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool OverallMTRSpecified {
+ get {
+ return this.overallMTRFieldSpecified;
+ }
+ set {
+ this.overallMTRFieldSpecified = value;
+ }
+ }
+
+ ///
+ public double BeamMTR {
+ get {
+ return this.beamMTRField;
+ }
+ set {
+ this.beamMTRField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool BeamMTRSpecified {
+ get {
+ return this.beamMTRFieldSpecified;
+ }
+ set {
+ this.beamMTRFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string Remarks {
+ get {
+ return this.remarksField;
+ }
+ set {
+ this.remarksField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class TOWAOperator {
+
+ private string operatorCompanyNameField;
+
+ private string operatorStreetAndNumberField;
+
+ private string operatorPostalCodeField;
+
+ private string operatorCityField;
+
+ private string operatorCountryField;
+
+ private string operatorPhoneField;
+
+ private string operatorFaxField;
+
+ private string operatorEMailField;
+
+ ///
+ public string OperatorCompanyName {
+ get {
+ return this.operatorCompanyNameField;
+ }
+ set {
+ this.operatorCompanyNameField = value;
+ }
+ }
+
+ ///
+ public string OperatorStreetAndNumber {
+ get {
+ return this.operatorStreetAndNumberField;
+ }
+ set {
+ this.operatorStreetAndNumberField = value;
+ }
+ }
+
+ ///
+ public string OperatorPostalCode {
+ get {
+ return this.operatorPostalCodeField;
+ }
+ set {
+ this.operatorPostalCodeField = value;
+ }
+ }
+
+ ///
+ public string OperatorCity {
+ get {
+ return this.operatorCityField;
+ }
+ set {
+ this.operatorCityField = value;
+ }
+ }
+
+ ///
+ public string OperatorCountry {
+ get {
+ return this.operatorCountryField;
+ }
+ set {
+ this.operatorCountryField = value;
+ }
+ }
+
+ ///
+ public string OperatorPhone {
+ get {
+ return this.operatorPhoneField;
+ }
+ set {
+ this.operatorPhoneField = value;
+ }
+ }
+
+ ///
+ public string OperatorFax {
+ get {
+ return this.operatorFaxField;
+ }
+ set {
+ this.operatorFaxField = value;
+ }
+ }
+
+ ///
+ public string OperatorEMail {
+ get {
+ return this.operatorEMailField;
+ }
+ set {
+ this.operatorEMailField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class TowageArrival {
+
+ private string nameField;
+
+ private string flagField;
+
+ private TOWAOperator tOWAOperatorField;
+
+ private int grossTonnageField;
+
+ private double lengthOverallMTRField;
+
+ private bool lengthOverallMTRFieldSpecified;
+
+ private double beamMTRField;
+
+ private bool beamMTRFieldSpecified;
+
+ private string purposeOfCallField;
+
+ private double draughtDMTField;
+
+ private bool draughtDMTFieldSpecified;
+
+ private string remarksField;
+
+ ///
+ public string Name {
+ get {
+ return this.nameField;
+ }
+ set {
+ this.nameField = value;
+ }
+ }
+
+ ///
+ public string Flag {
+ get {
+ return this.flagField;
+ }
+ set {
+ this.flagField = value;
+ }
+ }
+
+ ///
+ public TOWAOperator TOWAOperator {
+ get {
+ return this.tOWAOperatorField;
+ }
+ set {
+ this.tOWAOperatorField = value;
+ }
+ }
+
+ ///
+ public int GrossTonnage {
+ get {
+ return this.grossTonnageField;
+ }
+ set {
+ this.grossTonnageField = value;
+ }
+ }
+
+ ///
+ public double LengthOverallMTR {
+ get {
+ return this.lengthOverallMTRField;
+ }
+ set {
+ this.lengthOverallMTRField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool LengthOverallMTRSpecified {
+ get {
+ return this.lengthOverallMTRFieldSpecified;
+ }
+ set {
+ this.lengthOverallMTRFieldSpecified = value;
+ }
+ }
+
+ ///
+ public double BeamMTR {
+ get {
+ return this.beamMTRField;
+ }
+ set {
+ this.beamMTRField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool BeamMTRSpecified {
+ get {
+ return this.beamMTRFieldSpecified;
+ }
+ set {
+ this.beamMTRFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string PurposeOfCall {
+ get {
+ return this.purposeOfCallField;
+ }
+ set {
+ this.purposeOfCallField = value;
+ }
+ }
+
+ ///
+ public double DraughtDMT {
+ get {
+ return this.draughtDMTField;
+ }
+ set {
+ this.draughtDMTField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool DraughtDMTSpecified {
+ get {
+ return this.draughtDMTFieldSpecified;
+ }
+ set {
+ this.draughtDMTFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string Remarks {
+ get {
+ return this.remarksField;
+ }
+ set {
+ this.remarksField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class Service {
+
+ private string nameField;
+
+ private string beneficiaryField;
+
+ private string invoiceRecipientField;
+
+ ///
+ public string Name {
+ get {
+ return this.nameField;
+ }
+ set {
+ this.nameField = value;
+ }
+ }
+
+ ///
+ public string Beneficiary {
+ get {
+ return this.beneficiaryField;
+ }
+ set {
+ this.beneficiaryField = value;
+ }
+ }
+
+ ///
+ public string InvoiceRecipient {
+ get {
+ return this.invoiceRecipientField;
+ }
+ set {
+ this.invoiceRecipientField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ShipToShipActivitiesDuringLastTenPortFacilitiesCalled {
+
+ private string locationNameField;
+
+ private string locationCodeField;
+
+ private int locationCoordinatesLatitudeField;
+
+ private bool locationCoordinatesLatitudeFieldSpecified;
+
+ private int locationCoordinatesLongitudeField;
+
+ private bool locationCoordinatesLongitudeFieldSpecified;
+
+ private System.DateTime dateFromField;
+
+ private System.DateTime dateToField;
+
+ private string activityTypeField;
+
+ private string securityMattersToReportField;
+
+ ///
+ public string LocationName {
+ get {
+ return this.locationNameField;
+ }
+ set {
+ this.locationNameField = value;
+ }
+ }
+
+ ///
+ public string LocationCode {
+ get {
+ return this.locationCodeField;
+ }
+ set {
+ this.locationCodeField = value;
+ }
+ }
+
+ ///
+ public int LocationCoordinatesLatitude {
+ get {
+ return this.locationCoordinatesLatitudeField;
+ }
+ set {
+ this.locationCoordinatesLatitudeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool LocationCoordinatesLatitudeSpecified {
+ get {
+ return this.locationCoordinatesLatitudeFieldSpecified;
+ }
+ set {
+ this.locationCoordinatesLatitudeFieldSpecified = value;
+ }
+ }
+
+ ///
+ public int LocationCoordinatesLongitude {
+ get {
+ return this.locationCoordinatesLongitudeField;
+ }
+ set {
+ this.locationCoordinatesLongitudeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool LocationCoordinatesLongitudeSpecified {
+ get {
+ return this.locationCoordinatesLongitudeFieldSpecified;
+ }
+ set {
+ this.locationCoordinatesLongitudeFieldSpecified = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateFrom {
+ get {
+ return this.dateFromField;
+ }
+ set {
+ this.dateFromField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateTo {
+ get {
+ return this.dateToField;
+ }
+ set {
+ this.dateToField = value;
+ }
+ }
+
+ ///
+ public string ActivityType {
+ get {
+ return this.activityTypeField;
+ }
+ set {
+ this.activityTypeField = value;
+ }
+ }
+
+ ///
+ public string SecurityMattersToReport {
+ get {
+ return this.securityMattersToReportField;
+ }
+ set {
+ this.securityMattersToReportField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class LastTenPortFacilitiesCalled {
+
+ private string portNameField;
+
+ private string portCountryField;
+
+ private string portLoCodeField;
+
+ private System.DateTime dateOfArrivalField;
+
+ private System.DateTime dateOfDepartureField;
+
+ private int shipSecurityLevelField;
+
+ private bool shipSecurityLevelFieldSpecified;
+
+ private string securityMattersToReportField;
+
+ private string gISISCodeField;
+
+ ///
+ public string PortName {
+ get {
+ return this.portNameField;
+ }
+ set {
+ this.portNameField = value;
+ }
+ }
+
+ ///
+ public string PortCountry {
+ get {
+ return this.portCountryField;
+ }
+ set {
+ this.portCountryField = value;
+ }
+ }
+
+ ///
+ public string PortLoCode {
+ get {
+ return this.portLoCodeField;
+ }
+ set {
+ this.portLoCodeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateOfArrival {
+ get {
+ return this.dateOfArrivalField;
+ }
+ set {
+ this.dateOfArrivalField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateOfDeparture {
+ get {
+ return this.dateOfDepartureField;
+ }
+ set {
+ this.dateOfDepartureField = value;
+ }
+ }
+
+ ///
+ public int ShipSecurityLevel {
+ get {
+ return this.shipSecurityLevelField;
+ }
+ set {
+ this.shipSecurityLevelField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool ShipSecurityLevelSpecified {
+ get {
+ return this.shipSecurityLevelFieldSpecified;
+ }
+ set {
+ this.shipSecurityLevelFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string SecurityMattersToReport {
+ get {
+ return this.securityMattersToReportField;
+ }
+ set {
+ this.securityMattersToReportField = value;
+ }
+ }
+
+ ///
+ public string GISISCode {
+ get {
+ return this.gISISCodeField;
+ }
+ set {
+ this.gISISCodeField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class SEC {
+
+ private string secSimplificationField;
+
+ private string portOfCallWhereCompleteSECNotifiedField;
+
+ private string csoLastNameField;
+
+ private string csoFirstNameField;
+
+ private string csoPhoneField;
+
+ private string csoFaxField;
+
+ private string csoeMailField;
+
+ private bool validISSCOnBoardField;
+
+ private bool validISSCOnBoardFieldSpecified;
+
+ private string reasonsForNoValidISSCField;
+
+ private IsscType isscTypeField;
+
+ private bool isscTypeFieldSpecified;
+
+ private IsscIssuerType isscIssuerTypeField;
+
+ private bool isscIssuerTypeFieldSpecified;
+
+ private string isscIssuerNameField;
+
+ private System.DateTime isscDateOfExpirationField;
+
+ private bool isscDateOfExpirationFieldSpecified;
+
+ private bool approvedSecurityPlanOnBoardField;
+
+ private bool approvedSecurityPlanOnBoardFieldSpecified;
+
+ private int currentShipSecurityLevelField;
+
+ private bool currentShipSecurityLevelFieldSpecified;
+
+ private string portFacilityOfArrivalField;
+
+ private GeneralCargoType generalDescriptionOfCargoField;
+
+ private bool generalDescriptionOfCargoFieldSpecified;
+
+ private LastTenPortFacilitiesCalled[] lastTenPortFacilitiesCalledField;
+
+ private ShipToShipActivitiesDuringLastTenPortFacilitiesCalled[] shipToShipActivitiesDuringLastTenPortFacilitiesCalledField;
+
+ ///
+ public string SecSimplification {
+ get {
+ return this.secSimplificationField;
+ }
+ set {
+ this.secSimplificationField = value;
+ }
+ }
+
+ ///
+ public string PortOfCallWhereCompleteSECNotified {
+ get {
+ return this.portOfCallWhereCompleteSECNotifiedField;
+ }
+ set {
+ this.portOfCallWhereCompleteSECNotifiedField = value;
+ }
+ }
+
+ ///
+ public string CsoLastName {
+ get {
+ return this.csoLastNameField;
+ }
+ set {
+ this.csoLastNameField = value;
+ }
+ }
+
+ ///
+ public string CsoFirstName {
+ get {
+ return this.csoFirstNameField;
+ }
+ set {
+ this.csoFirstNameField = value;
+ }
+ }
+
+ ///
+ public string CsoPhone {
+ get {
+ return this.csoPhoneField;
+ }
+ set {
+ this.csoPhoneField = value;
+ }
+ }
+
+ ///
+ public string CsoFax {
+ get {
+ return this.csoFaxField;
+ }
+ set {
+ this.csoFaxField = value;
+ }
+ }
+
+ ///
+ public string CsoeMail {
+ get {
+ return this.csoeMailField;
+ }
+ set {
+ this.csoeMailField = value;
+ }
+ }
+
+ ///
+ public bool ValidISSCOnBoard {
+ get {
+ return this.validISSCOnBoardField;
+ }
+ set {
+ this.validISSCOnBoardField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool ValidISSCOnBoardSpecified {
+ get {
+ return this.validISSCOnBoardFieldSpecified;
+ }
+ set {
+ this.validISSCOnBoardFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string ReasonsForNoValidISSC {
+ get {
+ return this.reasonsForNoValidISSCField;
+ }
+ set {
+ this.reasonsForNoValidISSCField = value;
+ }
+ }
+
+ ///
+ public IsscType IsscType {
+ get {
+ return this.isscTypeField;
+ }
+ set {
+ this.isscTypeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool IsscTypeSpecified {
+ get {
+ return this.isscTypeFieldSpecified;
+ }
+ set {
+ this.isscTypeFieldSpecified = value;
+ }
+ }
+
+ ///
+ public IsscIssuerType IsscIssuerType {
+ get {
+ return this.isscIssuerTypeField;
+ }
+ set {
+ this.isscIssuerTypeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool IsscIssuerTypeSpecified {
+ get {
+ return this.isscIssuerTypeFieldSpecified;
+ }
+ set {
+ this.isscIssuerTypeFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string IsscIssuerName {
+ get {
+ return this.isscIssuerNameField;
+ }
+ set {
+ this.isscIssuerNameField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime IsscDateOfExpiration {
+ get {
+ return this.isscDateOfExpirationField;
+ }
+ set {
+ this.isscDateOfExpirationField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool IsscDateOfExpirationSpecified {
+ get {
+ return this.isscDateOfExpirationFieldSpecified;
+ }
+ set {
+ this.isscDateOfExpirationFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool ApprovedSecurityPlanOnBoard {
+ get {
+ return this.approvedSecurityPlanOnBoardField;
+ }
+ set {
+ this.approvedSecurityPlanOnBoardField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool ApprovedSecurityPlanOnBoardSpecified {
+ get {
+ return this.approvedSecurityPlanOnBoardFieldSpecified;
+ }
+ set {
+ this.approvedSecurityPlanOnBoardFieldSpecified = value;
+ }
+ }
+
+ ///
+ public int CurrentShipSecurityLevel {
+ get {
+ return this.currentShipSecurityLevelField;
+ }
+ set {
+ this.currentShipSecurityLevelField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool CurrentShipSecurityLevelSpecified {
+ get {
+ return this.currentShipSecurityLevelFieldSpecified;
+ }
+ set {
+ this.currentShipSecurityLevelFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string PortFacilityOfArrival {
+ get {
+ return this.portFacilityOfArrivalField;
+ }
+ set {
+ this.portFacilityOfArrivalField = value;
+ }
+ }
+
+ ///
+ public GeneralCargoType GeneralDescriptionOfCargo {
+ get {
+ return this.generalDescriptionOfCargoField;
+ }
+ set {
+ this.generalDescriptionOfCargoField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool GeneralDescriptionOfCargoSpecified {
+ get {
+ return this.generalDescriptionOfCargoFieldSpecified;
+ }
+ set {
+ this.generalDescriptionOfCargoFieldSpecified = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("LastTenPortFacilitiesCalled")]
+ public LastTenPortFacilitiesCalled[] LastTenPortFacilitiesCalled {
+ get {
+ return this.lastTenPortFacilitiesCalledField;
+ }
+ set {
+ this.lastTenPortFacilitiesCalledField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("ShipToShipActivitiesDuringLastTenPortFacilitiesCalled")]
+ public ShipToShipActivitiesDuringLastTenPortFacilitiesCalled[] ShipToShipActivitiesDuringLastTenPortFacilitiesCalled {
+ get {
+ return this.shipToShipActivitiesDuringLastTenPortFacilitiesCalledField;
+ }
+ set {
+ this.shipToShipActivitiesDuringLastTenPortFacilitiesCalledField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum IsscType {
+
+ ///
+ FULL,
+
+ ///
+ INTERIM,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum IsscIssuerType {
+
+ ///
+ ADMINISTRATION,
+
+ ///
+ RSO,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum GeneralCargoType {
+
+ ///
+ CONTAINER,
+
+ ///
+ CONVENTIONAL_GENERAL_CARGO,
+
+ ///
+ DRY_CARGO_IN_BULK,
+
+ ///
+ EMPTY,
+
+ ///
+ LIQUID_CARGO_IN_BULK,
+
+ ///
+ VEHICLES,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class TankerDetails {
+
+ private TankerHullConfigurationType tankerHullConfigurationField;
+
+ private ConditionCargoBallastTanksType conditionCargoBallastTanksField;
+
+ private string natureOfCargoField;
+
+ private double volumeOfCargoTNEField;
+
+ private bool volumeOfCargoTNEFieldSpecified;
+
+ ///
+ public TankerHullConfigurationType TankerHullConfiguration {
+ get {
+ return this.tankerHullConfigurationField;
+ }
+ set {
+ this.tankerHullConfigurationField = value;
+ }
+ }
+
+ ///
+ public ConditionCargoBallastTanksType ConditionCargoBallastTanks {
+ get {
+ return this.conditionCargoBallastTanksField;
+ }
+ set {
+ this.conditionCargoBallastTanksField = value;
+ }
+ }
+
+ ///
+ public string NatureOfCargo {
+ get {
+ return this.natureOfCargoField;
+ }
+ set {
+ this.natureOfCargoField = value;
+ }
+ }
+
+ ///
+ public double VolumeOfCargoTNE {
+ get {
+ return this.volumeOfCargoTNEField;
+ }
+ set {
+ this.volumeOfCargoTNEField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool VolumeOfCargoTNESpecified {
+ get {
+ return this.volumeOfCargoTNEFieldSpecified;
+ }
+ set {
+ this.volumeOfCargoTNEFieldSpecified = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum TankerHullConfigurationType {
+
+ ///
+ DOUBLE_HULL,
+
+ ///
+ SINGLE_HULL,
+
+ ///
+ SINGLE_HULL_WITH_SBT,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum ConditionCargoBallastTanksType {
+
+ ///
+ EMPTY,
+
+ ///
+ FULL,
+
+ ///
+ INERTED,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class PRE72H {
+
+ private bool tankerField;
+
+ private TankerDetails tankerDetailsField;
+
+ private string plannedOperationsField;
+
+ private string plannedWorksField;
+
+ private System.DateTime dateOfLastExpandedInspectionField;
+
+ private bool dateOfLastExpandedInspectionFieldSpecified;
+
+ private double plannedPeriodOfStayHURField;
+
+ ///
+ public bool Tanker {
+ get {
+ return this.tankerField;
+ }
+ set {
+ this.tankerField = value;
+ }
+ }
+
+ ///
+ public TankerDetails 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 double PlannedPeriodOfStayHUR {
+ get {
+ return this.plannedPeriodOfStayHURField;
+ }
+ set {
+ this.plannedPeriodOfStayHURField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class PoBD {
+
+ private int totalPersonsOnBoardUponDepartureField;
+
+ private bool totalPersonsOnBoardUponDepartureFieldSpecified;
+
+ private int totalCrewMembersOnBoardUponDepartureField;
+
+ private int totalPassengersOnBoardUponDepartureField;
+
+ private int totalStowawaysOnBoardUponDepartureField;
+
+ ///
+ public int TotalPersonsOnBoardUponDeparture {
+ get {
+ return this.totalPersonsOnBoardUponDepartureField;
+ }
+ set {
+ this.totalPersonsOnBoardUponDepartureField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool TotalPersonsOnBoardUponDepartureSpecified {
+ get {
+ return this.totalPersonsOnBoardUponDepartureFieldSpecified;
+ }
+ set {
+ this.totalPersonsOnBoardUponDepartureFieldSpecified = value;
+ }
+ }
+
+ ///
+ public int TotalCrewMembersOnBoardUponDeparture {
+ get {
+ return this.totalCrewMembersOnBoardUponDepartureField;
+ }
+ set {
+ this.totalCrewMembersOnBoardUponDepartureField = value;
+ }
+ }
+
+ ///
+ public int TotalPassengersOnBoardUponDeparture {
+ get {
+ return this.totalPassengersOnBoardUponDepartureField;
+ }
+ set {
+ this.totalPassengersOnBoardUponDepartureField = value;
+ }
+ }
+
+ ///
+ public int TotalStowawaysOnBoardUponDeparture {
+ get {
+ return this.totalStowawaysOnBoardUponDepartureField;
+ }
+ set {
+ this.totalStowawaysOnBoardUponDepartureField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class PoBA {
+
+ private int totalPersonsOnBoardUponArrivalField;
+
+ private bool totalPersonsOnBoardUponArrivalFieldSpecified;
+
+ private int totalCrewMembersOnBoardUponArrivalField;
+
+ private int totalPassengersOnBoardUponArrivalField;
+
+ private int totalStowawaysOnBoardUponArrivalField;
+
+ ///
+ public int TotalPersonsOnBoardUponArrival {
+ get {
+ return this.totalPersonsOnBoardUponArrivalField;
+ }
+ set {
+ this.totalPersonsOnBoardUponArrivalField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool TotalPersonsOnBoardUponArrivalSpecified {
+ get {
+ return this.totalPersonsOnBoardUponArrivalFieldSpecified;
+ }
+ set {
+ this.totalPersonsOnBoardUponArrivalFieldSpecified = value;
+ }
+ }
+
+ ///
+ public int TotalCrewMembersOnBoardUponArrival {
+ get {
+ return this.totalCrewMembersOnBoardUponArrivalField;
+ }
+ set {
+ this.totalCrewMembersOnBoardUponArrivalField = value;
+ }
+ }
+
+ ///
+ public int TotalPassengersOnBoardUponArrival {
+ get {
+ return this.totalPassengersOnBoardUponArrivalField;
+ }
+ set {
+ this.totalPassengersOnBoardUponArrivalField = value;
+ }
+ }
+
+ ///
+ public int TotalStowawaysOnBoardUponArrival {
+ get {
+ return this.totalStowawaysOnBoardUponArrivalField;
+ }
+ set {
+ this.totalStowawaysOnBoardUponArrivalField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class Passenger {
+
+ private string lastNameField;
+
+ private string firstNameField;
+
+ private string placeOfBirthField;
+
+ private System.DateTime dateOfBirthField;
+
+ private GenderType genderField;
+
+ private bool genderFieldSpecified;
+
+ private string nationalityField;
+
+ private IdentityDocumentType identityDocumentTypeField;
+
+ private string identityDocumentIdField;
+
+ private string visaNumberField;
+
+ private string portOfEmbarkationField;
+
+ private string portOfDisembarkationField;
+
+ private bool inTransitField;
+
+ ///
+ public string LastName {
+ get {
+ return this.lastNameField;
+ }
+ set {
+ this.lastNameField = value;
+ }
+ }
+
+ ///
+ public string FirstName {
+ get {
+ return this.firstNameField;
+ }
+ set {
+ this.firstNameField = value;
+ }
+ }
+
+ ///
+ public string PlaceOfBirth {
+ get {
+ return this.placeOfBirthField;
+ }
+ set {
+ this.placeOfBirthField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateOfBirth {
+ get {
+ return this.dateOfBirthField;
+ }
+ set {
+ this.dateOfBirthField = value;
+ }
+ }
+
+ ///
+ public GenderType Gender {
+ get {
+ return this.genderField;
+ }
+ set {
+ this.genderField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool GenderSpecified {
+ get {
+ return this.genderFieldSpecified;
+ }
+ set {
+ this.genderFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string Nationality {
+ get {
+ return this.nationalityField;
+ }
+ set {
+ this.nationalityField = value;
+ }
+ }
+
+ ///
+ public IdentityDocumentType IdentityDocumentType {
+ get {
+ return this.identityDocumentTypeField;
+ }
+ set {
+ this.identityDocumentTypeField = value;
+ }
+ }
+
+ ///
+ public string IdentityDocumentId {
+ get {
+ return this.identityDocumentIdField;
+ }
+ set {
+ this.identityDocumentIdField = value;
+ }
+ }
+
+ ///
+ public string VisaNumber {
+ get {
+ return this.visaNumberField;
+ }
+ set {
+ this.visaNumberField = value;
+ }
+ }
+
+ ///
+ public string PortOfEmbarkation {
+ get {
+ return this.portOfEmbarkationField;
+ }
+ set {
+ this.portOfEmbarkationField = value;
+ }
+ }
+
+ ///
+ public string PortOfDisembarkation {
+ get {
+ return this.portOfDisembarkationField;
+ }
+ set {
+ this.portOfDisembarkationField = value;
+ }
+ }
+
+ ///
+ public bool InTransit {
+ get {
+ return this.inTransitField;
+ }
+ set {
+ this.inTransitField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum GenderType {
+
+ ///
+ FEMALE,
+
+ ///
+ MALE,
+
+ ///
+ OTHER,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum IdentityDocumentType {
+
+ ///
+ IDENTITY_CARD,
+
+ ///
+ MUSTER_BOOK,
+
+ ///
+ OTHER_LEGAL_IDENTITY_DOCUMENT,
+
+ ///
+ PASSPORT,
+
+ ///
+ PICTURE_ID,
+
+ ///
+ RESIDENTAL_PERMIT,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class NAME {
+
+ private string nameOfMasterField;
+
+ ///
+ public string NameOfMaster {
+ get {
+ return this.nameOfMasterField;
+ }
+ set {
+ this.nameOfMasterField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class CrewJoinedShipName {
+
+ private string nameField;
+
+ ///
+ public string Name {
+ get {
+ return this.nameField;
+ }
+ set {
+ this.nameField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class PortOfCallLast30Days {
+
+ private string locodeField;
+
+ private System.DateTime dateOfDepartureField;
+
+ private bool crewMembersJoinedField;
+
+ private CrewJoinedShipName[] crewJoinedShipNameField;
+
+ ///
+ public string Locode {
+ get {
+ return this.locodeField;
+ }
+ set {
+ this.locodeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateOfDeparture {
+ get {
+ return this.dateOfDepartureField;
+ }
+ set {
+ this.dateOfDepartureField = value;
+ }
+ }
+
+ ///
+ public bool CrewMembersJoined {
+ get {
+ return this.crewMembersJoinedField;
+ }
+ set {
+ this.crewMembersJoinedField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("CrewJoinedShipName")]
+ public CrewJoinedShipName[] CrewJoinedShipName {
+ get {
+ return this.crewJoinedShipNameField;
+ }
+ set {
+ this.crewJoinedShipNameField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class InfectedArea {
+
+ private string infectedAreaPortField;
+
+ private System.DateTime infectedAreaDateField;
+
+ ///
+ public string InfectedAreaPort {
+ get {
+ return this.infectedAreaPortField;
+ }
+ set {
+ this.infectedAreaPortField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime InfectedAreaDate {
+ get {
+ return this.infectedAreaDateField;
+ }
+ set {
+ this.infectedAreaDateField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ValidSanitaryControlExemptionOrCertificate {
+
+ private string placeOfIssueField;
+
+ private System.DateTime dateOfIssueField;
+
+ ///
+ public string PlaceOfIssue {
+ get {
+ return this.placeOfIssueField;
+ }
+ set {
+ this.placeOfIssueField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateOfIssue {
+ get {
+ return this.dateOfIssueField;
+ }
+ set {
+ this.dateOfIssueField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class SanitaryMeasuresDetails {
+
+ private string sanitaryMeasuresTypeField;
+
+ private string sanitaryMeasuresLocationField;
+
+ private System.DateTime sanitaryMeasuresDateField;
+
+ ///
+ public string SanitaryMeasuresType {
+ get {
+ return this.sanitaryMeasuresTypeField;
+ }
+ set {
+ this.sanitaryMeasuresTypeField = value;
+ }
+ }
+
+ ///
+ public string SanitaryMeasuresLocation {
+ get {
+ return this.sanitaryMeasuresLocationField;
+ }
+ set {
+ this.sanitaryMeasuresLocationField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime SanitaryMeasuresDate {
+ get {
+ return this.sanitaryMeasuresDateField;
+ }
+ set {
+ this.sanitaryMeasuresDateField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class MDH {
+
+ private string mdhSimplificationField;
+
+ private string portOfCallWhereCompleteMDHNotifiedField;
+
+ private bool nonAccidentialDeathsDuringVoyageField;
+
+ private bool nonAccidentialDeathsDuringVoyageFieldSpecified;
+
+ private int nonAccidentialDeathsDuringVoyageCountField;
+
+ private bool nonAccidentialDeathsDuringVoyageCountFieldSpecified;
+
+ private bool suspisionInfectiousNatureField;
+
+ private bool suspisionInfectiousNatureFieldSpecified;
+
+ private bool numberOfIllPersonsHigherThanExpectedField;
+
+ private bool numberOfIllPersonsHigherThanExpectedFieldSpecified;
+
+ private int numberOfIllPersonsField;
+
+ private bool numberOfIllPersonsFieldSpecified;
+
+ private bool sickPersonsOnBoardField;
+
+ private bool sickPersonsOnBoardFieldSpecified;
+
+ private bool medicalConsultedField;
+
+ private bool medicalConsultedFieldSpecified;
+
+ private bool awareOfConditionsForFurtherInfectionsField;
+
+ private bool awareOfConditionsForFurtherInfectionsFieldSpecified;
+
+ private bool sanitaryMeasuresAppliedField;
+
+ private bool sanitaryMeasuresAppliedFieldSpecified;
+
+ private SanitaryMeasuresDetails sanitaryMeasuresDetailsField;
+
+ private bool stowawaysDetectedField;
+
+ private bool stowawaysDetectedFieldSpecified;
+
+ private string stowawaysJoiningLocationField;
+
+ private bool sickAnimalOrPetOnBoardField;
+
+ private bool sickAnimalOrPetOnBoardFieldSpecified;
+
+ private bool validSanitaryControlExemptionOrCertificateOnBoardField;
+
+ private bool validSanitaryControlExemptionOrCertificateOnBoardFieldSpecified;
+
+ private ValidSanitaryControlExemptionOrCertificate validSanitaryControlExemptionOrCertificateField;
+
+ private bool sanitaryControlReinspectionRequiredField;
+
+ private bool sanitaryControlReinspectionRequiredFieldSpecified;
+
+ private bool infectedAreaVisitedField;
+
+ private bool infectedAreaVisitedFieldSpecified;
+
+ private InfectedArea infectedAreaField;
+
+ private PortOfCallLast30Days[] portsOfCallLast30DaysField;
+
+ ///
+ public string MdhSimplification {
+ get {
+ return this.mdhSimplificationField;
+ }
+ set {
+ this.mdhSimplificationField = value;
+ }
+ }
+
+ ///
+ public string PortOfCallWhereCompleteMDHNotified {
+ get {
+ return this.portOfCallWhereCompleteMDHNotifiedField;
+ }
+ set {
+ this.portOfCallWhereCompleteMDHNotifiedField = value;
+ }
+ }
+
+ ///
+ public bool NonAccidentialDeathsDuringVoyage {
+ get {
+ return this.nonAccidentialDeathsDuringVoyageField;
+ }
+ set {
+ this.nonAccidentialDeathsDuringVoyageField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool NonAccidentialDeathsDuringVoyageSpecified {
+ get {
+ return this.nonAccidentialDeathsDuringVoyageFieldSpecified;
+ }
+ set {
+ this.nonAccidentialDeathsDuringVoyageFieldSpecified = value;
+ }
+ }
+
+ ///
+ public int NonAccidentialDeathsDuringVoyageCount {
+ get {
+ return this.nonAccidentialDeathsDuringVoyageCountField;
+ }
+ set {
+ this.nonAccidentialDeathsDuringVoyageCountField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool NonAccidentialDeathsDuringVoyageCountSpecified {
+ get {
+ return this.nonAccidentialDeathsDuringVoyageCountFieldSpecified;
+ }
+ set {
+ this.nonAccidentialDeathsDuringVoyageCountFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool SuspisionInfectiousNature {
+ get {
+ return this.suspisionInfectiousNatureField;
+ }
+ set {
+ this.suspisionInfectiousNatureField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool SuspisionInfectiousNatureSpecified {
+ get {
+ return this.suspisionInfectiousNatureFieldSpecified;
+ }
+ set {
+ this.suspisionInfectiousNatureFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool NumberOfIllPersonsHigherThanExpected {
+ get {
+ return this.numberOfIllPersonsHigherThanExpectedField;
+ }
+ set {
+ this.numberOfIllPersonsHigherThanExpectedField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool NumberOfIllPersonsHigherThanExpectedSpecified {
+ get {
+ return this.numberOfIllPersonsHigherThanExpectedFieldSpecified;
+ }
+ set {
+ this.numberOfIllPersonsHigherThanExpectedFieldSpecified = value;
+ }
+ }
+
+ ///
+ public int NumberOfIllPersons {
+ get {
+ return this.numberOfIllPersonsField;
+ }
+ set {
+ this.numberOfIllPersonsField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool NumberOfIllPersonsSpecified {
+ get {
+ return this.numberOfIllPersonsFieldSpecified;
+ }
+ set {
+ this.numberOfIllPersonsFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool SickPersonsOnBoard {
+ get {
+ return this.sickPersonsOnBoardField;
+ }
+ set {
+ this.sickPersonsOnBoardField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool SickPersonsOnBoardSpecified {
+ get {
+ return this.sickPersonsOnBoardFieldSpecified;
+ }
+ set {
+ this.sickPersonsOnBoardFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool MedicalConsulted {
+ get {
+ return this.medicalConsultedField;
+ }
+ set {
+ this.medicalConsultedField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool MedicalConsultedSpecified {
+ get {
+ return this.medicalConsultedFieldSpecified;
+ }
+ set {
+ this.medicalConsultedFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool AwareOfConditionsForFurtherInfections {
+ get {
+ return this.awareOfConditionsForFurtherInfectionsField;
+ }
+ set {
+ this.awareOfConditionsForFurtherInfectionsField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool AwareOfConditionsForFurtherInfectionsSpecified {
+ get {
+ return this.awareOfConditionsForFurtherInfectionsFieldSpecified;
+ }
+ set {
+ this.awareOfConditionsForFurtherInfectionsFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool SanitaryMeasuresApplied {
+ get {
+ return this.sanitaryMeasuresAppliedField;
+ }
+ set {
+ this.sanitaryMeasuresAppliedField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool SanitaryMeasuresAppliedSpecified {
+ get {
+ return this.sanitaryMeasuresAppliedFieldSpecified;
+ }
+ set {
+ this.sanitaryMeasuresAppliedFieldSpecified = value;
+ }
+ }
+
+ ///
+ public SanitaryMeasuresDetails SanitaryMeasuresDetails {
+ get {
+ return this.sanitaryMeasuresDetailsField;
+ }
+ set {
+ this.sanitaryMeasuresDetailsField = value;
+ }
+ }
+
+ ///
+ public bool StowawaysDetected {
+ get {
+ return this.stowawaysDetectedField;
+ }
+ set {
+ this.stowawaysDetectedField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool StowawaysDetectedSpecified {
+ get {
+ return this.stowawaysDetectedFieldSpecified;
+ }
+ set {
+ this.stowawaysDetectedFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string StowawaysJoiningLocation {
+ get {
+ return this.stowawaysJoiningLocationField;
+ }
+ set {
+ this.stowawaysJoiningLocationField = value;
+ }
+ }
+
+ ///
+ public bool SickAnimalOrPetOnBoard {
+ get {
+ return this.sickAnimalOrPetOnBoardField;
+ }
+ set {
+ this.sickAnimalOrPetOnBoardField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool SickAnimalOrPetOnBoardSpecified {
+ get {
+ return this.sickAnimalOrPetOnBoardFieldSpecified;
+ }
+ set {
+ this.sickAnimalOrPetOnBoardFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool ValidSanitaryControlExemptionOrCertificateOnBoard {
+ get {
+ return this.validSanitaryControlExemptionOrCertificateOnBoardField;
+ }
+ set {
+ this.validSanitaryControlExemptionOrCertificateOnBoardField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool ValidSanitaryControlExemptionOrCertificateOnBoardSpecified {
+ get {
+ return this.validSanitaryControlExemptionOrCertificateOnBoardFieldSpecified;
+ }
+ set {
+ this.validSanitaryControlExemptionOrCertificateOnBoardFieldSpecified = value;
+ }
+ }
+
+ ///
+ public ValidSanitaryControlExemptionOrCertificate ValidSanitaryControlExemptionOrCertificate {
+ get {
+ return this.validSanitaryControlExemptionOrCertificateField;
+ }
+ set {
+ this.validSanitaryControlExemptionOrCertificateField = value;
+ }
+ }
+
+ ///
+ public bool SanitaryControlReinspectionRequired {
+ get {
+ return this.sanitaryControlReinspectionRequiredField;
+ }
+ set {
+ this.sanitaryControlReinspectionRequiredField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool SanitaryControlReinspectionRequiredSpecified {
+ get {
+ return this.sanitaryControlReinspectionRequiredFieldSpecified;
+ }
+ set {
+ this.sanitaryControlReinspectionRequiredFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool InfectedAreaVisited {
+ get {
+ return this.infectedAreaVisitedField;
+ }
+ set {
+ this.infectedAreaVisitedField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool InfectedAreaVisitedSpecified {
+ get {
+ return this.infectedAreaVisitedFieldSpecified;
+ }
+ set {
+ this.infectedAreaVisitedFieldSpecified = value;
+ }
+ }
+
+ ///
+ public InfectedArea InfectedArea {
+ get {
+ return this.infectedAreaField;
+ }
+ set {
+ this.infectedAreaField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("PortsOfCallLast30Days")]
+ public PortOfCallLast30Days[] PortsOfCallLast30Days {
+ get {
+ return this.portsOfCallLast30DaysField;
+ }
+ set {
+ this.portsOfCallLast30DaysField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class INFO {
+
+ private ShippingAreaType shippingAreaField;
+
+ private string requestedPositionInPortOfCallField;
+
+ private string specialRequirementsOfShipAtBerthField;
+
+ private string constructionCharacteristicsOfShipField;
+
+ private bool fumigatedBulkCargoField;
+
+ private double deplacementSummerDraughtTNEField;
+
+ private bool deplacementSummerDraughtTNEFieldSpecified;
+
+ ///
+ public ShippingAreaType ShippingArea {
+ get {
+ return this.shippingAreaField;
+ }
+ set {
+ this.shippingAreaField = value;
+ }
+ }
+
+ ///
+ public string RequestedPositionInPortOfCall {
+ get {
+ return this.requestedPositionInPortOfCallField;
+ }
+ set {
+ this.requestedPositionInPortOfCallField = value;
+ }
+ }
+
+ ///
+ public string SpecialRequirementsOfShipAtBerth {
+ get {
+ return this.specialRequirementsOfShipAtBerthField;
+ }
+ set {
+ this.specialRequirementsOfShipAtBerthField = value;
+ }
+ }
+
+ ///
+ public string ConstructionCharacteristicsOfShip {
+ get {
+ return this.constructionCharacteristicsOfShipField;
+ }
+ set {
+ this.constructionCharacteristicsOfShipField = value;
+ }
+ }
+
+ ///
+ public bool FumigatedBulkCargo {
+ get {
+ return this.fumigatedBulkCargoField;
+ }
+ set {
+ this.fumigatedBulkCargoField = value;
+ }
+ }
+
+ ///
+ public double DeplacementSummerDraughtTNE {
+ get {
+ return this.deplacementSummerDraughtTNEField;
+ }
+ set {
+ this.deplacementSummerDraughtTNEField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool DeplacementSummerDraughtTNESpecified {
+ get {
+ return this.deplacementSummerDraughtTNEFieldSpecified;
+ }
+ set {
+ this.deplacementSummerDraughtTNEFieldSpecified = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum ShippingAreaType {
+
+ ///
+ EUROPE,
+
+ ///
+ NORTH_BALTIC_SEA,
+
+ ///
+ OVERSEAS,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class TIEFD {
+
+ private double draughtUponDepartureDMTField;
+
+ ///
+ public double draughtUponDepartureDMT {
+ get {
+ return this.draughtUponDepartureDMTField;
+ }
+ set {
+ this.draughtUponDepartureDMTField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class TIEFA {
+
+ private double draughtUponArrivalDMTField;
+
+ ///
+ public double DraughtUponArrivalDMT {
+ get {
+ return this.draughtUponArrivalDMTField;
+ }
+ set {
+ this.draughtUponArrivalDMTField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class CrewMember {
+
+ private string lastNameField;
+
+ private string firstNameField;
+
+ private string placeOfBirthField;
+
+ private System.DateTime dateOfBirthField;
+
+ private GenderType genderField;
+
+ private bool genderFieldSpecified;
+
+ private string nationalityField;
+
+ private IdentityDocumentType identityDocumentTypeField;
+
+ private string identityDocumentIdField;
+
+ private string visaNumberField;
+
+ private string dutyField;
+
+ ///
+ public string LastName {
+ get {
+ return this.lastNameField;
+ }
+ set {
+ this.lastNameField = value;
+ }
+ }
+
+ ///
+ public string FirstName {
+ get {
+ return this.firstNameField;
+ }
+ set {
+ this.firstNameField = value;
+ }
+ }
+
+ ///
+ public string PlaceOfBirth {
+ get {
+ return this.placeOfBirthField;
+ }
+ set {
+ this.placeOfBirthField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime DateOfBirth {
+ get {
+ return this.dateOfBirthField;
+ }
+ set {
+ this.dateOfBirthField = value;
+ }
+ }
+
+ ///
+ public GenderType Gender {
+ get {
+ return this.genderField;
+ }
+ set {
+ this.genderField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool GenderSpecified {
+ get {
+ return this.genderFieldSpecified;
+ }
+ set {
+ this.genderFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string Nationality {
+ get {
+ return this.nationalityField;
+ }
+ set {
+ this.nationalityField = value;
+ }
+ }
+
+ ///
+ public IdentityDocumentType IdentityDocumentType {
+ get {
+ return this.identityDocumentTypeField;
+ }
+ set {
+ this.identityDocumentTypeField = value;
+ }
+ }
+
+ ///
+ public string IdentityDocumentId {
+ get {
+ return this.identityDocumentIdField;
+ }
+ set {
+ this.identityDocumentIdField = value;
+ }
+ }
+
+ ///
+ public string VisaNumber {
+ get {
+ return this.visaNumberField;
+ }
+ set {
+ this.visaNumberField = value;
+ }
+ }
+
+ ///
+ public string Duty {
+ get {
+ return this.dutyField;
+ }
+ set {
+ this.dutyField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class Cargo {
+
+ private CargoHandlingType cargoHandlingTypeField;
+
+ private string cargoCodeNSTField;
+
+ private int cargoNumberOfItemsField;
+
+ private bool cargoNumberOfItemsFieldSpecified;
+
+ private double cargoGrossQuantityTNEField;
+
+ private bool cargoGrossQuantityTNEFieldSpecified;
+
+ ///
+ public CargoHandlingType CargoHandlingType {
+ get {
+ return this.cargoHandlingTypeField;
+ }
+ set {
+ this.cargoHandlingTypeField = value;
+ }
+ }
+
+ ///
+ public string CargoCodeNST {
+ get {
+ return this.cargoCodeNSTField;
+ }
+ set {
+ this.cargoCodeNSTField = value;
+ }
+ }
+
+ ///
+ public int CargoNumberOfItems {
+ get {
+ return this.cargoNumberOfItemsField;
+ }
+ set {
+ this.cargoNumberOfItemsField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool CargoNumberOfItemsSpecified {
+ get {
+ return this.cargoNumberOfItemsFieldSpecified;
+ }
+ set {
+ this.cargoNumberOfItemsFieldSpecified = value;
+ }
+ }
+
+ ///
+ public double CargoGrossQuantityTNE {
+ get {
+ return this.cargoGrossQuantityTNEField;
+ }
+ set {
+ this.cargoGrossQuantityTNEField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool CargoGrossQuantityTNESpecified {
+ get {
+ return this.cargoGrossQuantityTNEFieldSpecified;
+ }
+ set {
+ this.cargoGrossQuantityTNEFieldSpecified = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum CargoHandlingType {
+
+ ///
+ DISCHARGE,
+
+ ///
+ LOAD,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class BunkerFuel {
+
+ private string bunkerFuelTypeField;
+
+ private double bunkerFuelQuantityTNEField;
+
+ private bool bunkerFuelQuantityTNEFieldSpecified;
+
+ ///
+ public string BunkerFuelType {
+ get {
+ return this.bunkerFuelTypeField;
+ }
+ set {
+ this.bunkerFuelTypeField = value;
+ }
+ }
+
+ ///
+ public double BunkerFuelQuantityTNE {
+ get {
+ return this.bunkerFuelQuantityTNEField;
+ }
+ set {
+ this.bunkerFuelQuantityTNEField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool BunkerFuelQuantityTNESpecified {
+ get {
+ return this.bunkerFuelQuantityTNEFieldSpecified;
+ }
+ set {
+ this.bunkerFuelQuantityTNEFieldSpecified = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class PortOfItinerary {
+
+ private string portOfItineraryNameField;
+
+ private System.DateTime portOfItineraryETAField;
+
+ ///
+ public string PortOfItineraryName {
+ get {
+ return this.portOfItineraryNameField;
+ }
+ set {
+ this.portOfItineraryNameField = value;
+ }
+ }
+
+ ///
+ public System.DateTime PortOfItineraryETA {
+ get {
+ return this.portOfItineraryETAField;
+ }
+ set {
+ this.portOfItineraryETAField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class BPOL {
+
+ private bool stowawayOnBoardField;
+
+ private PortOfItinerary[] portOfItineraryField;
+
+ ///
+ public bool StowawayOnBoard {
+ get {
+ return this.stowawayOnBoardField;
+ }
+ set {
+ this.stowawayOnBoardField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("PortOfItinerary")]
+ public PortOfItinerary[] PortOfItinerary {
+ get {
+ return this.portOfItineraryField;
+ }
+ set {
+ this.portOfItineraryField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ATD {
+
+ private System.DateTime atdPortOfCallField;
+
+ ///
+ public System.DateTime AtdPortOfCall {
+ get {
+ return this.atdPortOfCallField;
+ }
+ set {
+ this.atdPortOfCallField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ATA {
+
+ private System.DateTime ataPortOfCallField;
+
+ ///
+ public System.DateTime AtaPortOfCall {
+ get {
+ return this.ataPortOfCallField;
+ }
+ set {
+ this.ataPortOfCallField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class CallPurpose {
+
+ private int callPurposeCodeField;
+
+ private string callPurposeDescriptionField;
+
+ ///
+ public int CallPurposeCode {
+ get {
+ return this.callPurposeCodeField;
+ }
+ set {
+ this.callPurposeCodeField = value;
+ }
+ }
+
+ ///
+ public string CallPurposeDescription {
+ get {
+ return this.callPurposeDescriptionField;
+ }
+ set {
+ this.callPurposeDescriptionField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class NOA_NOD {
+
+ private System.DateTime etaToPortOfCallField;
+
+ private bool etaToPortOfCallFieldSpecified;
+
+ private System.DateTime etdFromPortOfCallField;
+
+ private bool etdFromPortOfCallFieldSpecified;
+
+ private CallPurpose[] callPurposeField;
+
+ private System.DateTime etaToKielCanalField;
+
+ private bool etaToKielCanalFieldSpecified;
+
+ private System.DateTime etdFromKielCanalField;
+
+ private bool etdFromKielCanalFieldSpecified;
+
+ private string lastPortField;
+
+ private System.DateTime etdFromLastPortField;
+
+ private bool etdFromLastPortFieldSpecified;
+
+ private string nextPortField;
+
+ private System.DateTime etaToNextPortField;
+
+ private bool etaToNextPortFieldSpecified;
+
+ ///
+ public System.DateTime EtaToPortOfCall {
+ get {
+ return this.etaToPortOfCallField;
+ }
+ set {
+ this.etaToPortOfCallField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool EtaToPortOfCallSpecified {
+ get {
+ return this.etaToPortOfCallFieldSpecified;
+ }
+ set {
+ this.etaToPortOfCallFieldSpecified = value;
+ }
+ }
+
+ ///
+ public System.DateTime EtdFromPortOfCall {
+ get {
+ return this.etdFromPortOfCallField;
+ }
+ set {
+ this.etdFromPortOfCallField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool EtdFromPortOfCallSpecified {
+ get {
+ return this.etdFromPortOfCallFieldSpecified;
+ }
+ set {
+ this.etdFromPortOfCallFieldSpecified = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("CallPurpose")]
+ public CallPurpose[] CallPurpose {
+ get {
+ return this.callPurposeField;
+ }
+ set {
+ this.callPurposeField = value;
+ }
+ }
+
+ ///
+ public System.DateTime EtaToKielCanal {
+ get {
+ return this.etaToKielCanalField;
+ }
+ set {
+ this.etaToKielCanalField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool EtaToKielCanalSpecified {
+ get {
+ return this.etaToKielCanalFieldSpecified;
+ }
+ set {
+ this.etaToKielCanalFieldSpecified = value;
+ }
+ }
+
+ ///
+ public System.DateTime EtdFromKielCanal {
+ get {
+ return this.etdFromKielCanalField;
+ }
+ set {
+ this.etdFromKielCanalField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool EtdFromKielCanalSpecified {
+ get {
+ return this.etdFromKielCanalFieldSpecified;
+ }
+ set {
+ this.etdFromKielCanalFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string LastPort {
+ get {
+ return this.lastPortField;
+ }
+ set {
+ this.lastPortField = value;
+ }
+ }
+
+ ///
+ public System.DateTime EtdFromLastPort {
+ get {
+ return this.etdFromLastPortField;
+ }
+ set {
+ this.etdFromLastPortField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool EtdFromLastPortSpecified {
+ get {
+ return this.etdFromLastPortFieldSpecified;
+ }
+ set {
+ this.etdFromLastPortFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string NextPort {
+ get {
+ return this.nextPortField;
+ }
+ set {
+ this.nextPortField = value;
+ }
+ }
+
+ ///
+ public System.DateTime EtaToNextPort {
+ get {
+ return this.etaToNextPortField;
+ }
+ set {
+ this.etaToNextPortField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool EtaToNextPortSpecified {
+ get {
+ return this.etaToNextPortFieldSpecified;
+ }
+ set {
+ this.etaToNextPortFieldSpecified = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class Visit {
+
+ private MessageHeaderType messageHeaderField;
+
+ private MessageType messageTypeField;
+
+ private string visitIDField;
+
+ private string transitIDField;
+
+ private bool cancelledField;
+
+ private bool cancelledFieldSpecified;
+
+ private bool regularFerryRouteField;
+
+ private bool regularFerryRouteFieldSpecified;
+
+ private ReportingParty reportingPartyField;
+
+ private NOA_NOD nOA_NODField;
+
+ private ATA aTAField;
+
+ private ATD aTDField;
+
+ private BPOL bPOLField;
+
+ private BunkerFuel[] bKRAField;
+
+ private BunkerFuel[] bKRDField;
+
+ private Cargo[] lADGField;
+
+ private CrewMember[] cREWField;
+
+ private TIEFA tIEFAField;
+
+ private TIEFD tIEFDField;
+
+ private INFO iNFOField;
+
+ private MDH mDHField;
+
+ private NAME nAMEField;
+
+ private Passenger[] pASField;
+
+ private PoBA poBAField;
+
+ private PoBD poBDField;
+
+ private PRE72H pRE72HField;
+
+ private SEC sECField;
+
+ private Service[] sERVField;
+
+ private TowageArrival[] tOWAField;
+
+ private TowageDeparture[] tOWDField;
+
+ private STAT sTATField;
+
+ private WAS wASField;
+
+ private REG_VISIT rEG_VISITField;
+
+ private REG_TRANSIT rEG_TRANSITField;
+
+ private ResetNotification[] rESETField;
+
+ ///
+ public MessageHeaderType MessageHeader {
+ get {
+ return this.messageHeaderField;
+ }
+ set {
+ this.messageHeaderField = value;
+ }
+ }
+
+ ///
+ public MessageType MessageType {
+ get {
+ return this.messageTypeField;
+ }
+ set {
+ this.messageTypeField = value;
+ }
+ }
+
+ ///
+ public string VisitID {
+ get {
+ return this.visitIDField;
+ }
+ set {
+ this.visitIDField = value;
+ }
+ }
+
+ ///
+ public string TransitID {
+ get {
+ return this.transitIDField;
+ }
+ set {
+ this.transitIDField = value;
+ }
+ }
+
+ ///
+ public bool Cancelled {
+ get {
+ return this.cancelledField;
+ }
+ set {
+ this.cancelledField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool CancelledSpecified {
+ get {
+ return this.cancelledFieldSpecified;
+ }
+ set {
+ this.cancelledFieldSpecified = value;
+ }
+ }
+
+ ///
+ public bool RegularFerryRoute {
+ get {
+ return this.regularFerryRouteField;
+ }
+ set {
+ this.regularFerryRouteField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool RegularFerryRouteSpecified {
+ get {
+ return this.regularFerryRouteFieldSpecified;
+ }
+ set {
+ this.regularFerryRouteFieldSpecified = value;
+ }
+ }
+
+ ///
+ public ReportingParty ReportingParty {
+ get {
+ return this.reportingPartyField;
+ }
+ set {
+ this.reportingPartyField = value;
+ }
+ }
+
+ ///
+ public NOA_NOD NOA_NOD {
+ get {
+ return this.nOA_NODField;
+ }
+ set {
+ this.nOA_NODField = value;
+ }
+ }
+
+ ///
+ public ATA ATA {
+ get {
+ return this.aTAField;
+ }
+ set {
+ this.aTAField = value;
+ }
+ }
+
+ ///
+ public ATD ATD {
+ get {
+ return this.aTDField;
+ }
+ set {
+ this.aTDField = value;
+ }
+ }
+
+ ///
+ public BPOL BPOL {
+ get {
+ return this.bPOLField;
+ }
+ set {
+ this.bPOLField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("BunkerFuelArrival", IsNullable=false)]
+ public BunkerFuel[] BKRA {
+ get {
+ return this.bKRAField;
+ }
+ set {
+ this.bKRAField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("BunkerFuelDeparture", IsNullable=false)]
+ public BunkerFuel[] BKRD {
+ get {
+ return this.bKRDField;
+ }
+ set {
+ this.bKRDField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public Cargo[] LADG {
+ get {
+ return this.lADGField;
+ }
+ set {
+ this.lADGField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public CrewMember[] CREW {
+ get {
+ return this.cREWField;
+ }
+ set {
+ this.cREWField = value;
+ }
+ }
+
+ ///
+ public TIEFA TIEFA {
+ get {
+ return this.tIEFAField;
+ }
+ set {
+ this.tIEFAField = value;
+ }
+ }
+
+ ///
+ public TIEFD TIEFD {
+ get {
+ return this.tIEFDField;
+ }
+ set {
+ this.tIEFDField = value;
+ }
+ }
+
+ ///
+ public INFO INFO {
+ get {
+ return this.iNFOField;
+ }
+ set {
+ this.iNFOField = value;
+ }
+ }
+
+ ///
+ public MDH MDH {
+ get {
+ return this.mDHField;
+ }
+ set {
+ this.mDHField = value;
+ }
+ }
+
+ ///
+ public NAME NAME {
+ get {
+ return this.nAMEField;
+ }
+ set {
+ this.nAMEField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public Passenger[] PAS {
+ get {
+ return this.pASField;
+ }
+ set {
+ this.pASField = value;
+ }
+ }
+
+ ///
+ public PoBA PoBA {
+ get {
+ return this.poBAField;
+ }
+ set {
+ this.poBAField = value;
+ }
+ }
+
+ ///
+ public PoBD PoBD {
+ get {
+ return this.poBDField;
+ }
+ set {
+ this.poBDField = value;
+ }
+ }
+
+ ///
+ public PRE72H PRE72H {
+ get {
+ return this.pRE72HField;
+ }
+ set {
+ this.pRE72HField = value;
+ }
+ }
+
+ ///
+ public SEC SEC {
+ get {
+ return this.sECField;
+ }
+ set {
+ this.sECField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public Service[] SERV {
+ get {
+ return this.sERVField;
+ }
+ set {
+ this.sERVField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public TowageArrival[] TOWA {
+ get {
+ return this.tOWAField;
+ }
+ set {
+ this.tOWAField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute("TowageOnDeparture", IsNullable=false)]
+ public TowageDeparture[] TOWD {
+ get {
+ return this.tOWDField;
+ }
+ set {
+ this.tOWDField = value;
+ }
+ }
+
+ ///
+ public STAT STAT {
+ get {
+ return this.sTATField;
+ }
+ set {
+ this.sTATField = value;
+ }
+ }
+
+ ///
+ public WAS WAS {
+ get {
+ return this.wASField;
+ }
+ set {
+ this.wASField = value;
+ }
+ }
+
+ ///
+ public REG_VISIT REG_VISIT {
+ get {
+ return this.rEG_VISITField;
+ }
+ set {
+ this.rEG_VISITField = value;
+ }
+ }
+
+ ///
+ public REG_TRANSIT REG_TRANSIT {
+ get {
+ return this.rEG_TRANSITField;
+ }
+ set {
+ this.rEG_TRANSITField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public ResetNotification[] RESET {
+ get {
+ return this.rESETField;
+ }
+ set {
+ this.rESETField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum MessageType {
+
+ ///
+ DRAFT,
+
+ ///
+ FULL,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class ReportingParty {
+
+ private ReportingPartyType typeField;
+
+ private bool typeFieldSpecified;
+
+ private string nameField;
+
+ private string streetNameField;
+
+ private string streetNumberField;
+
+ private string postalCodeField;
+
+ private string cityField;
+
+ private string countryField;
+
+ private string lastNameField;
+
+ private string firstNameField;
+
+ private string phoneField;
+
+ private string faxField;
+
+ private string eMailField;
+
+ ///
+ public ReportingPartyType Type {
+ get {
+ return this.typeField;
+ }
+ set {
+ this.typeField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public bool TypeSpecified {
+ get {
+ return this.typeFieldSpecified;
+ }
+ set {
+ this.typeFieldSpecified = value;
+ }
+ }
+
+ ///
+ public string Name {
+ get {
+ return this.nameField;
+ }
+ set {
+ this.nameField = value;
+ }
+ }
+
+ ///
+ public string StreetName {
+ get {
+ return this.streetNameField;
+ }
+ set {
+ this.streetNameField = value;
+ }
+ }
+
+ ///
+ public string StreetNumber {
+ get {
+ return this.streetNumberField;
+ }
+ set {
+ this.streetNumberField = value;
+ }
+ }
+
+ ///
+ public string PostalCode {
+ get {
+ return this.postalCodeField;
+ }
+ set {
+ this.postalCodeField = value;
+ }
+ }
+
+ ///
+ public string City {
+ get {
+ return this.cityField;
+ }
+ set {
+ this.cityField = value;
+ }
+ }
+
+ ///
+ public string Country {
+ get {
+ return this.countryField;
+ }
+ set {
+ this.countryField = value;
+ }
+ }
+
+ ///
+ public string LastName {
+ get {
+ return this.lastNameField;
+ }
+ set {
+ this.lastNameField = value;
+ }
+ }
+
+ ///
+ public string FirstName {
+ get {
+ return this.firstNameField;
+ }
+ set {
+ this.firstNameField = value;
+ }
+ }
+
+ ///
+ public string Phone {
+ get {
+ return this.phoneField;
+ }
+ set {
+ this.phoneField = value;
+ }
+ }
+
+ ///
+ public string Fax {
+ get {
+ return this.faxField;
+ }
+ set {
+ this.faxField = value;
+ }
+ }
+
+ ///
+ public string EMail {
+ get {
+ return this.eMailField;
+ }
+ set {
+ this.eMailField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public enum ReportingPartyType {
+
+ ///
+ AGENT,
+
+ ///
+ CARRIER,
+
+ ///
+ CHARTERER,
+
+ ///
+ MASTER,
+
+ ///
+ OTHERS,
+
+ ///
+ PORT_AUTHORITY,
+
+ ///
+ SHIPOWNER,
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class REG_VISIT {
+
+ private string imoNumberField;
+
+ private string eniNumberField;
+
+ private string portOfCallField;
+
+ private System.DateTime etaPortOfCallField;
+
+ ///
+ public string ImoNumber {
+ get {
+ return this.imoNumberField;
+ }
+ set {
+ this.imoNumberField = value;
+ }
+ }
+
+ ///
+ public string EniNumber {
+ get {
+ return this.eniNumberField;
+ }
+ set {
+ this.eniNumberField = value;
+ }
+ }
+
+ ///
+ public string PortOfCall {
+ get {
+ return this.portOfCallField;
+ }
+ set {
+ this.portOfCallField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime EtaPortOfCall {
+ get {
+ return this.etaPortOfCallField;
+ }
+ set {
+ this.etaPortOfCallField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class REG_TRANSIT {
+
+ private string imoNumberField;
+
+ private string eniNumberField;
+
+ private System.DateTime etaKielCanalField;
+
+ ///
+ public string ImoNumber {
+ get {
+ return this.imoNumberField;
+ }
+ set {
+ this.imoNumberField = value;
+ }
+ }
+
+ ///
+ public string EniNumber {
+ get {
+ return this.eniNumberField;
+ }
+ set {
+ this.eniNumberField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(DataType="date")]
+ public System.DateTime EtaKielCanal {
+ get {
+ return this.etaKielCanalField;
+ }
+ set {
+ this.etaKielCanalField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class RequestId {
+
+ private MessageHeaderType messageHeaderField;
+
+ private ReportingParty reportingPartyField;
+
+ private REG_VISIT rEG_VISITField;
+
+ private REG_TRANSIT rEG_TRANSITField;
+
+ ///
+ public MessageHeaderType MessageHeader {
+ get {
+ return this.messageHeaderField;
+ }
+ set {
+ this.messageHeaderField = value;
+ }
+ }
+
+ ///
+ public ReportingParty ReportingParty {
+ get {
+ return this.reportingPartyField;
+ }
+ set {
+ this.reportingPartyField = value;
+ }
+ }
+
+ ///
+ public REG_VISIT REG_VISIT {
+ get {
+ return this.rEG_VISITField;
+ }
+ set {
+ this.rEG_VISITField = value;
+ }
+ }
+
+ ///
+ public REG_TRANSIT REG_TRANSIT {
+ get {
+ return this.rEG_TRANSITField;
+ }
+ set {
+ this.rEG_TRANSITField = value;
+ }
+ }
+}
+
+///
+[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
+[System.SerializableAttribute()]
+[System.Diagnostics.DebuggerStepThroughAttribute()]
+[System.ComponentModel.DesignerCategoryAttribute("code")]
+[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://e-declaration.dakosy.de/EdiMessages")]
+public partial class InterchangeBody {
+
+ private RequestId[] requestIdListField;
+
+ private Visit[] visitListField;
+
+ private EdiResponse[] ediResponseListField;
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public RequestId[] RequestIdList {
+ get {
+ return this.requestIdListField;
+ }
+ set {
+ this.requestIdListField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public Visit[] VisitList {
+ get {
+ return this.visitListField;
+ }
+ set {
+ this.visitListField = value;
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
+ public EdiResponse[] EdiResponseList {
+ get {
+ return this.ediResponseListField;
+ }
+ set {
+ this.ediResponseListField = value;
+ }
+ }
+}
diff --git a/nsw/Source/bsmd.database/Message.cs b/nsw/Source/bsmd.database/Message.cs
index 2cc12476..b11c1e8a 100644
--- a/nsw/Source/bsmd.database/Message.cs
+++ b/nsw/Source/bsmd.database/Message.cs
@@ -13,9 +13,13 @@ namespace bsmd.database
///
public class Message : IDatabaseEntity
{
+ private Guid? id;
private Guid messageHeaderId;
+ private Guid? messageCoreId;
private MessageCore messageCore;
+ private Guid? reportingPartyId;
private ReportingParty reportingParty;
+ private DateTime? created;
#region Enumerations
@@ -39,7 +43,9 @@ namespace bsmd.database
ALL,
MESSAGETYPE,
REPORTINGPARTY,
- MESSAGEHEADER
+ MESSAGEHEADER,
+ BSMDSTATUS,
+ WETRIS_SHIP_ID
}
///
@@ -47,6 +53,7 @@ namespace bsmd.database
///
public enum BSMDStatus
{
+ UNDEFINED,
PREPARE,
TOSEND,
SENT,
@@ -61,6 +68,7 @@ namespace bsmd.database
///
public enum NSWProvider
{
+ UNDEFINED,
DBH,
DAKOSY,
DUDR
@@ -73,7 +81,7 @@ namespace bsmd.database
///
/// Primärschlüssel
///
- public Guid MessageHeaderId { get { return this.messageHeaderId; } }
+ public Guid? Id { get { return this.id; } }
///
/// Dieser Wert wird vom NSW / HIS vergeben
@@ -99,6 +107,8 @@ namespace bsmd.database
public MessageStatus? Status { get; set; }
+ public DateTime? Created { get { return this.created; } }
+
///
/// Nachrichtentyp der abgeleiteten Meldeklassen
///
@@ -130,60 +140,71 @@ namespace bsmd.database
public bool IsNew
{
- get { throw new NotImplementedException(); }
+ get { return !this.id.HasValue; }
}
- public void Save(System.Data.IDbConnection connection)
+ public void PrepareSave(IDbCommand cmdParam)
{
- SqlConnection sqlCon = connection as SqlConnection;
- if (sqlCon == null) return;
+ SqlCommand cmd = cmdParam as SqlCommand;
+
+ if (this.ClientRequestId != null)
+ cmd.Parameters.AddWithValue("@CLIENTREQUESTID", Guid.Parse(this.ClientRequestId));
+ else
+ cmd.Parameters.AddWithValue("@CLIENTREQUESTID", DBNull.Value);
+ cmd.Parameters.AddWithValue("@MESSAGECOREID", this.MessageCore.Id);
+ if (this.MessageId.HasValue)
+ cmd.Parameters.AddWithValue("@MESSAGEID", this.MessageId.Value);
+ else
+ cmd.Parameters.AddWithValue("@MESSAGEID", DBNull.Value);
+ if (this.SentAt.HasValue)
+ cmd.Parameters.AddWithValue("@SENTAT", this.SentAt.Value);
+ else
+ cmd.Parameters.AddWithValue("@SENTAT", DBNull.Value);
+ if (this.ReceivedAt.HasValue)
+ cmd.Parameters.AddWithValue("@RECEIVEDAT", this.ReceivedAt.Value);
+ else
+ cmd.Parameters.AddWithValue("@RECEIVEDAT", DBNull.Value);
+ if (this.RequestedAt.HasValue)
+ cmd.Parameters.AddWithValue("@REQUESTEDAT", this.RequestedAt.Value);
+ else
+ cmd.Parameters.AddWithValue("@REQUESTEDAT", DBNull.Value);
+ cmd.Parameters.AddWithValue("@NOTIFICATIONCLASS", (int)this.MessageNotificationClass);
+ cmd.Parameters.AddWithValue("@RESET", this.Reset);
+ cmd.Parameters.AddWithValue("@CANCEL", this.Cancel);
+ if (this.Status.HasValue)
+ cmd.Parameters.AddWithValue("@STATUS", (int)this.Status.Value);
+ else
+ cmd.Parameters.AddWithValue("@STATUS", DBNull.Value);
+ cmd.Parameters.AddWithValue("@REPORTINGPARTYID", this.ReportingParty.Id);
+ cmd.Parameters.AddWithValue("@BSMDSTATUS", this.InternalStatus);
+ cmd.Parameters.AddWithValue("@HIS", this.HIS);
+
if (this.IsNew)
{
- string query = "INSERT INTO MessageHeader (ClientRequestId, MessageCoreId, MessageId, SentAt, ReceivedAt, RequestedAt, NotificationClass, Reset, Cancel, Status, ReportingPartyId) " +
- "VALUES (@CLIENTREQUESTID, @MESSAGECOREID, @MESSAGEID, @SENTAT, @RECEIVEDAT, @REQUESTEDAT, @NOTIFICATIONCLASS, @RESET, @CANCEL, @STATUS, @REPORTINGPARTYID)";
- SqlCommand cmd = new SqlCommand(query, sqlCon);
- if (this.ClientRequestId != null)
- cmd.Parameters.AddWithValue("@CLIENTREQUESTID", this.ClientRequestId);
- else
- cmd.Parameters.AddWithValue("@CLIENTREQUESTID", DBNull.Value);
- cmd.Parameters.AddWithValue("@MESSAGECOREID", this.MessageCore.Id);
- if (this.MessageId.HasValue)
- cmd.Parameters.AddWithValue("@MESSAGEID", this.MessageId.Value);
- else
- cmd.Parameters.AddWithValue("@MESSAGEID", DBNull.Value);
- if (this.SentAt.HasValue)
- cmd.Parameters.AddWithValue("@SENTAT", this.SentAt.Value);
- else
- cmd.Parameters.AddWithValue("@SENTAT", DBNull.Value);
- if (this.ReceivedAt.HasValue)
- cmd.Parameters.AddWithValue("@RECEIVEDAT", this.ReceivedAt.Value);
- else
- cmd.Parameters.AddWithValue("@RECEIVEDAT", DBNull.Value);
- if (this.RequestedAt.HasValue)
- cmd.Parameters.AddWithValue("@REQUESTEDAT", this.RequestedAt.Value);
- else
- cmd.Parameters.AddWithValue("@REQUESTEDAT", DBNull.Value);
- cmd.Parameters.AddWithValue("@NOTIFICATIONCLASS", (int) this.MessageNotificationClass);
- cmd.Parameters.AddWithValue("@RESET", this.Reset);
- cmd.Parameters.AddWithValue("@CANCEL", this.Cancel);
- if (this.Status.HasValue)
- cmd.Parameters.AddWithValue("@STATUS", (int)this.Status.Value);
- else
- cmd.Parameters.AddWithValue("@STATUS", DBNull.Value);
- cmd.Parameters.AddWithValue("@REPORTINGPARTYID", this.ReportingParty.Id);
-
+ string query = "INSERT INTO [MessageHeader] (ClientRequestId, MessageCoreId, MessageId, SentAt, ReceivedAt, RequestedAt, NotificationClass, Reset, Cancel, Status, ReportingPartyId, BSMDStatus, HIS) " +
+ "VALUES (@CLIENTREQUESTID, @MESSAGECOREID, @MESSAGEID, @SENTAT, @RECEIVEDAT, @REQUESTEDAT, @NOTIFICATIONCLASS, @RESET, @CANCEL, @STATUS, @REPORTINGPARTYID, @BSMDSTATUS, @HIS)";
+ cmd.CommandText = query;
+ }
+ else
+ {
+ cmd.CommandText = "UPDATE [MessageHeader] SET ClientRequestId = @CLIENTREQUESTID, MessageId = @MESSAGEID, SentAt = @SENTAT, ReceivedAt = @RECEIVEDAT, RequestedAt = @REQUESTEDAT, " +
+ "NotificationClass = @NOTIFICATIONCLASS, Reset = @RESET, Cancel = @CANCEL, Status = @STATUS, ReportingPartyId = @REPORTINGPARTYID, BSMDStatus = @BSMDSTATUS, HIS = @HIS " +
+ "WHERE Id = @ID";
+ cmd.Parameters.AddWithValue("@ID", this.messageHeaderId);
}
}
- public void Delete(System.Data.IDbConnection connection)
+ public void PrepareDelete(IDbCommand cmdParam)
{
- throw new NotImplementedException();
+ SqlCommand cmd = cmdParam as SqlCommand;
+ cmd.CommandText = "DELETE FROM [MessageHeader] WHERE Id = @ID";
+ cmd.Parameters.AddWithValue("@ID", this.messageHeaderId);
}
public void PrepareLoadCommand(IDbCommand cmd, LoadFilter filter, params object[] criteria )
{
- string query = "SELECT Id, ClientRequestId, MessageCoreId, MessageId, SentAt, ReceivedAt, NotificationClass, " +
- "Reset, Cancel, Status, ReportingPartyId FROM MessageHeader ";
+ string query = "SELECT Id, ClientRequestId, MessageCoreId, MessageId, SentAt, ReceivedAt, RequestedAt, NotificationClass, " +
+ "Reset, Cancel, Status, ReportingPartyId, BSMDStatus, HIS, Created FROM MessageHeader ";
switch (filter)
{
@@ -201,6 +222,31 @@ namespace bsmd.database
cmd.CommandText = query;
}
+ public List LoadList(IDataReader reader)
+ {
+ List result = new List();
+ while (reader.Read())
+ {
+ Message msg = new Message();
+ msg.id = reader.GetGuid(0);
+ if (!reader.IsDBNull(1)) msg.ClientRequestId = reader.GetGuid(1).ToString();
+ msg.messageCoreId = reader.GetGuid(2);
+ if(!reader.IsDBNull(3)) msg.MessageId = reader.GetGuid(3);
+ if (!reader.IsDBNull(4)) msg.SentAt = reader.GetDateTime(4);
+ if (!reader.IsDBNull(5)) msg.ReceivedAt = reader.GetDateTime(5);
+ if (!reader.IsDBNull(6)) msg.RequestedAt = reader.GetDateTime(6);
+ if (!reader.IsDBNull(7)) msg.MessageNotificationClass = (NotificationClass) Enum.ToObject(typeof(NotificationClass), reader.GetByte(7));
+ if (!reader.IsDBNull(8)) msg.Reset = reader.GetBoolean(8);
+ if (!reader.IsDBNull(9)) msg.Cancel = reader.GetBoolean(9);
+ if (!reader.IsDBNull(10)) msg.Status = (MessageStatus)Enum.ToObject(typeof(MessageStatus), reader.GetByte(10));
+ if (!reader.IsDBNull(11)) msg.reportingPartyId = reader.GetGuid(11);
+ if (!reader.IsDBNull(12)) msg.InternalStatus = (BSMDStatus)Enum.ToObject(typeof(BSMDStatus), reader.GetByte(12));
+ if (!reader.IsDBNull(13)) msg.HIS = (NSWProvider)Enum.ToObject(typeof(NSWProvider), reader.GetByte(13));
+ if (!reader.IsDBNull(14)) msg.created = reader.GetDateTime(14);
+ result.Add(msg);
+ }
+ return result;
+ }
#endregion
diff --git a/nsw/Source/bsmd.database/MessageCore.cs b/nsw/Source/bsmd.database/MessageCore.cs
index 23e466d6..87c6d0be 100644
--- a/nsw/Source/bsmd.database/MessageCore.cs
+++ b/nsw/Source/bsmd.database/MessageCore.cs
@@ -1,4 +1,6 @@
using System;
+using System.Data;
+using System.Data.SqlClient;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -6,14 +8,18 @@ using System.Threading.Tasks;
namespace bsmd.database
{
- public class MessageCore
+ public class MessageCore : IDatabaseEntity
{
private Guid id;
+ private Guid? previous;
+ private Guid? next;
+ private Guid? customerId;
+ private int? wetris_zz_56_datensatz_id;
#region Properties
- public Guid Id { get { return this.id; } }
+ public Guid? Id { get { return this.id; } }
public string VisitId { get; set; }
@@ -27,13 +33,90 @@ namespace bsmd.database
public string Portname { get; set; }
- public DateTime ETA { get; set; }
+ public DateTime ETA { get; set; }
public bool IsTransit { get; set; }
public Message.BSMDStatus BSMDStatus { get; set; }
+ public Message.NSWProvider InitialHIS { get; set; }
+
#endregion
+
+ public bool IsNew
+ {
+ get { return !this.Id.HasValue; }
+ }
+
+ public void PrepareSave(IDbCommand cmd)
+ {
+ if (this.IsNew)
+ {
+ string query = "INSERT INTO [MessageCore] (VisitId, TransitId, IMO, ENI, PoC, Portname, ETA, CustomerId, " +
+ "Previous, Next, IsTransit, Wetris_zz_56_datensatz_id, BSMDStatus, InitialHIS) VALUES " +
+ "(@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8, @P9, @P10, @P11, @P12, @P13, @P14)";
+
+ }
+ else
+ {
+
+ }
+ }
+
+ public void PrepareDelete(IDbCommand cmd)
+ {
+ throw new NotImplementedException();
+ }
+
+ public void PrepareLoadCommand(System.Data.IDbCommand cmd, Message.LoadFilter filter, params object[] criteria)
+ {
+ string query = "SELECT Id, VisitId, TransitId, IMO, ENI, PoC, Portname, " +
+ "ETA, CustomerId, Previous, Next, IsTransit, Wetris_zz_56_datensatz_id, BSMDStatus, InitialHIS FROM [MessageCore] ";
+
+ switch (filter)
+ {
+ case Message.LoadFilter.WETRIS_SHIP_ID:
+ {
+ query += "WHERE Wetris_zz_56_datensatz_id = @WETRIS";
+ ((SqlCommand)cmd).Parameters.AddWithValue("WETRIS", criteria[0]);
+ break;
+ }
+ case Message.LoadFilter.ALL:
+ default:
+ break;
+ }
+
+ cmd.CommandText = query;
+ }
+
+ public List LoadList(IDataReader reader)
+ {
+ List result = new List();
+ while(reader.Read())
+ {
+ MessageCore core = new MessageCore();
+ core.id = reader.GetGuid(0);
+ if (!reader.IsDBNull(1)) core.VisitId = reader.GetString(1);
+ if (!reader.IsDBNull(2)) core.TransitId = reader.GetString(2);
+ if (!reader.IsDBNull(3)) core.IMO = reader.GetString(3);
+ if (!reader.IsDBNull(4)) core.ENI = reader.GetString(4);
+ if (!reader.IsDBNull(5)) core.PoC = reader.GetString(5);
+ if (!reader.IsDBNull(6)) core.Portname = reader.GetString(6);
+ if (!reader.IsDBNull(7)) core.ETA = reader.GetDateTime(7);
+ if (!reader.IsDBNull(8)) core.customerId = reader.GetGuid(8);
+ if (!reader.IsDBNull(9)) core.previous = reader.GetGuid(9);
+ if (!reader.IsDBNull(10)) core.next = reader.GetGuid(10);
+ core.IsTransit = reader.GetBoolean(11);
+ if (!reader.IsDBNull(12)) core.wetris_zz_56_datensatz_id = reader.GetInt32(12);
+ core.BSMDStatus = (Message.BSMDStatus) Enum.ToObject(typeof(Message.BSMDStatus), reader.GetByte(13));
+ core.InitialHIS = (Message.NSWProvider) Enum.ToObject(typeof(Message.NSWProvider), reader.GetByte(14));
+
+ result.Add(core);
+ }
+ reader.Close();
+ return result;
+ }
+
}
}
diff --git a/nsw/Source/bsmd.database/bsmd.database.csproj b/nsw/Source/bsmd.database/bsmd.database.csproj
index e5623c15..cc797d5d 100644
--- a/nsw/Source/bsmd.database/bsmd.database.csproj
+++ b/nsw/Source/bsmd.database/bsmd.database.csproj
@@ -30,6 +30,9 @@
4
+
+ ..\packages\log4net.2.0.3\lib\net40-full\log4net.dll
+
@@ -42,6 +45,7 @@
+
@@ -50,6 +54,7 @@
+
diff --git a/nsw/Source/bsmd.dbh/bsmd.dbh.csproj b/nsw/Source/bsmd.dbh/bsmd.dbh.csproj
index 4973444e..83ac5709 100644
--- a/nsw/Source/bsmd.dbh/bsmd.dbh.csproj
+++ b/nsw/Source/bsmd.dbh/bsmd.dbh.csproj
@@ -30,6 +30,9 @@
4
+
+ ..\packages\log4net.2.0.3\lib\net40-full\log4net.dll
+
@@ -51,6 +54,9 @@
bsmd.database
+
+
+