diff --git a/ENI2/ENI2.csproj b/ENI2/ENI2.csproj index 7e7fdc1a..abdb9013 100644 --- a/ENI2/ENI2.csproj +++ b/ENI2/ENI2.csproj @@ -36,8 +36,8 @@ 5.4.0.0 true publish.html - 3 - 7.6.0.%2a + 0 + 7.7.0.%2a false true true diff --git a/bsmd.LockingService/bsmd.LockingService.csproj.user b/bsmd.LockingService/bsmd.LockingService.csproj.user index afa33dd1..3517ad61 100644 --- a/bsmd.LockingService/bsmd.LockingService.csproj.user +++ b/bsmd.LockingService/bsmd.LockingService.csproj.user @@ -2,7 +2,7 @@ true - Debug|Any CPU + Release|Any CPU diff --git a/bsmd.database/Properties/AssemblyProductInfo.cs b/bsmd.database/Properties/AssemblyProductInfo.cs index b432045f..500e1f5c 100644 --- a/bsmd.database/Properties/AssemblyProductInfo.cs +++ b/bsmd.database/Properties/AssemblyProductInfo.cs @@ -2,6 +2,6 @@ [assembly: AssemblyCompany("schick Informatik")] [assembly: AssemblyProduct("BSMD NSW interface")] -[assembly: AssemblyInformationalVersion("7.6.0")] +[assembly: AssemblyInformationalVersion("7.7.0")] [assembly: AssemblyCopyright("Copyright © 2014-2022 schick Informatik")] [assembly: AssemblyTrademark("")] \ No newline at end of file diff --git a/bsmd.database/Properties/AssemblyProjectInfo.cs b/bsmd.database/Properties/AssemblyProjectInfo.cs index 61f6ea94..771af8fe 100644 --- a/bsmd.database/Properties/AssemblyProjectInfo.cs +++ b/bsmd.database/Properties/AssemblyProjectInfo.cs @@ -1,4 +1,4 @@ using System.Reflection; -[assembly: AssemblyVersion("7.6.0.*")] +[assembly: AssemblyVersion("7.7.0.*")] diff --git a/bsmd.dbh/Properties/Settings.Designer.cs b/bsmd.dbh/Properties/Settings.Designer.cs index b3e3c500..81661d5f 100644 --- a/bsmd.dbh/Properties/Settings.Designer.cs +++ b/bsmd.dbh/Properties/Settings.Designer.cs @@ -23,16 +23,6 @@ namespace bsmd.dbh.Properties { } } - [global::System.Configuration.ApplicationScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] - [global::System.Configuration.DefaultSettingValueAttribute("https://edi-gate.dbh.de/test/bsmd-soap")] - public string bsmd_dbh_DBHWebReference_Dbh_Osis_Answ_Ws { - get { - return ((string)(this["bsmd_dbh_DBHWebReference_Dbh_Osis_Answ_Ws"])); - } - } - [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("00003050")] diff --git a/bsmd.dbh/Properties/Settings.settings b/bsmd.dbh/Properties/Settings.settings index f078fddb..a248a4c3 100644 --- a/bsmd.dbh/Properties/Settings.settings +++ b/bsmd.dbh/Properties/Settings.settings @@ -2,9 +2,6 @@ - - https://edi-gate.dbh.de/test/bsmd-soap - 00003050 diff --git a/bsmd.dbh/RequestUtil.cs b/bsmd.dbh/RequestUtil.cs index b481c892..a7dfb25d 100644 --- a/bsmd.dbh/RequestUtil.cs +++ b/bsmd.dbh/RequestUtil.cs @@ -377,6 +377,1213 @@ namespace bsmd.dbh break; #endregion + #region BPOL + case Message.NotificationClass.BPOL: + { + if (message.Elements[0] is BPOL bpol) + { + RootBPOL rootBPOL = new RootBPOL(); + RootBPOLPortOfItinerary[] poiArray = new RootBPOLPortOfItinerary[bpol.PortOfItineraries.Count]; + rootBPOL.PortOfItinerary = poiArray; + + for (int i = 0; i < bpol.PortOfItineraries.Count; i++) + { + RootBPOLPortOfItinerary port = new RootBPOLPortOfItinerary(); + PortOfItinerary portOfItinerary = bpol.PortOfItineraries[i] as PortOfItinerary; + if (portOfItinerary.PortOfItineraryETA.HasValue) + port.PortOfItineraryETA = portOfItinerary.PortOfItineraryETA.Value; + port.PortOfItineraryName = portOfItinerary.PortOfItineraryName; + poiArray[i] = port; + } + + if (bpol.StowawaysOnBoard.HasValue) + rootBPOL.StowawayOnBoard = bpol.StowawaysOnBoard.Value ? + RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + else + rootBPOL.StowawayOnBoard = RootSECValidISSCOnBoard.N; + + root.Items = new object[1]; + root.Items[0] = rootBPOL; + } + break; + } + + #endregion + + #region CREW + + case Message.NotificationClass.CREW: + { + + RootCREW rootCREW = new RootCREW(); + + rootCREW.CrewMember = new RootCREWCrewMember[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + CREW crew = message.Elements[i] as CREW; + rootCREW.CrewMember[i] = new RootCREWCrewMember(); + if (crew.CrewMemberDateOfBirth.HasValue) + rootCREW.CrewMember[i].CrewMemberDateOfBirth = crew.CrewMemberDateOfBirth.Value; + rootCREW.CrewMember[i].CrewMemberDuty = crew.CrewMemberDuty; + rootCREW.CrewMember[i].CrewMemberFirstName = crew.CrewMemberFirstName; + rootCREW.CrewMember[i].CrewMemberGenderSpecified = crew.CrewMemberGender.HasValue; + if (crew.CrewMemberGender.HasValue) + rootCREW.CrewMember[i].CrewMemberGender = (Gender)crew.CrewMemberGender.Value; + rootCREW.CrewMember[i].CrewMemberIdentityDocumentId = crew.CrewMemberIdentityDocumentId; + if (crew.CrewMemberIdentityDocumentType.HasValue) + rootCREW.CrewMember[i].CrewMemberIdentityDocumentType = (IdDocType)crew.CrewMemberIdentityDocumentType.Value; + rootCREW.CrewMember[i].CrewMemberLastName = crew.CrewMemberLastName; + rootCREW.CrewMember[i].CrewMemberNationality = crew.CrewMemberNationality; + rootCREW.CrewMember[i].CrewMemberPlaceOfBirth = crew.CrewMemberPlaceOfBirth; + rootCREW.CrewMember[i].CrewMemberVisaNumber = crew.CrewMemberVisaNumber; + if (crew.CrewMemberIdentityDocumentIssuingState.Trim().Length == 2) + rootCREW.CrewMember[i].CrewMemberIdentityDocumentIssuingState = crew.CrewMemberIdentityDocumentIssuingState; + if (crew.CrewMemberIdentityDocumentExpiryDate.HasValue) + rootCREW.CrewMember[i].CrewMemberIdentityDocumentExpiryDate = crew.CrewMemberIdentityDocumentExpiryDate.Value; + } + + root.Items = new object[1]; + root.Items[0] = rootCREW; + + } + break; + + #endregion + + #region PAS + case Message.NotificationClass.PAS: + { + RootPAS rootPAS = new RootPAS(); + rootPAS.Passenger = new RootPASPassenger[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + PAS pas = message.Elements[i] as PAS; + rootPAS.Passenger[i] = new RootPASPassenger(); + rootPAS.Passenger[i].PassengerLastName = pas.PassengerLastName; + rootPAS.Passenger[i].PassengerFirstName = pas.PassengerFirstName; + rootPAS.Passenger[i].PassengerPlaceOfBirth = pas.PassengerPlaceOfBirth; + if (pas.PassengerDateOfBirth.HasValue) + rootPAS.Passenger[i].PassengerDateOfBirth = pas.PassengerDateOfBirth.Value; + rootPAS.Passenger[i].PassengerGenderSpecified = pas.PassengerGender.HasValue; + if (pas.PassengerGender.HasValue) + rootPAS.Passenger[i].PassengerGender = (Gender)pas.PassengerGender.Value; + rootPAS.Passenger[i].PassengerNationality = pas.PassengerNationality; + if (pas.PassengerIdentityDocumentType.HasValue) + rootPAS.Passenger[i].PassengerIdentityDocumentType = (IdDocType)pas.PassengerIdentityDocumentType.Value; + rootPAS.Passenger[i].PassengerIdentityDocumentId = pas.PassengerIdentityDocumentId; + rootPAS.Passenger[i].PassengerVisaNumber = pas.PassengerVisaNumber; + rootPAS.Passenger[i].PassengerPortOfEmbarkation = pas.PassengerPortOfEmbarkation; + rootPAS.Passenger[i].PassengerPortOfDisembarkation = pas.PassengerPortOfDisembarkation; + rootPAS.Passenger[i].PassengerInTransit = pas.PassengerInTransit ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (pas.PassengerIdentityDocumentIssuingState.Trim().Length == 2) + rootPAS.Passenger[i].PassengerIdentityDocumentIssuingState = pas.PassengerIdentityDocumentIssuingState; + if (pas.PassengerIdentityDocumentExpiryDate.HasValue) + rootPAS.Passenger[i].PassengerIdentityDocumentExpiryDate = pas.PassengerIdentityDocumentExpiryDate.Value; + } + + root.Items = new object[1]; + root.Items[0] = rootPAS; + } + break; + #endregion + + #region BKRA + case Message.NotificationClass.BKRA: + { + RootBKRA rootBKRA = new RootBKRA(); + + rootBKRA.BunkerFuelArrival = new RootBKRABunkerFuelArrival[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + BRKA bkra = message.Elements[i] as BRKA; + rootBKRA.BunkerFuelArrival[i] = new RootBKRABunkerFuelArrival(); + rootBKRA.BunkerFuelArrival[i].BunkerFuelQuantity_TNE = Decimal.Round((decimal)(bkra.BunkerFuelQuantity_TNE ?? 0), 3); + rootBKRA.BunkerFuelArrival[i].BunkerFuelType = bkra.BunkerFuelType; + } + + root.Items = new object[1]; + root.Items[0] = rootBKRA; + } + break; + #endregion + + #region BKRD + case Message.NotificationClass.BKRD: + { + RootBKRD rootBKRD = new RootBKRD(); + + rootBKRD.BunkerFuelDeparture = new RootBKRDBunkerFuelDeparture[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + BRKD bkrd = message.Elements[i] as BRKD; + rootBKRD.BunkerFuelDeparture[i] = new RootBKRDBunkerFuelDeparture(); + rootBKRD.BunkerFuelDeparture[i].BunkerFuelQuantity_TNE = Decimal.Round((decimal)(bkrd.BunkerFuelQuantity_TNE ?? 0), 3); + rootBKRD.BunkerFuelDeparture[i].BunkerFuelType = bkrd.BunkerFuelType; + } + + root.Items = new object[1]; + root.Items[0] = rootBKRD; + } + break; + #endregion + + #region TIEFA + case Message.NotificationClass.TIEFA: + { + RootTIEFA rootTIEFA = new RootTIEFA(); + TIEFA tiefa = message.Elements[0] as TIEFA; + rootTIEFA.DraughtUponArrival_DMT = Decimal.Round((decimal)(tiefa.DraughtUponArrival_DMT ?? 0), 1); + root.Items = new object[1]; + root.Items[0] = rootTIEFA; + } + break; + #endregion + + #region TIEFD + case Message.NotificationClass.TIEFD: + { + RootTIEFD rootTIEFD = new RootTIEFD(); + TIEFD tiefd = message.Elements[0] as TIEFD; + rootTIEFD.DraughtUponDeparture_DMT = Decimal.Round((decimal)(tiefd.DraughtUponDeparture_DMT ?? 0)); + root.Items = new object[1]; + root.Items[0] = rootTIEFD; + } + break; + #endregion + + #region NAME + case Message.NotificationClass.NAME: + { + RootNAME rootName = new RootNAME(); + NAME name = message.Elements[0] as NAME; + rootName.NameOfMaster = name.NameOfMaster; + root.Items = new object[1]; + root.Items[0] = rootName; + } + break; + #endregion + + #region POBA + case Message.NotificationClass.POBA: + { + RootPOBA rootPoba = new RootPOBA(); + POBA poba = message.Elements[0] as POBA; + rootPoba.TotalCrewMembersOnBoardUponArrival = poba.TotalCrewMembersOnBoardUponArrival ?? 0; + rootPoba.TotalPassengersOnBoardUponArrival = poba.TotalPassengersOnBoardUponArrival ?? 0; + rootPoba.TotalPersonsOnBoardUponArrival = poba.TotalPersonsOnBoardUponArrival ?? 0; + rootPoba.TotalStowawaysOnBoardUponArrival = poba.TotalStowawaysOnBoardUponArrival ?? 0; + root.Items = new object[1]; + root.Items[0] = rootPoba; + } + break; + #endregion + + #region POBD + case Message.NotificationClass.POBD: + { + RootPOBD rootPobd = new RootPOBD(); + POBD pobd = message.Elements[0] as POBD; + rootPobd.TotalCrewMembersOnBoardUponDeparture = pobd.TotalCrewMembersOnBoardUponDeparture ?? 0; + rootPobd.TotalPassengersOnBoardUponDeparture = pobd.TotalPassengersOnBoardUponDeparture ?? 0; + rootPobd.TotalPersonsOnBoardUponDeparture = pobd.TotalPersonsOnBoardUponDeparture ?? 0; + rootPobd.TotalStowawaysOnBoardUponDeparture = pobd.TotalStowawaysOnBoardUponDeparture ?? 0; + root.Items = new object[1]; + root.Items[0] = rootPobd; + } + break; + #endregion + + #region LADG + case Message.NotificationClass.LADG: + { + RootLADG rootLADG = new RootLADG(); + List cargoList = new List(); + for (int i = 0; i < message.Elements.Count; i++) + { + LADG ladg = message.Elements[i] as LADG; + RootLADGCargo cargo = new RootLADGCargo(); + if (ladg.CargoHandlingType.HasValue) + { + if (ladg.CargoHandlingType > 1) continue; + cargo.CargoHandlingType = (ladg.CargoHandlingType == 0) ? HandlingType.LOAD : HandlingType.DISCHARGE; + } + + + cargo.CargoCodeNST = ladg.CargoCodeNST; + if (!ladg.CargoCodeNST.IsNullOrEmpty()) + { + if (cargo.CargoCodeNST.Length > 2) + { + cargo.CargoCodeNST = ladg.CargoCodeNST.Substring(0, 2); + } + } + + if (!ladg.CargoCodeNST_3.IsNullOrEmpty()) + cargo.CargoCodeNST_3 = ladg.CargoCodeNST_3.Substring(0, 1); + + if (ladg.CargoLACode.HasValue) + cargo.CargoLACode = ladg.CargoLACode.Value; + cargo.CargoLACodeSpecified = ladg.CargoLACode.HasValue; + + if (ladg.CargoGrossQuantity_TNE.HasValue) + cargo.CargoGrossQuantity_TNE = Decimal.Round((decimal)ladg.CargoGrossQuantity_TNE.Value, 3); + + cargo.CargoNumberOfItemsSpecified = ladg.CargoNumberOfItems.HasValue; + if (ladg.CargoNumberOfItems.HasValue) + cargo.CargoNumberOfItems = ladg.CargoNumberOfItems.Value; + + if (ladg.PortOfLoading.IsNullOrEmpty()) + cargo.CargoPortOfLoading = "ZZUKN"; + else + cargo.CargoPortOfLoading = ladg.PortOfLoading; + + if (ladg.PortOfDischarge.IsNullOrEmpty()) + cargo.CargoPortOfDischarge = "ZZUKN"; + else + cargo.CargoPortOfDischarge = ladg.PortOfDischarge; + + cargoList.Add(cargo); + } + rootLADG.Cargo = cargoList.ToArray(); + + root.Items = new object[1]; + root.Items[0] = rootLADG; + } + break; + #endregion + + #region INFO + case Message.NotificationClass.INFO: + { + RootINFO rootInfo = new RootINFO(); + INFO info = message.Elements[0] as INFO; + if (info.ShippingArea.HasValue) + rootInfo.ShippingArea = (ShippingArea)info.ShippingArea.Value; + rootInfo.PortArea = info.PortArea; + rootInfo.RequestedPositionInPortOfCall = info.RequestedPositionInPortOfCall; + if (!info.SpecialRequirementsOfShipAtBerth.IsNullOrEmpty()) + rootInfo.SpecialRequirementsOfShipAtBerth = info.SpecialRequirementsOfShipAtBerth; + + if (info.SpecialRequirementsOfShipAtBerth.IsNullOrEmpty()) + { + _log.Info("dbh INFO send: SpecialRequirementsOfShipAtBerth is empty."); + // Name des Agenten eintragen + } + rootInfo.ConstructionCharacteristicsOfShip = info.ConstructionCharacteristicsOfShip; + rootInfo.BowThrusterPower = info.BowThrusterPower; + rootInfo.SternThrusterPower = info.SternThrusterPower; + if (info.FumigatedBulkCargo.HasValue) + rootInfo.FumigatedBulkCargo = (info.FumigatedBulkCargo.Value == 0) ? RootINFOFumigatedBulkCargo.N : RootINFOFumigatedBulkCargo.Y; + else + rootInfo.FumigatedBulkCargo = RootINFOFumigatedBulkCargo.N; + rootInfo.DeadWeightSummer_TNESpecified = info.DeplacementSummerDraught_TNE.HasValue; + if (info.DeplacementSummerDraught_TNE.HasValue) + rootInfo.DeadWeightSummer_TNE = Decimal.Round((decimal)info.DeplacementSummerDraught_TNE.Value, 3); + + root.Items = new object[1]; + root.Items[0] = rootInfo; + } + break; + #endregion + + #region SERV + case Message.NotificationClass.SERV: + { + RootSERV rootServ = new RootSERV(); + rootServ.Service = new RootSERVService[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + rootServ.Service[i] = new RootSERVService(); + SERV serv = message.Elements[i] as SERV; + rootServ.Service[i].ServiceName = serv.ServiceName; + rootServ.Service[i].ServiceBeneficiary = serv.ServiceBeneficiary; + rootServ.Service[i].ServiceInvoiceRecipient = serv.ServiceInvoiceRecipient; + } + + root.Items = new object[1]; + root.Items[0] = rootServ; + } + break; + #endregion + + #region PRE72H + case Message.NotificationClass.PRE72H: + { + RootPRE72H rootPre = new RootPRE72H(); + PRE72H pre72h = message.Elements[0] as PRE72H; + rootPre.Tanker = pre72h.Tanker ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (pre72h.Tanker ?? false) + { + + rootPre.TankerDetails = new RootPRE72HTankerDetails(); + if (pre72h.TankerHullConfiguration.HasValue) + rootPre.TankerDetails.TankerHullConfiguration = (HullConfiguration)pre72h.TankerHullConfiguration.Value; + if (pre72h.ConditionCargoBallastTanks.HasValue) + rootPre.TankerDetails.ConditionCargoBallastTanks = (TankCondition)pre72h.ConditionCargoBallastTanks.Value; + if (pre72h.NatureOfCargo != string.Empty) + rootPre.TankerDetails.TypeOfCargo = pre72h.NatureOfCargo; + bool sendVolume = pre72h.VolumeOfCargo.HasValue && (pre72h.VolumeOfCargo.Value > 0); + rootPre.TankerDetails.VolumeOfCargo_TNESpecified = sendVolume; + if (sendVolume) + rootPre.TankerDetails.VolumeOfCargo_TNE = Decimal.Round((decimal)(pre72h.VolumeOfCargo.Value), 3); + + } + rootPre.PlannedOperations = pre72h.PlannedOperations; + rootPre.PlannedWorks = pre72h.PlannedWorks; + rootPre.DateOfLastExpandedInspectionSpecified = pre72h.DateOfLastExpandedInspection.HasValue; + if (pre72h.DateOfLastExpandedInspection.HasValue) + rootPre.DateOfLastExpandedInspection = pre72h.DateOfLastExpandedInspection.Value; + if (pre72h.PlannedPeriodOfStay_HUR.HasValue) + rootPre.PlannedPeriodOfStay_HUR = Decimal.Round((decimal)(pre72h.PlannedPeriodOfStay_HUR.Value), 2); + + root.Items = new object[1]; + root.Items[0] = rootPre; + } + break; + #endregion + + #region MDH + case Message.NotificationClass.MDH: + { + RootMDH rootMDH = new RootMDH(); + MDH mdh = message.Elements[0] as MDH; + if (!mdh.MDHSimplification.HasValue) + { + _log.ErrorFormat("MDH {0} doesnt have MDHSimplification field set, aborting message", mdh.Id); + return null; // das wird wahrscheinlich nie passieren + } + if (mdh.MDHSimplification.Value) + { + rootMDH.Items = new object[2]; + rootMDH.ItemsElementName = new ItemsChoiceType2[2]; + rootMDH.ItemsElementName[0] = ItemsChoiceType2.MDHSimplification; + rootMDH.Items[0] = "Y"; + rootMDH.ItemsElementName[1] = ItemsChoiceType2.PortOfCallWhereCompleteMDHNotified; + rootMDH.Items[1] = mdh.PortOfCallWhereCompleteMDHNotified; + } + else + { + List mdhItems = new List(); + List choiceTypes2 = new List + { + ItemsChoiceType2.NonAccidentialDeathsDuringVoyage + }; + + mdhItems.Add((mdh.NonAccidentalDeathsDuringVoyage ?? false) ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + if (mdh.NonAccidentalDeathsDuringVoyage ?? false) + { + choiceTypes2.Add(ItemsChoiceType2.NonAccidentialDeathsDuringVoyageCount); + mdhItems.Add(mdh.NonAccidentalDeathsDuringVoyageCount ?? 0); + } + + choiceTypes2.Add(ItemsChoiceType2.SuspisionInfectiousNature); + mdhItems.Add(mdh.SuspisionInfectiousNature ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + choiceTypes2.Add(ItemsChoiceType2.NumberOfIllPersonsHigherThanExpected); + mdhItems.Add(mdh.NumberOfIllPersonsHigherThanExpected ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + if (mdh.NumberOfIllPersonsHigherThanExpected ?? false) + { + choiceTypes2.Add(ItemsChoiceType2.NumberOfIllPersons); + mdhItems.Add(mdh.NumberOfIllPersons ?? 0); + } + + choiceTypes2.Add(ItemsChoiceType2.SickPersonsOnBoard); + mdhItems.Add(mdh.SickPersonsOnBoard ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + choiceTypes2.Add(ItemsChoiceType2.MedicalConsulted); + mdhItems.Add(mdh.MedicalConsulted ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + choiceTypes2.Add(ItemsChoiceType2.AwareOfConditionsForFurtherInfections); + mdhItems.Add(mdh.AwareOfFurtherInfections ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + choiceTypes2.Add(ItemsChoiceType2.SanitaryMeasuresApplied); + mdhItems.Add(mdh.SanitaryMeasuresApplied ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + if (mdh.SanitaryMeasuresApplied ?? false) + { + foreach (SanitaryMeasuresDetail smd in mdh.SanitaryMeasuresDetails) + { + choiceTypes2.Add(ItemsChoiceType2.SanitaryMeasuresDetails); + RootMDHSanitaryMeasuresDetails smDet = new RootMDHSanitaryMeasuresDetails(); + if (mdh.SanitaryMeasuresDate.HasValue) + smDet.SanitaryMeasuresDate = smd.SanitaryMeasuresDate.Value; + smDet.SanitaryMeasuresType = smd.SanitaryMeasuresType; + smDet.SanitaryMeasuresLocation = smd.SanitaryMeasuresLocation; + mdhItems.Add(smDet); + } + } + + choiceTypes2.Add(ItemsChoiceType2.StowawaysDetected); + mdhItems.Add(mdh.StowawaysDetected ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + choiceTypes2.Add(ItemsChoiceType2.StowawaysJoiningLocation); + string concatLocations = ""; + foreach (StowawaysJoiningLocation sjl in mdh.StowawaysJoiningLocations) + { + if (!sjl.StowawayJoiningLocation.IsNullOrEmpty()) + concatLocations = string.Format("{0} {1}", concatLocations, sjl.StowawayJoiningLocation); + } + mdhItems.Add(concatLocations); + + choiceTypes2.Add(ItemsChoiceType2.SickAnimalOrPetOnBoard); + mdhItems.Add(mdh.SickAnimalOrPetOnBoard ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + choiceTypes2.Add(ItemsChoiceType2.ValidSanitaryControlExemptionOrCertificateOnBoard); + mdhItems.Add(mdh.ValidSanitaryControlExemptionOrCertificateOnBoard ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + if (mdh.ValidSanitaryControlExemptionOrCertificateOnBoard ?? false) + { + choiceTypes2.Add(ItemsChoiceType2.ValidSanitaryControlExemptionOrCertificate); + RootMDHValidSanitaryControlExemptionOrCertificate cert = new RootMDHValidSanitaryControlExemptionOrCertificate(); + mdhItems.Add(cert); + cert.DateOfIssue = mdh.DateOfIssue.Value; + cert.PlaceOfIssue = mdh.PlaceOfIssue; + } + + choiceTypes2.Add(ItemsChoiceType2.SanitaryControlReinspectionRequired); + mdhItems.Add(mdh.SanitaryControlReinspectionRequired ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + choiceTypes2.Add(ItemsChoiceType2.InfectedAreaVisited); + mdhItems.Add(mdh.InfectedAreaVisited ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N); + + foreach (InfectedArea ia in mdh.InfectedAreas) + { + if (!mdh.InfectedAreaPort.IsNullOrEmpty() && mdh.InfectedAreaDate.HasValue) + { + choiceTypes2.Add(ItemsChoiceType2.InfectedArea); + RootMDHInfectedArea infected = new RootMDHInfectedArea(); + mdhItems.Add(infected); + infected.InfectedAreaPort = ia.InfectedAreaPort; + infected.InfectedAreaDate = ia.InfectedAreaDate.Value; + } + } + + if (mdh.PortOfCallLast30Days.Count > 0) + { + choiceTypes2.Add(ItemsChoiceType2.PortsOfCallLast30Days); + RootMDHPortsOfCallLast30Days l30d = new RootMDHPortsOfCallLast30Days(); + mdhItems.Add(l30d); + + l30d.PortOfCallLast30Days = new RootMDHPortsOfCallLast30DaysPortOfCallLast30Days[mdh.PortOfCallLast30Days.Count]; + for (int i = 0; i < mdh.PortOfCallLast30Days.Count; i++) + { + l30d.PortOfCallLast30Days[i] = new RootMDHPortsOfCallLast30DaysPortOfCallLast30Days(); + PortOfCallLast30Days portOfCallLast30Days = mdh.PortOfCallLast30Days[i] as PortOfCallLast30Days; + l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewJoinedShip = new RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip(); + if (portOfCallLast30Days.CrewJoinedShip.Count > 0) + { + l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewJoinedShip.PortOfCallLast30DaysCrewJoinedShipName = new string[portOfCallLast30Days.CrewJoinedShip.Count]; + for (int j = 0; j < portOfCallLast30Days.CrewJoinedShip.Count; j++) + { + l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewJoinedShip.PortOfCallLast30DaysCrewJoinedShipName[j] = ((PortOfCallLast30DaysCrewJoinedShip)portOfCallLast30Days.CrewJoinedShip[j]).PortOfCallLast30DaysCrewJoinedShipName; + } + } + l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysCrewMembersJoined = portOfCallLast30Days.PortOfCallLast30DaysCrewMembersJoined ?? false ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (portOfCallLast30Days.PortOfCallLast30DaysDateOfDeparture.HasValue) + l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysDateOfDeparture = portOfCallLast30Days.PortOfCallLast30DaysDateOfDeparture.Value; + l30d.PortOfCallLast30Days[i].PortOfCallLast30DaysLocode = portOfCallLast30Days.PortOfCallLast30DaysLocode; + } + } + + rootMDH.Items = mdhItems.ToArray(); + rootMDH.ItemsElementName = choiceTypes2.ToArray(); + + } + + root.Items = new object[1]; + root.Items[0] = rootMDH; + } + break; + #endregion + + #region WAS + case Message.NotificationClass.WAS: + { + RootWAS rootWAS = new RootWAS(); + WAS was = message.Elements[0] as WAS; + if (was.WasteDisposalValidExemption ?? false) + { + rootWAS.Items = new object[1]; + rootWAS.ItemsElementName = new ItemsChoiceType3[1]; + rootWAS.ItemsElementName[0] = ItemsChoiceType3.WasteDisposalValidExemption; + rootWAS.Items[0] = "Y"; + } + else + { + // ACHTUNG hier ist die Reihenfolge entscheidend! (siehe XSD) + List choiceType3s = new List(); + List wasteItems = new List(); + + choiceType3s.Add(ItemsChoiceType3.ConfirmationOfCorrectnessAndSufficiency); + wasteItems.Add(was.ConfirmationOfCorrectness ?? false ? "Y" : "N"); + + if(was.LastWasteDisposalDate.HasValue) + { + choiceType3s.Add(ItemsChoiceType3.LastWasteDisposalDate); + wasteItems.Add(was.LastWasteDisposalDate); + } + + choiceType3s.Add(ItemsChoiceType3.LastWasteDisposalPort); + wasteItems.Add(was.LastWasteDisposalPort); + + choiceType3s.Add(ItemsChoiceType3.NextWasteDisposalPort); + wasteItems.Add(was.NextWasteDisposalPort); + + for (int i = 0; i < was.WasteDisposalServiceProvider.Count; i++) + { + if ((was.WasteDisposalServiceProvider[i]).WasteDisposalServiceProviderName.Trim().IsNullOrEmpty()) continue; + choiceType3s.Add(ItemsChoiceType3.WasteDisposalServiceProviderName); + wasteItems.Add((was.WasteDisposalServiceProvider[i]).WasteDisposalServiceProviderName); + } + + for (int j = 0; j < was.Waste.Count; j++) + { + choiceType3s.Add(ItemsChoiceType3.WasteItem); + RootWASWasteItem rww = new RootWASWasteItem(); + Waste waste = was.Waste[j]; + if ((waste.WasteType ?? 0) == 0) continue; // not a valid waste type + + rww.WasteType = new RootWASWasteItemWasteType(); + rww.WasteType.WasteCode = waste.WasteType.ToString(); + rww.WasteType.WasteDescription = waste.WasteDescription; + + rww.WasteDisposalAmount_MTQ = decimal.Round((decimal)(waste.WasteDisposalAmount_MTQ ?? 0), 3); + rww.WasteCapacity_MTQ = decimal.Round((decimal)(waste.WasteCapacity_MTQ ?? 0), 3); + rww.WasteAmountRetained_MTQ = decimal.Round((decimal)(waste.WasteAmountRetained_MTQ ?? 0), 3); + rww.WasteAmountGeneratedTillNextPort_MTQ = decimal.Round((decimal)(waste.WasteAmountGeneratedTillNextPort_MTQ ?? 0), 3); + rww.RemainingWasteDeliveryPort = waste.WasteDisposalPort; + wasteItems.Add(rww); + } + + rootWAS.ItemsElementName = choiceType3s.ToArray(); + rootWAS.Items = wasteItems.ToArray(); + } + + root.Items = new object[1]; + root.Items[0] = rootWAS; + } + break; + #endregion + + #region TOWA + case Message.NotificationClass.TOWA: + { + RootTOWA rootTowa = new RootTOWA(); + rootTowa.TowageOnArrival = new RootTOWATowageOnArrival[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + TOWA towa = message.Elements[i] as TOWA; + rootTowa.TowageOnArrival[i] = new RootTOWATowageOnArrival(); + rootTowa.TowageOnArrival[i].TowageOnArrivalName = towa.TowageOnArrivalName; + rootTowa.TowageOnArrival[i].TowageOnArrivalFlag = towa.TowageOnArrivalFlag; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator = new RootTOWATowageOnArrivalTowageOnArrivalOperator(); + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorCompanyName = towa.TowageOnArrivalOperatorCompanyName; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorStreetAndNumber = towa.TowageOnArrivalOperatorStreetNameAndNumber; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorPostalCode = towa.TowageOnArrivalOperatorPostalCode; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorCity = towa.TowageOnArrivalOperatorCity; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorCountry = towa.TowageOnArrivalOperatorCountry; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorPhone = towa.TowageOnArrivalOperatorPhone; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorFax = towa.TowageOnArrivalOperatorFax; + rootTowa.TowageOnArrival[i].TowageOnArrivalOperator.TowageOnArrivalOperatorEMail = towa.TowageOnArrivalOperatorEmail; + if (towa.TowageOnArrivalGrossTonnage.HasValue) + rootTowa.TowageOnArrival[i].TowageOnArrivalGrossTonnage = towa.TowageOnArrivalGrossTonnage.Value; + if (towa.TowageOnArrivalLengthOverall_MTR.HasValue) + rootTowa.TowageOnArrival[i].TowageOnArrivalLengthOverall_MTR = decimal.Round((decimal)towa.TowageOnArrivalLengthOverall_MTR.Value, 2); + if (towa.TowageOnArrivalBeam_MTR.HasValue) + rootTowa.TowageOnArrival[i].TowageOnArrivalBeam_MTR = decimal.Round((decimal)towa.TowageOnArrivalBeam_MTR.Value, 2); + rootTowa.TowageOnArrival[i].TowageOnArrivalPurposeOfCall = towa.TowageOnArrivalPurposeOfCall; + if (towa.TowageOnArrivalDraught_DMT.HasValue) + rootTowa.TowageOnArrival[i].TowageOnArrivalDraught_DMT = decimal.Round((decimal)towa.TowageOnArrivalDraught_DMT.Value, 1); + rootTowa.TowageOnArrival[i].TowageOnArrivalRemarks = towa.TowageOnArrivalRemarks; + } + + root.Items = new object[1]; + root.Items[0] = rootTowa; + } + break; + #endregion + + #region TOWD + case Message.NotificationClass.TOWD: + { + RootTOWD rootTowd = new RootTOWD(); + rootTowd.TowageOnDeparture = new RootTOWDTowageOnDeparture[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + TOWD towd = message.Elements[i] as TOWD; + rootTowd.TowageOnDeparture[i] = new RootTOWDTowageOnDeparture(); + rootTowd.TowageOnDeparture[i].TowageOnDepartureName = towd.TowageOnDepartureName; + rootTowd.TowageOnDeparture[i].TowageOnDepartureFlag = towd.TowageOnDepartureFlag; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator = new RootTOWDTowageOnDepartureTowageOnDepartureOperator(); + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorCompanyName = towd.TowageOnDepartureOperatorCompanyName; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorStreetAndNumber = towd.TowageOnDepartureOperatorStreetNameAndNumber; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorPostalCode = towd.TowageOnDepartureOperatorPostalCode; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorCity = towd.TowageOnDepartureOperatorCity; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorCountry = towd.TowageOnDepartureOperatorCountry; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorPhone = towd.TowageOnDepartureOperatorPhone; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorFax = towd.TowageOnDepartureOperatorFax; + rootTowd.TowageOnDeparture[i].TowageOnDepartureOperator.TowageOnDepartureOperatorEMail = towd.TowageOnDepartureOperatorEmail; + if (towd.TowageOnDepartureLengthOverall_MTR.HasValue) + rootTowd.TowageOnDeparture[i].TowageOnDepartureLengthOverall_MTR = decimal.Round((decimal)towd.TowageOnDepartureLengthOverall_MTR.Value, 2); + if (towd.TowageOnDepartureBeam_MTR.HasValue) + rootTowd.TowageOnDeparture[i].TowageOnDepartureBeam_MTR = decimal.Round((decimal)towd.TowageOnDepartureBeam_MTR.Value, 2); + if (towd.TowageOnDepartureDraught_DMT.HasValue) + rootTowd.TowageOnDeparture[i].TowageOnDepartureDraught_DMT = decimal.Round((decimal)towd.TowageOnDepartureDraught_DMT.Value, 1); + rootTowd.TowageOnDeparture[i].TowageOnDepartureRemarks = towd.TowageOnDepartureRemarks; + } + + root.Items = new object[1]; + root.Items[0] = rootTowd; + } + break; + #endregion + + #region HAZA + //Felderreihenfolge wegen einfacher Test/Impl. entspricht genau dem XLS Sheet + case Message.NotificationClass.HAZA: + { + RootHAZA rootHAZA = new RootHAZA(); + HAZ haz = message.Elements[0] as HAZ; + + if (haz.NoDPGOnBoardOnArrival ?? false) + { + rootHAZA.Items = new object[1]; + rootHAZA.Items[0] = "Y"; + rootHAZA.ItemsElementName = new ItemsChoiceType5[1]; + rootHAZA.ItemsElementName[0] = ItemsChoiceType5.NoDPGOnBoardOnArrival; + } + else + { + rootHAZA.Items = new object[4]; + rootHAZA.ItemsElementName = new ItemsChoiceType5[4]; + // if(haz.DPGManifestOnBoardOnArrival.HasValue) + + rootHAZA.ItemsElementName[0] = ItemsChoiceType5.DPGManifestOnBoardOnArrival; + rootHAZA.Items[0] = (haz.DPGManifestOnBoardOnArrival ?? false) ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + + rootHAZA.ItemsElementName[1] = ItemsChoiceType5.INFShipClass; + + if (haz.INFShipClass.HasValue) + { + INFClassType infShipClass = (INFClassType)haz.INFShipClass.Value; + rootHAZA.Items[1] = infShipClass; + } + + rootHAZA.ItemsElementName[2] = ItemsChoiceType5.MOUBaltic; + rootHAZA.Items[2] = (haz.MOUBaltic ?? false) ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + + #region HAZ positions + + rootHAZA.ItemsElementName[3] = ItemsChoiceType5.DPGOnArrival; + + RootHAZADPGOnArrival dpgOnArrival = new RootHAZADPGOnArrival(); + + #region IMDG + if (haz.IMDGPositions.Count > 0) + { + dpgOnArrival.DPGItemIMDG = new Request.IMDGPosition[haz.IMDGPositions.Count]; + for (int i = 0; i < haz.IMDGPositions.Count; i++) + { + bsmd.database.IMDGPosition imdgPos = haz.IMDGPositions[i] as bsmd.database.IMDGPosition; + Request.IMDGPosition rootIMDG = new Request.IMDGPosition(); + + rootIMDG.UNNumber = imdgPos.UNNumber; + if (imdgPos.PackingGroup.HasValue) + rootIMDG.PackingGroup = (Request.PackingGroupType)imdgPos.PackingGroup.Value; + rootIMDG.ProperShippingName = imdgPos.ProperShippingName; + rootIMDG.IMOClass = imdgPos.IMOClass; + // rootIMDG.CompatibilityGroup = imdgPos.CompatibilityGroup; + rootIMDG.TechnicalName = imdgPos.TechnicalName; + rootIMDG.NetExplosiveMass_KGMSpecified = imdgPos.NetExplosiveMass_KGM.HasValue; + if (imdgPos.NetExplosiveMass_KGM.HasValue) + rootIMDG.NetExplosiveMass_KGM = decimal.Round((decimal)imdgPos.NetExplosiveMass_KGM.Value, 3); + rootIMDG.Flashpoint_CEL = imdgPos.Flashpoint_CEL; + rootIMDG.Class7NuclideName = imdgPos.Class7NuclideName; + if(imdgPos.Class7MaxActivity_BQL.HasValue) + { + rootIMDG.Class7MaxActivity = new IMDGPositionClass7MaxActivity(); + rootIMDG.Class7MaxActivity.MaxActivityValue = decimal.Round((decimal)imdgPos.Class7MaxActivity_BQL.Value, 3); + // rootIMDG.Class7MaxActivity.MaxActivityUnit = imdgPos. + } + rootIMDG.Class7CategorySpecified = imdgPos.Class7Category.HasValue; + if (imdgPos.Class7Category.HasValue) + rootIMDG.Class7Category = imdgPos.Class7Category.Value; + rootIMDG.Class7TransportIndexSpecified = imdgPos.Class7TransportIndex.HasValue; + if (imdgPos.Class7TransportIndex.HasValue) + rootIMDG.Class7TransportIndex = decimal.Round((decimal)imdgPos.Class7TransportIndex.Value, 1); + rootIMDG.Class7CSISpecified = imdgPos.Class7CSI.HasValue; + if (imdgPos.Class7CSI.HasValue) + rootIMDG.Class7CSI = imdgPos.Class7CSI.Value; + rootIMDG.ControlTemperature_CELSpecified = imdgPos.ControlTemperature_CEL.HasValue; + if (imdgPos.ControlTemperature_CEL.HasValue) + rootIMDG.ControlTemperature_CEL = decimal.Round((decimal)imdgPos.ControlTemperature_CEL.Value, 2); + rootIMDG.EmergencyTemperature_CELSpecified = imdgPos.EmergencyTemperature_CEL.HasValue; + if (imdgPos.EmergencyTemperature_CEL.HasValue) + rootIMDG.EmergencyTemperature_CEL = decimal.Round((decimal)imdgPos.EmergencyTemperature_CEL.Value, 2); + if (imdgPos.SubsidiaryRiskList.Count > 0) + { + rootIMDG.SubsidiaryRisks = new string[imdgPos.SubsidiaryRiskList.Count]; + for (int sCount = 0; sCount < imdgPos.SubsidiaryRiskList.Count; sCount++) + rootIMDG.SubsidiaryRisks[sCount] = imdgPos.SubsidiaryRiskList[sCount].SubsidiaryRisk; + } + if (imdgPos.MarinePollutant.HasValue) + rootIMDG.MarinePollutant = imdgPos.MarinePollutant.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (imdgPos.NumberOfPackages.HasValue) + rootIMDG.NumberOfPackages = imdgPos.NumberOfPackages.Value; + rootIMDG.PackageType = imdgPos.PackageType; + if (imdgPos.LimitedQuantities.HasValue) + rootIMDG.LimitedQuantities = imdgPos.LimitedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (imdgPos.ExceptedQuantities.HasValue) + rootIMDG.ExceptedQuantities = imdgPos.ExceptedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + rootIMDG.NetQuantity_KGMSpecified = imdgPos.NetQuantity_KGM.HasValue; + if (imdgPos.NetQuantity_KGM.HasValue) + rootIMDG.NetQuantity_KGM = decimal.Round((decimal)imdgPos.NetQuantity_KGM.Value, 3); + rootIMDG.GrossQuantity_KGMSpecified = imdgPos.GrossQuantity_KGM.HasValue; + if (imdgPos.GrossQuantity_KGM.HasValue) + rootIMDG.GrossQuantity_KGM = decimal.Round((decimal)imdgPos.GrossQuantity_KGM.Value, 3); + rootIMDG.Volume_MTQSpecified = imdgPos.Volume_MTQ.HasValue; + if (imdgPos.Volume_MTQ.HasValue) + rootIMDG.Volume_MTQ = decimal.Round((decimal)imdgPos.Volume_MTQ.Value, 3); + rootIMDG.GeneralCargoIBCSpecified = imdgPos.GeneralCargoIBC.HasValue; + if (imdgPos.GeneralCargoIBC.HasValue) + rootIMDG.GeneralCargoIBC = imdgPos.GeneralCargoIBC.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (!imdgPos.ContainerNumber.IsNullOrEmpty()) + rootIMDG.ContainerNumber = imdgPos.ContainerNumber; + if (!imdgPos.VehicleLicenseNumber.IsNullOrEmpty()) + rootIMDG.VehicleLicenseNumber = imdgPos.VehicleLicenseNumber; + + if (imdgPos.StowagePosition.IsNullOrEmpty()) + { + rootIMDG.Items = new string[3]; + rootIMDG.ItemsElementName = new ItemsChoiceType4[3]; + + rootIMDG.Items[0] = imdgPos.Bay; + rootIMDG.ItemsElementName[0] = ItemsChoiceType4.Bay; + + rootIMDG.Items[1] = imdgPos.Row; + rootIMDG.ItemsElementName[1] = ItemsChoiceType4.Row; + + rootIMDG.Items[2] = imdgPos.Tier; + rootIMDG.ItemsElementName[2] = ItemsChoiceType4.Tier; + } + else + { + rootIMDG.Items = new string[1] { imdgPos.StowagePosition }; + rootIMDG.ItemsElementName = new ItemsChoiceType4[1] { ItemsChoiceType4.StowagePosition }; + } + + rootIMDG.PortOfLoading = imdgPos.PortOfLoading; + rootIMDG.PortOfDischarge = imdgPos.PortOfDischarge; + if (!imdgPos.Remarks.IsNullOrEmpty()) + rootIMDG.Remarks = imdgPos.Remarks; + + dpgOnArrival.DPGItemIMDG[i] = rootIMDG; + } + } + #endregion + + #region IBC + if (haz.IBCPositions.Count > 0) + { + dpgOnArrival.DPGItemIBC = new bsmd.dbh.Request.IBCPosition[haz.IBCPositions.Count]; + for (int i = 0; i < haz.IBCPositions.Count; i++) + { + bsmd.dbh.Request.IBCPosition rootIBC = new bsmd.dbh.Request.IBCPosition(); + bsmd.database.IBCPosition ibcPos = haz.IBCPositions[i] as bsmd.database.IBCPosition; + + rootIBC.ProductName = ibcPos.ProductName; + if (ibcPos.PollutionCategory.HasValue) + rootIBC.PollutionCategory = (PollutionCategoryType)ibcPos.PollutionCategory.Value; + rootIBC.HazardsSpecified = ibcPos.Hazards.HasValue; + if (ibcPos.Hazards.HasValue) + rootIBC.Hazards = (HazardType)ibcPos.Hazards.Value; + if (ibcPos.FlashpointInformation.HasValue) + rootIBC.FlashpointInformation = (FlashpointInfoType)ibcPos.FlashpointInformation.Value; + rootIBC.Flashpoint_CEL = ibcPos.Flashpoint_CEL; + if (ibcPos.Quantity_KGM.HasValue) + rootIBC.Quantity_KGM = decimal.Round((decimal)ibcPos.Quantity_KGM.Value, 3); + rootIBC.StowagePosition = ibcPos.StowagePosition; + rootIBC.PortOfLoading = ibcPos.PortOfLoading; + rootIBC.PortOfDischarge = ibcPos.PortOfDischarge; + rootIBC.SpecRef15_19Specified = ibcPos.SpecRef15_19.HasValue; + if (ibcPos.SpecRef15_19.HasValue) + rootIBC.SpecRef15_19 = ibcPos.SpecRef15_19.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (!ibcPos.Remarks.IsNullOrEmpty()) + rootIBC.Remarks = ibcPos.Remarks; + + dpgOnArrival.DPGItemIBC[i] = rootIBC; + } + } + #endregion + + #region IGC + if (haz.IGCPositions.Count > 0) + { + dpgOnArrival.DPGItemIGC = new bsmd.dbh.Request.IGCPosition[haz.IGCPositions.Count]; + for (int i = 0; i < haz.IGCPositions.Count; i++) + { + bsmd.dbh.Request.IGCPosition rootIGC = new bsmd.dbh.Request.IGCPosition(); + bsmd.database.IGCPosition igcPos = haz.IGCPositions[i] as bsmd.database.IGCPosition; + + rootIGC.UNNumber = igcPos.UNNumber; + rootIGC.IMOClass = igcPos.IMOClass; + rootIGC.ProductName = igcPos.ProductName; + if (igcPos.Quantity_KGM.HasValue) + rootIGC.Quantity_KGM = decimal.Round((decimal)igcPos.Quantity_KGM.Value, 3); + rootIGC.StowagePosition = igcPos.StowagePosition; + rootIGC.PortOfLoading = igcPos.PortOfLoading; + rootIGC.PortOfDischarge = igcPos.PortOfDischarge; + if (!igcPos.Remarks.IsNullOrEmpty()) + rootIGC.Remarks = igcPos.Remarks; + + dpgOnArrival.DPGItemIGC[i] = rootIGC; + } + } + #endregion + + #region IMSBC + if (haz.IMSBCPositions.Count > 0) + { + dpgOnArrival.DPGItemIMSBC = new bsmd.dbh.Request.IMSBCPosition[haz.IMSBCPositions.Count]; + for (int i = 0; i < haz.IMSBCPositions.Count; i++) + { + bsmd.dbh.Request.IMSBCPosition rootIMSBC = new bsmd.dbh.Request.IMSBCPosition(); + bsmd.database.IMSBCPosition imsbcPos = haz.IMSBCPositions[i] as bsmd.database.IMSBCPosition; + + rootIMSBC.BulkCargoShippingName = imsbcPos.BulkCargoShippingName; + if (imsbcPos.MHB.HasValue) + rootIMSBC.MHB = imsbcPos.MHB.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + rootIMSBC.UNNumber = imsbcPos.UNNumber; + rootIMSBC.IMOClass = imsbcPos.IMOClass; + if (imsbcPos.Quantity_KGM.HasValue) + rootIMSBC.Quantity_KGM = decimal.Round((decimal)imsbcPos.Quantity_KGM.Value, 3); + rootIMSBC.StowagePosition = imsbcPos.StowagePosition; + rootIMSBC.PortOfLoading = imsbcPos.PortOfLoading; + rootIMSBC.PortOfDischarge = imsbcPos.PortOfDischarge; + if (!imsbcPos.Remarks.IsNullOrEmpty()) + rootIMSBC.Remarks = imsbcPos.Remarks; + rootIMSBC.IMOHazardClassSpecified = imsbcPos.IMOHazardClass.HasValue; + if (imsbcPos.IMOHazardClass.HasValue) + rootIMSBC.IMOHazardClass = (IMOHazardClassType)imsbcPos.IMOHazardClass.Value + ; + + dpgOnArrival.DPGItemIMSBC[i] = rootIMSBC; + } + } + #endregion + + #region MARPOL_ANNEX_I + if (haz.MARPOLPositions.Count > 0) + { + dpgOnArrival.DPGItemMARPOLAnnexI = new MARPOLPosition[haz.MARPOLPositions.Count]; + for (int i = 0; i < haz.MARPOLPositions.Count; i++) + { + MARPOLPosition rootMarpol = new MARPOLPosition(); + MARPOL_Annex_I_Position marpolPos = haz.MARPOLPositions[i] as MARPOL_Annex_I_Position; + + rootMarpol.Name = marpolPos.Name; + if (marpolPos.FlashpointInformation.HasValue) + rootMarpol.FlashpointInformation = (FlashpointInfoType)marpolPos.FlashpointInformation.Value; + rootMarpol.Flashpoint_CEL = marpolPos.Flashpoint_CEL; + if (marpolPos.Quantity_KGM.HasValue) + rootMarpol.Quantity_KGM = decimal.Round((decimal)marpolPos.Quantity_KGM.Value, 3); + rootMarpol.StowagePosition = marpolPos.StowagePosition; + rootMarpol.PortOfLoading = marpolPos.PortOfLoading; + rootMarpol.PortOfDischarge = marpolPos.PortOfDischarge; + if (!marpolPos.Remarks.IsNullOrEmpty()) + rootMarpol.Remarks = marpolPos.Remarks; + + dpgOnArrival.DPGItemMARPOLAnnexI[i] = rootMarpol; + } + } + #endregion + + rootHAZA.Items[3] = dpgOnArrival; + + #endregion + + } + + root.Items = new object[1]; + root.Items[0] = rootHAZA; + } + break; + #endregion + + #region HAZD + //Felderreihenfolge wegen einfacher Test/Impl. entspricht genau dem XLS Sheet + case Message.NotificationClass.HAZD: + { + RootHAZD rootHAZD = new RootHAZD(); + HAZ haz = message.Elements[0] as HAZ; + + if (haz.NoDPGOnBoardOnArrival ?? false) + { + rootHAZD.ItemsElementName = new ItemsChoiceType6[1]; + rootHAZD.ItemsElementName[0] = ItemsChoiceType6.NoDPGOnBoardOnDeparture; + + rootHAZD.Items = new object[1]; + rootHAZD.Items[0] = "Y"; + } + + else + { + rootHAZD.Items = new object[4]; + rootHAZD.ItemsElementName = new ItemsChoiceType6[4]; + + rootHAZD.ItemsElementName[0] = ItemsChoiceType6.DPGManifestOnBoardOnDeparture; + if (haz.DPGManifestOnBoardOnArrival.HasValue) + rootHAZD.Items[0] = haz.DPGManifestOnBoardOnArrival.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + + rootHAZD.ItemsElementName[1] = ItemsChoiceType6.INFShipClass; + + if (haz.INFShipClass.HasValue) + { + INFClassType infShipClass = (INFClassType)haz.INFShipClass.Value; + rootHAZD.Items[1] = infShipClass; + } + + rootHAZD.ItemsElementName[2] = ItemsChoiceType6.MOUBaltic; + rootHAZD.Items[2] = (haz.MOUBaltic ?? false) ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + + #region HAZ positions + + RootHAZDDPGOnDeparture dpgOnDeparture = new RootHAZDDPGOnDeparture(); + + #region IMDG + if (haz.IMDGPositions.Count > 0) + { + dpgOnDeparture.DPGItemIMDG = new bsmd.dbh.Request.IMDGPosition[haz.IMDGPositions.Count]; + for (int i = 0; i < haz.IMDGPositions.Count; i++) + { + bsmd.database.IMDGPosition imdgPos = haz.IMDGPositions[i] as bsmd.database.IMDGPosition; + bsmd.dbh.Request.IMDGPosition rootIMDG = new bsmd.dbh.Request.IMDGPosition(); + + rootIMDG.UNNumber = imdgPos.UNNumber; + if (imdgPos.PackingGroup.HasValue) + rootIMDG.PackingGroup = (PackingGroupType)imdgPos.PackingGroup.Value; + rootIMDG.ProperShippingName = imdgPos.ProperShippingName; + rootIMDG.IMOClass = imdgPos.IMOClass; + // rootIMDG.CompatibilityGroup = imdgPos.CompatibilityGroup; + rootIMDG.TechnicalName = imdgPos.TechnicalName; + rootIMDG.NetExplosiveMass_KGMSpecified = imdgPos.NetExplosiveMass_KGM.HasValue; + if (imdgPos.NetExplosiveMass_KGM.HasValue) + rootIMDG.NetExplosiveMass_KGM = decimal.Round((decimal)imdgPos.NetExplosiveMass_KGM.Value, 3); + rootIMDG.Flashpoint_CEL = imdgPos.Flashpoint_CEL; + rootIMDG.Class7NuclideName = imdgPos.Class7NuclideName; + if (imdgPos.Class7MaxActivity_BQL.HasValue) + { + rootIMDG.Class7MaxActivity = new IMDGPositionClass7MaxActivity(); + rootIMDG.Class7MaxActivity.MaxActivityValue = decimal.Round((decimal)imdgPos.Class7MaxActivity_BQL.Value, 6); + } + rootIMDG.Class7CategorySpecified = imdgPos.Class7Category.HasValue; + if (imdgPos.Class7Category.HasValue) + rootIMDG.Class7Category = imdgPos.Class7Category.Value; + rootIMDG.Class7TransportIndexSpecified = imdgPos.Class7TransportIndex.HasValue; + if (imdgPos.Class7TransportIndex.HasValue) + rootIMDG.Class7TransportIndex = decimal.Round((decimal)imdgPos.Class7TransportIndex.Value, 1); + rootIMDG.Class7CSISpecified = imdgPos.Class7CSI.HasValue; + if (imdgPos.Class7CSI.HasValue) + rootIMDG.Class7CSI = imdgPos.Class7CSI.Value; + rootIMDG.ControlTemperature_CELSpecified = imdgPos.ControlTemperature_CEL.HasValue; + if (imdgPos.ControlTemperature_CEL.HasValue) + rootIMDG.ControlTemperature_CEL = decimal.Round((decimal)imdgPos.ControlTemperature_CEL.Value, 2); + rootIMDG.EmergencyTemperature_CELSpecified = imdgPos.EmergencyTemperature_CEL.HasValue; + if (imdgPos.EmergencyTemperature_CEL.HasValue) + rootIMDG.EmergencyTemperature_CEL = decimal.Round((decimal)imdgPos.EmergencyTemperature_CEL.Value, 2); + if (imdgPos.SubsidiaryRiskList.Count > 0) + { + rootIMDG.SubsidiaryRisks = new string[imdgPos.SubsidiaryRiskList.Count]; + for (int sCount = 0; sCount < imdgPos.SubsidiaryRiskList.Count; sCount++) + rootIMDG.SubsidiaryRisks[sCount] = imdgPos.SubsidiaryRiskList[sCount].SubsidiaryRisk; + } + if (imdgPos.MarinePollutant.HasValue) + rootIMDG.MarinePollutant = imdgPos.MarinePollutant.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (imdgPos.NumberOfPackages.HasValue) + rootIMDG.NumberOfPackages = imdgPos.NumberOfPackages.Value; + rootIMDG.PackageType = imdgPos.PackageType; + if (imdgPos.LimitedQuantities.HasValue) + rootIMDG.LimitedQuantities = imdgPos.LimitedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (imdgPos.ExceptedQuantities.HasValue) + rootIMDG.ExceptedQuantities = imdgPos.ExceptedQuantities.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + rootIMDG.NetQuantity_KGMSpecified = imdgPos.NetQuantity_KGM.HasValue; + if (imdgPos.NetQuantity_KGM.HasValue) + rootIMDG.NetQuantity_KGM = decimal.Round((decimal)imdgPos.NetQuantity_KGM.Value, 3); + rootIMDG.GrossQuantity_KGMSpecified = imdgPos.GrossQuantity_KGM.HasValue; + if (imdgPos.GrossQuantity_KGM.HasValue) + rootIMDG.GrossQuantity_KGM = decimal.Round((decimal)imdgPos.GrossQuantity_KGM.Value, 3); + rootIMDG.Volume_MTQSpecified = imdgPos.Volume_MTQ.HasValue; + if (imdgPos.Volume_MTQ.HasValue) + rootIMDG.Volume_MTQ = decimal.Round((decimal)imdgPos.Volume_MTQ.Value, 3); + rootIMDG.GeneralCargoIBCSpecified = imdgPos.GeneralCargoIBC.HasValue; + if (imdgPos.GeneralCargoIBC.HasValue) + rootIMDG.GeneralCargoIBC = imdgPos.GeneralCargoIBC.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (!imdgPos.ContainerNumber.IsNullOrEmpty()) + rootIMDG.ContainerNumber = imdgPos.ContainerNumber; + if (!imdgPos.VehicleLicenseNumber.IsNullOrEmpty()) + rootIMDG.VehicleLicenseNumber = imdgPos.VehicleLicenseNumber; + + if (imdgPos.StowagePosition.IsNullOrEmpty()) + { + rootIMDG.Items = new string[3]; + rootIMDG.ItemsElementName = new ItemsChoiceType4[3]; + + rootIMDG.Items[0] = imdgPos.Bay; + rootIMDG.ItemsElementName[0] = ItemsChoiceType4.Bay; + + rootIMDG.Items[1] = imdgPos.Row; + rootIMDG.ItemsElementName[1] = ItemsChoiceType4.Row; + + rootIMDG.Items[2] = imdgPos.Tier; + rootIMDG.ItemsElementName[2] = ItemsChoiceType4.Tier; + } + else + { + rootIMDG.Items = new string[1] { imdgPos.StowagePosition }; + rootIMDG.ItemsElementName = new ItemsChoiceType4[1] { ItemsChoiceType4.StowagePosition }; + } + + rootIMDG.PortOfLoading = imdgPos.PortOfLoading; + rootIMDG.PortOfDischarge = imdgPos.PortOfDischarge; + if (!imdgPos.Remarks.IsNullOrEmpty()) + rootIMDG.Remarks = imdgPos.Remarks; + + dpgOnDeparture.DPGItemIMDG[i] = rootIMDG; + } + } + #endregion + + #region IBC + if (haz.IBCPositions.Count > 0) + { + dpgOnDeparture.DPGItemIBC = new bsmd.dbh.Request.IBCPosition[haz.IBCPositions.Count]; + for (int i = 0; i < haz.IBCPositions.Count; i++) + { + bsmd.dbh.Request.IBCPosition rootIBC = new bsmd.dbh.Request.IBCPosition(); + bsmd.database.IBCPosition ibcPos = haz.IBCPositions[i] as bsmd.database.IBCPosition; + + rootIBC.ProductName = ibcPos.ProductName; + if (ibcPos.PollutionCategory.HasValue) + rootIBC.PollutionCategory = (PollutionCategoryType)ibcPos.PollutionCategory.Value; + rootIBC.HazardsSpecified = ibcPos.Hazards.HasValue; + if (ibcPos.Hazards.HasValue) + rootIBC.Hazards = (HazardType)ibcPos.Hazards.Value; + if (ibcPos.FlashpointInformation.HasValue) + rootIBC.FlashpointInformation = (FlashpointInfoType)ibcPos.FlashpointInformation.Value; + rootIBC.Flashpoint_CEL = ibcPos.Flashpoint_CEL; + if (ibcPos.Quantity_KGM.HasValue) + rootIBC.Quantity_KGM = decimal.Round((decimal)ibcPos.Quantity_KGM.Value, 3); + rootIBC.StowagePosition = ibcPos.StowagePosition; + rootIBC.PortOfLoading = ibcPos.PortOfLoading; + rootIBC.PortOfDischarge = ibcPos.PortOfDischarge; + rootIBC.SpecRef15_19Specified = ibcPos.SpecRef15_19.HasValue; + if (ibcPos.SpecRef15_19.HasValue) + rootIBC.SpecRef15_19 = ibcPos.SpecRef15_19.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + if (!ibcPos.Remarks.IsNullOrEmpty()) + rootIBC.Remarks = ibcPos.Remarks; + + dpgOnDeparture.DPGItemIBC[i] = rootIBC; + } + } + #endregion + + #region IGC + if (haz.IGCPositions.Count > 0) + { + dpgOnDeparture.DPGItemIGC = new bsmd.dbh.Request.IGCPosition[haz.IGCPositions.Count]; + for (int i = 0; i < haz.IGCPositions.Count; i++) + { + bsmd.dbh.Request.IGCPosition rootIGC = new bsmd.dbh.Request.IGCPosition(); + bsmd.database.IGCPosition igcPos = haz.IGCPositions[i] as bsmd.database.IGCPosition; + + rootIGC.UNNumber = igcPos.UNNumber; + rootIGC.IMOClass = igcPos.IMOClass; + rootIGC.ProductName = igcPos.ProductName; + if (igcPos.Quantity_KGM.HasValue) + rootIGC.Quantity_KGM = decimal.Round((decimal)igcPos.Quantity_KGM.Value, 3); + rootIGC.StowagePosition = igcPos.StowagePosition; + rootIGC.PortOfLoading = igcPos.PortOfLoading; + rootIGC.PortOfDischarge = igcPos.PortOfDischarge; + if (!igcPos.Remarks.IsNullOrEmpty()) + rootIGC.Remarks = igcPos.Remarks; + + dpgOnDeparture.DPGItemIGC[i] = rootIGC; + } + } + #endregion + + #region IMSBC + if (haz.IMSBCPositions.Count > 0) + { + dpgOnDeparture.DPGItemIMSBC = new bsmd.dbh.Request.IMSBCPosition[haz.IMSBCPositions.Count]; + for (int i = 0; i < haz.IMSBCPositions.Count; i++) + { + bsmd.dbh.Request.IMSBCPosition rootIMSBC = new bsmd.dbh.Request.IMSBCPosition(); + bsmd.database.IMSBCPosition imsbcPos = haz.IMSBCPositions[i] as bsmd.database.IMSBCPosition; + + rootIMSBC.BulkCargoShippingName = imsbcPos.BulkCargoShippingName; + if (imsbcPos.MHB.HasValue) + rootIMSBC.MHB = imsbcPos.MHB.Value ? RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; + rootIMSBC.UNNumber = imsbcPos.UNNumber; + rootIMSBC.IMOClass = imsbcPos.IMOClass; + if (imsbcPos.Quantity_KGM.HasValue) + rootIMSBC.Quantity_KGM = decimal.Round((decimal)imsbcPos.Quantity_KGM.Value, 3); + rootIMSBC.StowagePosition = imsbcPos.StowagePosition; + rootIMSBC.PortOfLoading = imsbcPos.PortOfLoading; + rootIMSBC.PortOfDischarge = imsbcPos.PortOfDischarge; + if (!imsbcPos.Remarks.IsNullOrEmpty()) + rootIMSBC.Remarks = imsbcPos.Remarks; + rootIMSBC.IMOHazardClassSpecified = imsbcPos.IMOHazardClass.HasValue; + if (imsbcPos.IMOHazardClass.HasValue) + rootIMSBC.IMOHazardClass = (IMOHazardClassType)imsbcPos.IMOHazardClass.Value; + + dpgOnDeparture.DPGItemIMSBC[i] = rootIMSBC; + } + } + #endregion + + #region MARPOL_ANNEX_I + if (haz.MARPOLPositions.Count > 0) + { + dpgOnDeparture.DPGItemMARPOLAnnexI = new MARPOLPosition[haz.MARPOLPositions.Count]; + for (int i = 0; i < haz.MARPOLPositions.Count; i++) + { + MARPOLPosition rootMarpol = new MARPOLPosition(); + MARPOL_Annex_I_Position marpolPos = haz.MARPOLPositions[i] as MARPOL_Annex_I_Position; + + rootMarpol.Name = marpolPos.Name; + if (marpolPos.FlashpointInformation.HasValue) + rootMarpol.FlashpointInformation = (FlashpointInfoType)marpolPos.FlashpointInformation.Value; + rootMarpol.Flashpoint_CEL = marpolPos.Flashpoint_CEL; + if (marpolPos.Quantity_KGM.HasValue) + rootMarpol.Quantity_KGM = decimal.Round((decimal)marpolPos.Quantity_KGM.Value, 3); + rootMarpol.StowagePosition = marpolPos.StowagePosition; + rootMarpol.PortOfLoading = marpolPos.PortOfLoading; + rootMarpol.PortOfDischarge = marpolPos.PortOfDischarge; + if (!rootMarpol.Remarks.IsNullOrEmpty()) + rootMarpol.Remarks = marpolPos.Remarks; + + dpgOnDeparture.DPGItemMARPOLAnnexI[i] = rootMarpol; + } + } + #endregion + + rootHAZD.ItemsElementName[3] = ItemsChoiceType6.DPGOnDeparture; + rootHAZD.Items[3] = dpgOnDeparture; + + #endregion + + } + + root.Items = new object[1]; + root.Items[0] = rootHAZD; + } + break; + #endregion + + default: _log.WarnFormat("Message type {0} not (yet) supported for dbh", message.MessageNotificationClassDisplay); break; diff --git a/bsmd.dbh/Web References/DBHWebReference/NSWRequest.xsd b/bsmd.dbh/Web References/DBHWebReference/NSWRequest.xsd deleted file mode 100644 index a2babe59..00000000 --- a/bsmd.dbh/Web References/DBHWebReference/NSWRequest.xsd +++ /dev/null @@ -1,3124 +0,0 @@ - - - - - XSD for communication from reporter to ANSW. - - - - - - Version number of schema - - - - - - - - - - Version information of the source (e.g. file or document) from which the data of this message originates - - - - - - - - Timestamp, when the message is sent - - - - - The sender's ZKV number. - - - - - - - - - - A customer reference that can be freely filled and will be send back in the following response. No checks are made on this field. When a new Visit- or TransitId is obtained, it should be used as a reference to match the response to its corresponding request. - - - - - - - - - - - The message type: -- VISIT: Creates a new declaration with the application for a VisitId. It's allowed to send further data in one or more reporting classes -- TRANSIT: same with TransitId -- DATA: Only data for one or more reporting classes are included -- RESET: The data of one or more reporting classes are deleted -- CANCEL: The whole declaration is cancelled - - - - - - - - - - - - - - - Required when TransitId is missing and field "Type" is not "VISIT or "TRANSIT" - - - - - Reporting class to obtain a VisitId. Required when the value of the field "Type" is "VISIT". Ignored in all other cases. - - - - - - - IMO number (required, if ENI number is ommited). Will result in Error 102 if the provided IMO number is not valid. - - - - - ENI number (required, if IMO number is ommited) - - - - - - UNECE LOCODE of Port of Call. Will result in Error 101 if the provided port of call is not in the list of German seaports. - - - - - Estimated Time of Arrival at Port of Call (ETA-PoC) - (YYYY-MM-DD with optional time value using GMT timezone) - - - - - - - - Required when VisitId is missing and field "Type" is not "VISIT or "TRANSIT" - - - - - Reporting class to obtain a TransitId. Required when the value of the field "Type" is "TRANSIT". Ignored in all other cases. - - - - - - - IMO number (required, if ENI number is ommited). Will result in Error 102 if the provided IMO number is not valid. - - - - - ENI number (required, if IMO number is ommited) - - - - - - Estimated Time of Arrival at Kiel-Canal Lock (ETA-NOK) - (YYYY-MM-DD with optional time value using GMT timezone) - - - - - - - - - A list of SIS numbers. An empty list means that all sent numbers will be deleted. Sending a new list overwrites existing ones completely. - - - - - - One SIS number - - - - - - - - - - - - - Reporter data - - - - - - Alle reporting classes that are to be reseted. Needs Type=RESET - - - - - - One reporting class that shall be reseted. - - - - - - - - - Agent (reporting class) - - - - - - Reporter data - - - - - Name of ship agency - - - - - Street, Number - - - - - Postal code - - - - - City - - - - - Country - - - - - Last name - - - - - First name - - - - - Phone - - - - - Fax - - - - - E-Mail - - - - - - - - Notification of arrival/departure (reporting class) - - - - - - Reporter data - - - - - Part needed for a Visit - - - - - Estimated Time of Arrival (ETA-PoC) (YYYY-MM-DDThh:mm:ssTZD in UTC / TZD = time zone designator (Z or +hh:mm or -hh:mm) - - - - - Estimated Time of Departure (ETD-PoC) (YYYY-MM-DDThh:mm:ssTZD in UTC / TZD = time zone designator (Z or +hh:mm or -hh:mm). Will result in Error 121 if ETD-PoC ??? ETA- PoC) - - - - - Purpose of call for PoC - - - - - - 1 - 999 - - - - - - - - - - - Description - - - - - - - - - - - - - - - - Estimated Time of Arrival (ETA-NOK) (YYYY-MM-DDThh:mm:ssTZD in UTC) - - - - - Estimated Time of Departure (ETD-NOK) (YYYY-MM-DDThh:mm:ssTZD in UTC). Will result in Error 123 if ETD-NOK ??? ETA- NOK. - - - - - - - Last Port (LP) as UNECE LoCode or ZZUKN if unknown - - - - - Estimated Time of Departure Last Port (ETD-LP). Required when LP is given and not ZZUKN (YYYY-MM-DDThh:mm:ssTZD in UTC). Will result in Error 125 if omitted or empty. - - - - - Next Port (NP) as SSN LoCode or ZZUKN if unknown. Will result in Violation 841 if the provided next port is not accepted by SafeSeaNet. - - - - - Estimated Time of Arrival Next Port (ETA-NP). Required when NP is given and not ZZUKN (YYYY-MM-DDThh:mm:ssTZD in UTC). Will result in Error 122 if ETD-PoC ??? ETA NP. Will result in Error 124 if field is omitted or left emtpy and NextPort ??? "ZZUKN". - - - - - - - - Actual Time of Arrival (reporting class) - - - - - - Reporter data - - - - - Actual Time of Arrival (ATA) at first port facility in port of call (YYYY-MM-DDThh:mm:ssTZD). -The provided value must not be more than 15 minutes in the future, otherwise Error 141 will occur. -If ATA is notified before any voyage information was provided via NOA_NOD, Violation 861 will occur. - - - - - - - - Actual Time of Departure (reporting class) - - - - - - Reporter data - - - - - Actual Time of Departure (ATD) from last port facility in port of call (YYYY-MM-DDThh:mm:ssTZD). -The provided value must not be more than 15 minutes in the future, otherwise Error 141 will occur. -If ATD is notified before any voyage information was provided via NOA_NOD, Violation 881 will occur. -If ATD is notified before ATA was provided, Violation 882 will occur. - - - - - - - - Sea security (reporting class) - - - - - - Reporter data - - - - - Information about a planned Kiel Canal Passage. -This attribute is only applicable for a port call (VISIT). If it is provided for a TRANSIT, Violation 705 occurs. - - - - - - Identification for a planned Kiel-Canal passage (fixed value Y) - - - - - Estimated Time of Arrival at Kiel-Canal Lock (ETA-NOK) - Date incoming journey to PortOfCall. Mandatory if KielCanalPassagePlanned=Y and KielCanalPassagePlannedOutgoing is empty. -If neither KielCanalPassagePlannedIncoming nor KielCanalPassagePlannedOutgoing is provided, Violation 706 occurs. - - - - - Estimated Time of Arrival at Kiel-Canal Lock (ETA-NOK) - Date outgoing journey from PortOfCall. Mandatory if KielCanalPassagePlanned=Y and KielCanalPassagePlannedIncoming is empty. -If neither KielCanalPassagePlannedIncoming nor KielCanalPassagePlannedOutgoing is provided, Violation 706 occurs. - - - - - - - - Current ship security level (1-3) - - - - - - It's possible to simplify this reporting class by just giving the German port where the full information have been yielded already and nothing has changed since then. - - - - Identification for a simplified report (fixed value Y) - - - - - Port of call where the complete information was notified (requires the LOCODE of a german seaport, otherwise Violation 704 will occur) - - - - - - Full SEC report - - - - CSOLastName - - - - - CSO first name - - - - - CSO Telephone - - - - - CSO Fax - - - - - CSO E-Mail - - - - - Valid ISSC on board (y/n) - - - - - - - - Required if ValidISSCOnBoard = N. Will result in Violation 702 if omitted or empty - - - - - ISSC type (full or interim) - - - - - ISSC issuer type (Adminstration or Recognized Security Organization) - - - - - - Date of expiration ISSC (YYYY-MM-DD) - - - - - Approved security plan on board (y/n) - - - - - - - - Port facility of arrival (if known) - - - - - General description of cargo (container, vehivles, conventional general cargo, dry cargo in bulk, liquid cargo in bulk or empty) - - - - - Last 10 port facilities called. - - - - - - Name of port where port facility is located. - - - - - Country where port is located. - - - - - LoCode of port where port facility is located (UNECE LOCODE). - - - - - Date of arrival at port facility (YYYY-MM-DD) - - - - - Date of departure from port facility (YYYY-MM-DD) - - - - - Ship security level at port facility (1-3) - - - - - Any security matters to report - - - - - LoCode the port facility's code is connected to. Must be specified if the LoCode differs from the value in PortFacilityPortLoCode. - - - - - Port facility's code in the IMO GISIS maritime security database (ISPS). Use "0000" if not available. - - - - - - - - List of ship-to-ship activities - - - - - - At least one Location element must be provided (LoCode, Latitude/Longitude or LocationName). Will result in Violation 701 if omitted or empty. - - - - - - Location name - - - - - Location LoCode (UNECE LOCODE) - - - - - - - - Latitude in 1/10000 min. (+/- 90 degrees; North = positive; South = negative; 91 = not available).Examples: 91?? (north) -&gt; 54600000 / -90?? (south) -&gt; -54000000 / 0??0???1??? (north) -&gt; 167 / 50??50??? (north) -&gt; 30500000 - - - - - Longitude in 1/10000 min. (+/- 180 degrees; East = positive; West = negative; 181 = not available). Examples: 181?? (east) -> 108600000 / -180?? (west) -> -108000000 / 0??0???1??? (east) -> 167 / 4??20??? (east) -> 2600000 - - - - - - - - - - - Date from (YYYY-MM-DD in GMT) - - - - - Date to (YYYY-MM-DD in GMT) - - - - - Ship-to-ship-activity, coded. -Use one of the codes specifying the purpose of the conveyance call declared in UN/EDIFACT DataElement 8025, D16A (http://www.unece.org/trade/untdid/d16a/tred/tred8025.htm). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Persons on board upon arrival (reporting class) - - - - - - Reporter data - - - - - Number of persons on board upon arrival - - - - - - - - - - - Number of crew members on board upon arrival - - - - - - - - - - Number of passengers on board upon arrival - - - - - - - - - - Number of stowaways on board upon arrival - - - - - - - - - - - - - Persons on board upon departure (reporting class) - - - - - - Reporter data - - - - - Number of persons on board upon departure - - - - - - - - - - - Number of crew members on board upon departure - - - - - - - - - - Number of passengers on board upon departure - - - - - - - - - - Number of stowaways on board upon departure - - - - - - - - - - - - - Name of the captain (reporting class) - - - - - - Reporter data - - - - - Name of master - - - - - - - - Draught on arrival (reporting class) - - - - - - Reporter data - - - - - Draught on arrival in decimetre (DMT) - - - - - - - - Draught on departure (reporting class) - - - - - - Reporter data - - - - - Draught on departure in decimetre (DMT) - - - - - - - - Bunker fuel on arrival (reporting class) - - - - - - Reporter data - - - - - Bunker fuel on arrival - - - - - - Name / Type of bunker fuel - - - - - Quantity of bunker fuel per type in tons (TNE) - - - - - - - - - - - Bunker fuel on departure (reporting class) - - - - - - Reporter data - - - - - Bunker fuel on departure - - - - - - Name / Type of bunker fuel - - - - - Quantity of bunker fuel per type in tons (TNE) - - - - - - - - - - - Vessel details (reporting class) - - - - - - Reporter data - - - - - Ship name - - - - - Callsign - - - - - MMSI number - - - - - Flag: Alpha-2 code (two-digits flag code) in accordance with the standard ISO 3166-0 - - - - - - - - - - - Length overall in meters (MTR) - - - - - Beam in meters (MTR) - - - - - Gross tonnage - - - - - - - - - - Port of registry (UNECE LOCODE) - - - - - Inmarsat call numbers - - - - - - Inmarsat call number (single entry) - - - - - - - - Transportmode according to UNECE Rec 19 (Maritime transport (1) / Inland water transport (8)) - - - - - - - - - - - Ship type (UNECE Rec 28.) - - - - - - - - - - - - ISM company information. Must be provided when GrossTonnage >= 500 or Violation 821 will occur. - - - - - - ISM name of company . The information is contained in the "Document of Compliance (DOC)" in accordance with IMO Resolution A. 741 (18) (ISM Code). - - - - - ISM company identification number. The information is contained in the "Document of Compliance (DOC)" in accordance with IMO Resolution A. 741 (18) (ISM Code). - - - - - - - - - - ISM Street, Number - - - - - ISM Postal code - - - - - ISM City - - - - - ISM Country - - - - - - - - - - - Cargo information (reporting class) - - - - - - Reporter data - - - - - Per type of cargo that is moved in Port of call. - - - - - - Cargo handling type (load or discharge) - - - - - Cargo type code according to the key list of cargo types and units - - - - - - - - - - - Division code of cargo according to NST-2007 - - - - - - - - - - Group code of cargo according to NST-2007 (3rd digit after the "." (dot) of the group code only!) - - - - - - - - - - Cargo quantity. Required if CargoCodeNST equals 11, 12, 16 or 19 (see Cargo catalogue Attachment 1 - NST2007). Throws Violation 721 if field is omitted of empty. - - - - - - - - - - Gross quantity in tons (TNE) - - - - - LoCode of port where the cargo was loaded on board (UNECE LOCODE) or ZZUKN if unknown - - - - - LoCode of port where the cargo will be discharged (UNECE LOCODE) or ZZUKN if unknown - - - - - - - - - - - Information (reporting class) - - - - - - Reporter data - - - - - Shipping area (North sea/baltic sea, europe, overseas) - - - - - Value from a list of valid port area codes - - - - - Position of ship in port of call - - - - - Special requirements of ship (at berth) - - - - - Special construction characteristics of ship - - - - - Power of BowThruster - - - - - Power of SternThruster - - - - - Fumigated bulk cargo (y/n) - - - - - - - - - - - Dead weight summer in tons (TNE). - - - - - - - - Services (reporting class) - - - - - - Reporter data - - - - - Service type - - - - - - Name of service - - - - - Beneficiary - - - - - Invoice recipient - - - - - - - - - - - 72 hour Preannouncement (reporting class) - - - - - - Reporter data - - - - - Is it a tanker (y/n) - - - - - Tanker details. Required if Tanker =Y or will result in Violation 741 if otherwise omitted or left empty. - - - - - - Tanker hull configuration (single hull, single hull with separatied ballast tanks, double hull) - - - - - Condition of cargo and ballast tanks (full, empty, inerted) - - - - - Nature of cargo - - - - - Volume of cargo in tons (TNE) - - - - - - - - Planned operations: loading, discharging, others - - - - - Planned inspection / works - - - - - Date of last expanded inspection - - - - - Planned period of stay in hours (HUR) - - - - - - - - Declaration of health (reporting class) - - - - - - Reporter data - - - - - - It's possible to simplify this reporting class by just giving the German port where the full information have been yielded already and nothing has changed since then. - - - - Identification for a simplified report (fixed value Y) - - - - - Port of call where the complete information was notified (requires the LOCODE of a german seaport, otherwise Error 161 will occur). - - - - - - - - - - - - - Has any person died on board during the voyage otherwise than as a result of accident? (y/n) - - - - - Number of deaths. Required if NonAccidentialDeathsDuringVoyage is filled with Y, otherwise Violation 761 will occur. - - - - - - - - - - Is there on board or has there been during the international voyage any case of disease which you suspect to be of an infectious nature? (y/n) - - - - - Total number of ill passengers greater than normal/expected (y/n) - - - - - Number of ill persons. Required if NumberOfIllPersonsHigherThanExpected is filled with Y, otherwise Violation 762 will occur. - - - - - - - - - - Sick persons on board (y/n) - - - - - Was a medical practitioner consulted? (y/n) - - - - - Are you aware of any condition on board which may lead to further infections? (y/n) - - - - - Any sanitary measures applied (y/n) - - - - - Sanitary meassures details. Required if SanitaryMeasuresApplied is filled with Y, otherwise Violation 763 will occur. - - - - - - Sanitary measure - Type - - - - - Sanitary measure - Location - - - - - Sanitary measure - Date - - - - - - - - Stowaways on board (y/n) - - - - - Location stowaways joined ship (if known). Required if StowawaysDetected is Y, otherwise Violation 764 will occur. - - - - - Sick animal or pet on board (y/n) - - - - - Valid sanitation control exemption or control certificate on board (y/n) - - - - - Sanitary control exemption or certificate. Required if ValidSanitaryControlExemptionOrCertificateOnBoard is Y, otherwise Violation 765 will occur. - - - - - - Place of issue - - - - - Date of issue - - - - - - - - Reinspection satitary control required (y/n) - - - - - Has the ship visited an infected area (WHO)? (y/n) - - - - - Infected area. Required if InfectedAreaVisited is Y, otherwise Violation 766 will occur. - - - - - - Infected area - Port - - - - - Infected area - Date - - - - - - - - Ports of call of the last 30 days - - - - - - Port of call of the last 30 days - - - - - - Port (UNECE LOCODE) - - - - - Date of departure of port - - - - - Did any crew members join the ship at this port? (y/n) - - - - - Joined Crew members. Required if PortOfCallLast30DaysCrewMembersJoined is Y, otherwise Violation 767 will occur. - - - - - - Name of crew member - - - - - - - - - - - - - - - - - - - Waste (reporting class) - - - - - - Reporter data - - - - - - Valid exemption (y). If there is an exemption, no other attribute must be specified in this reporting class. - - - - - - Last port where waste or cargo residues were discharged (SSN LoCode). -Violation 786 will be returned if the provided LoCode is not accepted by SafeSeaNet. - - - - - Date of last disposal (GMT) - - - - - Name of waste disposal service provider - - - - - Waste disposal order type (all, some, none) - - - - - All waste types provided in Directive 2015/2087 Annex II must be provided (except for Sewage) at least once. Results in Violation 783 if one or more mandatory waste types are omitted. - - - - - - Type of waste to be disposed - - - - - - Waste code according to Waste Type Codes list. Results in Violation 784 if an invalid waste code is provided. - - - - - - - - - - - Textual description, required for those waste types marked in the Waste Type Codes list. Will otherwise result in Violation 781. - - - - - - - - Amount of waste of this waste type to be disposed in cubic meters (MTQ) - - - - - Amount of waste of this type that has been discharged at the last port of disposal in cubic meters (MTQ) - - - - - Waste details. Required only if not all wastes/cargo residues are disposed in port of call. Will result in Violation 782 if left empty or omitted otherwise. - - - - - - Maximum dedicated storage capacity of waste of this type on board in cubic meters (MTQ) - - - - - Amount of waste of this type retained on board in cubic meters (MTQ) - - - - - Port of delivery of remaining waste of this type (UNECE LoCode) - - - - - Estimated waste/cargo residues amount of waste of this type generated between port of call and next port in cubic meters (MTQ) - - - - - - - - - - - Confirmation that the above details are accurate and correct, and there is sufficient dedicated onboard capacity to store all waste generated between notification and the next port at which waste will be delivered (fixed value Y). - - - - - - - - - - Crew list (reporting class) - - - - - - Reporter data - - - - - Crew member - - - - - - Last name - - - - - First name - - - - - Place of birth - - - - - Date of birth - - - - - Gender - - - - - Nationality: The Alpha-2 code (two-digits flag code) in accordance with the standard ISO 3166-1; "YY" for stateless - - - - - Nature of identity document (Identity card, passport, muster book, picture ID, residental permit, other) - - - - - ID of identity document - - - - - Issuing state of identity document: The Alpha-2 code (two-digits flag code) in accordance with the standard ISO 3166-1; "YY" for stateless - - - - - Issuing state of identity document - - - - - If available: Visa number or residence permit number - - - - - Duty on board - - - - - - - - - - - Passenger list (reporting class) - - - - - - Reporter data - - - - - Information to each person - - - - - - Last name - - - - - First name - - - - - Place of birth - - - - - Date of birth - - - - - Gender - - - - - The Alpha-2 code (two-digits flag code) in accordance with the standard ISO 3166-1; "YY" for stateless - - - - - Nature of identity document (Identity card, passport, muster book, picture ID, residental permit, other) - - - - - ID of identity document - - - - - Issuing state of identity or travel document: The Alpha-2 code (two-digits flag code) in accordance with the standard ISO 3166-1; "YY" for stateless - - - - - Expiry date of identity or travel document - - - - - Visa number or residence permit number (If available) - - - - - Port of embarkation (UNECE LOCODE) - - - - - Port of disembarkation (UNECE LOCODE) - - - - - Transit passenger (y/n) - - - - - - - - - - - Border policing message (reporting class) - - - - - - Reporter data - - - - - Stowaways on board (y/n) - - - - - Port of itinerary (only for cruise ships) - - - - - - Name of itinerary port - - - - - ETA at port of itinerary (UTC). If time is provided, use TZD (time zone designator, Z or +hh:mm or -hh:mm). - - - - - - - - - - - Towage on arrival (reporting class) - - - - - - Reporter data - - - - - Towage on arrival - - - - - - Name of the towage on arrival - - - - - Flag of the towage on arrival (Alpha-2 code (two-digits flag code) in accordance with the standard ISO 3166-1) - - - - - Identifcation of the towage operator on arrival - - - - - - name of company (DOC Document of compliance) - - - - - Street, Streetnumber - - - - - Postal code - - - - - City - - - - - Country - - - - - Phone - - - - - Fax - - - - - E-Mail - - - - - - - - Gross tonnage on arrival - - - - - - - - - - Length overall (towage) on arrival in meters (MTR) - - - - - Beam (towage) on arrival in meters (MTR) - - - - - Purpose of call of the towage on arrival - - - - - Draught of the towage on arrival in decimeters (DMT) - - - - - Remark to towage on arrival: Information on message-relevant data, for example, a HAZA message (for the dangerous goods on board the towage) attached to the VisitID - - - - - - - - - - - Towage on departure (reporting class) - - - - - - Reporter data - - - - - - - - Name of the towage on departure - - - - - Flag of the towage on departure (Alpha-2 code (two-digits flag code) in accordance with the standard ISO 3166-1). Only at a change in the terms of TOWA. - - - - - Identifcation of the towage operator on departure - - - - - - name of company - - - - - Street, Streetnumber - - - - - Postcode - - - - - City - - - - - Country - - - - - Phone - - - - - Fax - - - - - E-Mail - - - - - - - - Length overall (towage) on departure in meters (MTR) - - - - - Beam (towage) on departure in meters (MTR) - - - - - Draught of the towage on departure in decimeters (DMT) - - - - - Remark to towage on departure: Information on message-relevant data, for example, a HAZD message (for the dangerous goods on board the towage) attached to the VisitID - - - - - - - - - - - Dangerous goods on arrival (reporting class) - - - - - - Reporter data - - - - - - No DPG on Board on arrival (y) - - - - - - DPG manifest on board (y/n) - - - - - INF ship class. Needed for dangerous goods class 7 (higly radioactive goods with INF code) - - - - - Memorandum of Understanding for the Transport of Dangerous Goods on Ro-Ro Ships in the Baltic - - - - - DG on arrival. Results in Violation 805 if not at least one DPG item is provided. - - - - - - IMDG item. - - - - - IBC item - - - - - IGC item - - - - - IMSBC item - - - - - MARPOL AnnexI item - - - - - - - - - - - - - Dangerous goods on departure (reporting class) - - - - - - Reporter data - - - - - - No DPG on Board on departure (y) - - - - - - DPG manifest on board (y/n) - - - - - INF ship class. Needed for dangerous goods class 7 (higly radioactive goods with INF code) - - - - - Memorandum of Understanding for the Transport of Dangerous Goods on Ro-Ro Ships in the Baltic - - - - - DG on departure. Results in Violation 805 if not at least one DPG item is provided. - - - - - - IMDG item. - - - - - IBC item - - - - - IGC item - - - - - IMSBC item - - - - - MARPOL AnnexI item - - - - - - - - - - - - - - - A list of violations reported by the NSW core system. Declarants do not need to fill this list. - - - - - - Information for each reported violation - - - - - - NSW violation code - - - - - - - - - - - Violation description - - - - - - - - - - - - - - - - - - - - - - Type of reporter - - - - - - - - - - - - - - - - Company name - - - - - Street/street number - - - - - ZIP/Postal code - - - - - City - - - - - Country - - - - - Last name of contact - - - - - First name of contact - - - - - Phone number - - - - - Fax number - - - - - E-Mail adress - - - - - - - - - UN number. Throws Violation 806 if no material is found fitting to the provided combination of UN number and Packing group. - - - - - Packing group (I, II, or III). If no packing group is available, omit field. Throws Violation 806 if no material is found fitting to the provided combination of UN number and Packing group. - - - - - Proper shipping name - - - - - IMO class/division/(compatibility group). The first letter of the DG class f??r further checkings (see the following nodes). Throws Violation 807 if IMO class doesn't match. - - - - - Technical name (according to special regulation 274 / 318 about dangerous substances). Throws Violation 801 if this field is needed for the dangerous good and omitted or left empty. - - - - - Net explosive in kilos (KGM) mass for class 1 DG. Results in Violation 801 if this field is omitted or left empty for a class 1 DG. - - - - - Flashpoint in degrees celsius (CEL). Results in Violation 801 if this field is omitted or left empty for a class 3 DG. - - - - - Radionuclide name. Results in Violation 801 if this field is omitted or left empty for a class 7 DG. - - - - - MaxActivity in Becquerel (BQL). Results in Violation 801 if this field is omitted or left empty for a class 7 DG. - - - - - Category. Results in Violation 801 if this field is omitted or left empty for a class 7 DG. - - - - - - - - - - - Transportindex. Results in Violation 801 if this field is omitted or left empty for a class 7 DG. - - - - - - - - - - Criticality Safety Index (CSI). Results in Violation 801 if this field is omitted or left empty for a class 7 DG. - - - - - - - - - - Control temperature in degrees celsius (CEL). Results in Violation 801 if this field is omitted or left empty for a class 4 or 5 DG. - - - - - - - - - - Emergency temperature in degrees celsius (CEL). Results in Violation 801 if this field is omitted or left empty for a class 4 or 5 DG. - - - - - - - - - - Subsidiary risks - - - - - - Subsidiary risk (list) - - - - - - - - - - - - - - Marine pollutant (y/n) - - - - - Number of packages - - - - - - - - - - Package type. Name or code from UNECE REC.21 Annex VII. - - - - - Limited quantities (y/n) - - - - - Excepted quantities (y/n) - - - - - Net mass in kilos (KGM). One of NetQuantity_KGM, GrossQuantity_KGM, or Volume_MTQ has to be filled out. Otherwise Violation 802 will be returned. - - - - - Gross mass in kilos (KGM). One of NetQuantity_KGM, GrossQuantity_KGM, or Volume_MTQ has to be filled out. Otherwise Violation 802 will be returned. - - - - - Cargo volume in cubic meters (MTQ). One of NetQuantity_KGM, GrossQuantity_KGM, or Volume_MTQ has to be filled out. Otherwise Violation 802 will be returned. - - - - - General cargo (y/n). One of GeneralCargoIBC, ContainerNumber, or VehicleLicenseNumber has to be filled out. Otherwise Violation 808 will be returned. - - - - - Container number. One of GeneralCargoIBC, ContainerNumber, or VehicleLicenseNumber has to be filled out. Otherwise Violation 808 will be returned. - - - - - License plate of vehicle. One of GeneralCargoIBC, ContainerNumber, or VehicleLicenseNumber has to be filled out. Otherwise Violation 808 will be returned. - - - - - - Stowage position. In case of a container the position must be given in Bay-Row-Tier notation (use appropriate fields). - - - - - - Notation bay. Use this for stowage position in case of container. - - - - - Notation row. Use this for stowage position in case of container. - - - - - Notation tier. Use this for stowage position in case of container. - - - - - - - Port of loading (UNECE LOCODE). Use ZZUKN if port is unknown. - - - - - Port of discharge (UNECE LOCODE). Use ZZUKN if port is unknown. - - - - - Remark - - - - - Unique identifier. Will be addressed in possible Violations in this dg item. - - - - - - - - - Product name or trade name - - - - - Pollution category (X, Y, Z, or OS) - - - - - Hazards (column "d" of the IBC code (P, S, or S/P). Violation 810 will occur if hazard class is omitted but must be provided for this particular IBC position. - - - - - Flashpoint information (non-flammable, greater 60 degree celsius, or lesser-equal 60 degree celsius) - - - - - Flashpoint in degrees celsius (CEL). Required if field FlashpointInformation is LE60CEL. Otherwise Violation 804 will be returned. - - - - - Mass in kilos (KGM) - - - - - Stowage position - - - - - Port of loading (UNECE LOCODE) - - - - - Port of discharge (UNECE LOCODE) - - - - - Colums "o" of IBC Code containing value 15.19 (y/n) IMO RESOLUTION MEPC.119(52) - - - - - Remark - - - - - Unique identifier. Will be addressed in possible Violations in this dg item. - - - - - - - - - UN-number - - - - - IMO hazardous class / division - - - - - Product name - - - - - Mass in kilos (KGM) - - - - - Stowage position - - - - - Port of loading (UNECE LOCODE). Use ZZUKN if port is unknown. - - - - - Port of discharge (UNECE LOCODE). Use ZZUKN if port is unknown. - - - - - Remark - - - - - Unique identifier. Will be addressed in possible Violations in this dg item. - - - - - - - - - Bulk cargo shipping name - - - - - IMO Hazard Class (Group code according to IMSBC (A, B, A and B)). Violation 810 will occur if hazard class is omitted but must be provided for this particular IMSBC position. - - - - - Material hazardous only in bulk (y/n). Taken from the field "class" of the IMSBC description. - - - - - UN-Number. Required if field MHB is N. Taken from the technical name of the IMSBC description. Otherwise Violation 803 will be returned. - - - - - IMO hazardous class / division. Required if field MHB is N. Taken from the technical name of the IMSBC description. Otherwise Violation 803 will be returned. - - - - - Mass in kilos (KGM) - - - - - Stowage Position - - - - - Port of loading (UNECE LoCode). Use ZZUKN if port is unknown. - - - - - Port of discharge (UNECE LoCode). Use ZZUKN if port is unknown. - - - - - Remark - - - - - Unique identifier. Will be addressed in possible Violations in this dg item. - - - - - - - - - Name - - - - - Flashpoint information (non-flammable, greater 60 degree celsius, or lesser-equal 60 degree celsius) - - - - - Flashpoint in degrees celsius (CEL). Required if field FlashpointInformation is LE60CEL. Otherwise Violation 804 will be returned. - - - - - Mass in kilos (KGM) - - - - - Stowage Position - - - - - Port of loading (UNECE LoCode). Use ZZUKN if port is unknown. - - - - - Port of discharge (UNECE LoCode). Use ZZUKN if port is unknown. - - - - - Remark - - - - - Unique identifier. Will be addressed in possible Violations in this dg item. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/bsmd.dbh/Web References/DBHWebReference/Reference.cs b/bsmd.dbh/Web References/DBHWebReference/Reference.cs deleted file mode 100644 index 9bb39ab1..00000000 --- a/bsmd.dbh/Web References/DBHWebReference/Reference.cs +++ /dev/null @@ -1,5990 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -// -// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.42000. -// -#pragma warning disable 1591 - -namespace bsmd.dbh.DBHWebReference { - using System; - using System.Web.Services; - using System.Diagnostics; - using System.Web.Services.Protocols; - using System.Xml.Serialization; - using System.ComponentModel; - - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Web.Services.WebServiceBindingAttribute(Name="Dbh_Osis_Answ_Ws", Namespace="http://www.openuri.org/")] - public partial class Dbh_Osis_Answ_Ws : System.Web.Services.Protocols.SoapHttpClientProtocol { - - private System.Threading.SendOrPostCallback RootOperationCompleted; - - private bool useDefaultCredentialsSetExplicitly; - - /// - public Dbh_Osis_Answ_Ws() { - this.Url = global::bsmd.dbh.Properties.Settings.Default.bsmd_dbh_DBHWebReference_Dbh_Osis_Answ_Ws; - if ((this.IsLocalFileSystemWebService(this.Url) == true)) { - this.UseDefaultCredentials = true; - this.useDefaultCredentialsSetExplicitly = false; - } - else { - this.useDefaultCredentialsSetExplicitly = true; - } - } - - public new string Url { - get { - return base.Url; - } - set { - if ((((this.IsLocalFileSystemWebService(base.Url) == true) - && (this.useDefaultCredentialsSetExplicitly == false)) - && (this.IsLocalFileSystemWebService(value) == false))) { - base.UseDefaultCredentials = false; - } - base.Url = value; - } - } - - public new bool UseDefaultCredentials { - get { - return base.UseDefaultCredentials; - } - set { - base.UseDefaultCredentials = value; - this.useDefaultCredentialsSetExplicitly = true; - } - } - - /// - public event RootCompletedEventHandler RootCompleted; - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.openuri.org/submit", RequestNamespace="http://www.openuri.org/", ResponseElementName="submitResponse", ResponseNamespace="http://www.openuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - [return: System.Xml.Serialization.XmlElementAttribute("messageID")] - public string Root(RootVersion Version, string SourceDocumentVersion, System.DateTime Timestamp, string Sender, string SenderReference, RootType Type, [System.Xml.Serialization.XmlElementAttribute("Transit", typeof(RootTransit))] [System.Xml.Serialization.XmlElementAttribute("TransitId", typeof(string))] [System.Xml.Serialization.XmlElementAttribute("Visit", typeof(RootVisit))] [System.Xml.Serialization.XmlElementAttribute("VisitId", typeof(string))] [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] object Item, [System.Xml.Serialization.XmlIgnoreAttribute()] ItemChoiceType2 ItemElementName, [System.Xml.Serialization.XmlArrayItemAttribute("SisNumber", IsNullable=false)] string[] SisNumbers, ReportingParty ReportingParty, [System.Xml.Serialization.XmlElementAttribute("AGNT", typeof(RootAGNT))] [System.Xml.Serialization.XmlElementAttribute("ATA", typeof(RootATA))] [System.Xml.Serialization.XmlElementAttribute("ATD", typeof(RootATD))] [System.Xml.Serialization.XmlElementAttribute("BKRA", typeof(RootBKRA))] [System.Xml.Serialization.XmlElementAttribute("BKRD", typeof(RootBKRD))] [System.Xml.Serialization.XmlElementAttribute("BPOL", typeof(RootBPOL))] [System.Xml.Serialization.XmlElementAttribute("CREW", typeof(RootCREW))] [System.Xml.Serialization.XmlElementAttribute("HAZA", typeof(RootHAZA))] [System.Xml.Serialization.XmlElementAttribute("HAZD", typeof(RootHAZD))] [System.Xml.Serialization.XmlElementAttribute("INFO", typeof(RootINFO))] [System.Xml.Serialization.XmlElementAttribute("LADG", typeof(RootLADG))] [System.Xml.Serialization.XmlElementAttribute("MDH", typeof(RootMDH))] [System.Xml.Serialization.XmlElementAttribute("NAME", typeof(RootNAME))] [System.Xml.Serialization.XmlElementAttribute("NOA_NOD", typeof(RootNOA_NOD))] [System.Xml.Serialization.XmlElementAttribute("PAS", typeof(RootPAS))] [System.Xml.Serialization.XmlElementAttribute("POBA", typeof(RootPOBA))] [System.Xml.Serialization.XmlElementAttribute("POBD", typeof(RootPOBD))] [System.Xml.Serialization.XmlElementAttribute("PRE72H", typeof(RootPRE72H))] [System.Xml.Serialization.XmlElementAttribute("ReportingClassesToReset", typeof(RootReportingClassesToReset))] [System.Xml.Serialization.XmlElementAttribute("SEC", typeof(RootSEC))] [System.Xml.Serialization.XmlElementAttribute("SERV", typeof(RootSERV))] [System.Xml.Serialization.XmlElementAttribute("STAT", typeof(RootSTAT))] [System.Xml.Serialization.XmlElementAttribute("TIEFA", typeof(RootTIEFA))] [System.Xml.Serialization.XmlElementAttribute("TIEFD", typeof(RootTIEFD))] [System.Xml.Serialization.XmlElementAttribute("TOWA", typeof(RootTOWA))] [System.Xml.Serialization.XmlElementAttribute("TOWD", typeof(RootTOWD))] [System.Xml.Serialization.XmlElementAttribute("WAS", typeof(RootWAS))] object[] Items, [System.Xml.Serialization.XmlArrayItemAttribute("Violation", IsNullable=false)] RootViolation[] Violations) { - object[] results = this.Invoke("Root", new object[] { - Version, - SourceDocumentVersion, - Timestamp, - Sender, - SenderReference, - Type, - Item, - ItemElementName, - SisNumbers, - ReportingParty, - Items, - Violations}); - return ((string)(results[0])); - } - - /// - public void RootAsync(RootVersion Version, string SourceDocumentVersion, System.DateTime Timestamp, string Sender, string SenderReference, RootType Type, object Item, ItemChoiceType2 ItemElementName, string[] SisNumbers, ReportingParty ReportingParty, object[] Items, RootViolation[] Violations) { - this.RootAsync(Version, SourceDocumentVersion, Timestamp, Sender, SenderReference, Type, Item, ItemElementName, SisNumbers, ReportingParty, Items, Violations, null); - } - - /// - public void RootAsync(RootVersion Version, string SourceDocumentVersion, System.DateTime Timestamp, string Sender, string SenderReference, RootType Type, object Item, ItemChoiceType2 ItemElementName, string[] SisNumbers, ReportingParty ReportingParty, object[] Items, RootViolation[] Violations, object userState) { - if ((this.RootOperationCompleted == null)) { - this.RootOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRootOperationCompleted); - } - this.InvokeAsync("Root", new object[] { - Version, - SourceDocumentVersion, - Timestamp, - Sender, - SenderReference, - Type, - Item, - ItemElementName, - SisNumbers, - ReportingParty, - Items, - Violations}, this.RootOperationCompleted, userState); - } - - private void OnRootOperationCompleted(object arg) { - if ((this.RootCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.RootCompleted(this, new RootCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - public new void CancelAsync(object userState) { - base.CancelAsync(userState); - } - - private bool IsLocalFileSystemWebService(string url) { - if (((url == null) - || (url == string.Empty))) { - return false; - } - System.Uri wsUri = new System.Uri(url); - if (((wsUri.Port >= 1024) - && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { - return true; - } - return false; - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public enum RootVersion { - - /// - [System.Xml.Serialization.XmlEnumAttribute("6.0")] - Item60, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public enum RootType { - - /// - VISIT, - - /// - TRANSIT, - - /// - DATA, - - /// - RESET, - - /// - CANCEL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTransit { - - private string itemField; - - private ItemChoiceType1 itemElementNameField; - - private string eTAKielCanalField; - - /// - [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] - public string Item { - get { - return this.itemField; - } - set { - this.itemField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemChoiceType1 ItemElementName { - get { - return this.itemElementNameField; - } - set { - this.itemElementNameField = value; - } - } - - /// - public string ETAKielCanal { - get { - return this.eTAKielCanalField; - } - set { - this.eTAKielCanalField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemChoiceType1 { - - /// - ENINumber, - - /// - IMONumber, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public partial class MARPOLPosition { - - private string nameField; - - private FlashpointInfoType flashpointInformationField; - - private string flashpoint_CELField; - - private decimal quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string Name { - get { - return this.nameField; - } - set { - this.nameField = value; - } - } - - /// - public FlashpointInfoType FlashpointInformation { - get { - return this.flashpointInformationField; - } - set { - this.flashpointInformationField = value; - } - } - - /// - public string Flashpoint_CEL { - get { - return this.flashpoint_CELField; - } - set { - this.flashpoint_CELField = value; - } - } - - /// - public decimal Quantity_KGM { - get { - return this.quantity_KGMField; - } - set { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition { - get { - return this.stowagePositionField; - } - set { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading { - get { - return this.portOfLoadingField; - } - set { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge { - get { - return this.portOfDischargeField; - } - set { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks { - get { - return this.remarksField; - } - set { - this.remarksField = value; - } - } - - /// - public string Identifier { - get { - return this.identifierField; - } - set { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum FlashpointInfoType { - - /// - NF, - - /// - GT60CEL, - - /// - LE60CEL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public partial class IMSBCPosition { - - private string bulkCargoShippingNameField; - - private IMOHazardClassType iMOHazardClassField; - - private bool iMOHazardClassFieldSpecified; - - private RootSECValidISSCOnBoard mHBField; - - private string uNNumberField; - - private string iMOClassField; - - private decimal quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string BulkCargoShippingName { - get { - return this.bulkCargoShippingNameField; - } - set { - this.bulkCargoShippingNameField = value; - } - } - - /// - public IMOHazardClassType IMOHazardClass { - get { - return this.iMOHazardClassField; - } - set { - this.iMOHazardClassField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool IMOHazardClassSpecified { - get { - return this.iMOHazardClassFieldSpecified; - } - set { - this.iMOHazardClassFieldSpecified = value; - } - } - - /// - public RootSECValidISSCOnBoard MHB { - get { - return this.mHBField; - } - set { - this.mHBField = value; - } - } - - /// - public string UNNumber { - get { - return this.uNNumberField; - } - set { - this.uNNumberField = value; - } - } - - /// - public string IMOClass { - get { - return this.iMOClassField; - } - set { - this.iMOClassField = value; - } - } - - /// - public decimal Quantity_KGM { - get { - return this.quantity_KGMField; - } - set { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition { - get { - return this.stowagePositionField; - } - set { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading { - get { - return this.portOfLoadingField; - } - set { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge { - get { - return this.portOfDischargeField; - } - set { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks { - get { - return this.remarksField; - } - set { - this.remarksField = value; - } - } - - /// - public string Identifier { - get { - return this.identifierField; - } - set { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum IMOHazardClassType { - - /// - A, - - /// - B, - - /// - [System.Xml.Serialization.XmlEnumAttribute("A and B")] - AandB, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum RootSECValidISSCOnBoard { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public partial class IGCPosition { - - private string uNNumberField; - - private string iMOClassField; - - private string productNameField; - - private decimal quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string UNNumber { - get { - return this.uNNumberField; - } - set { - this.uNNumberField = value; - } - } - - /// - public string IMOClass { - get { - return this.iMOClassField; - } - set { - this.iMOClassField = value; - } - } - - /// - public string ProductName { - get { - return this.productNameField; - } - set { - this.productNameField = value; - } - } - - /// - public decimal Quantity_KGM { - get { - return this.quantity_KGMField; - } - set { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition { - get { - return this.stowagePositionField; - } - set { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading { - get { - return this.portOfLoadingField; - } - set { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge { - get { - return this.portOfDischargeField; - } - set { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks { - get { - return this.remarksField; - } - set { - this.remarksField = value; - } - } - - /// - public string Identifier { - get { - return this.identifierField; - } - set { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public partial class IBCPosition { - - private string productNameField; - - private PollutionCategoryType pollutionCategoryField; - - private HazardType hazardsField; - - private bool hazardsFieldSpecified; - - private FlashpointInfoType flashpointInformationField; - - private string flashpoint_CELField; - - private decimal quantity_KGMField; - - private string stowagePositionField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private RootSECValidISSCOnBoard specRef15_19Field; - - private bool specRef15_19FieldSpecified; - - private string remarksField; - - private string identifierField; - - /// - public string ProductName { - get { - return this.productNameField; - } - set { - this.productNameField = value; - } - } - - /// - public PollutionCategoryType PollutionCategory { - get { - return this.pollutionCategoryField; - } - set { - this.pollutionCategoryField = value; - } - } - - /// - public HazardType Hazards { - get { - return this.hazardsField; - } - set { - this.hazardsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool HazardsSpecified { - get { - return this.hazardsFieldSpecified; - } - set { - this.hazardsFieldSpecified = value; - } - } - - /// - public FlashpointInfoType FlashpointInformation { - get { - return this.flashpointInformationField; - } - set { - this.flashpointInformationField = value; - } - } - - /// - public string Flashpoint_CEL { - get { - return this.flashpoint_CELField; - } - set { - this.flashpoint_CELField = value; - } - } - - /// - public decimal Quantity_KGM { - get { - return this.quantity_KGMField; - } - set { - this.quantity_KGMField = value; - } - } - - /// - public string StowagePosition { - get { - return this.stowagePositionField; - } - set { - this.stowagePositionField = value; - } - } - - /// - public string PortOfLoading { - get { - return this.portOfLoadingField; - } - set { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge { - get { - return this.portOfDischargeField; - } - set { - this.portOfDischargeField = value; - } - } - - /// - public RootSECValidISSCOnBoard SpecRef15_19 { - get { - return this.specRef15_19Field; - } - set { - this.specRef15_19Field = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool SpecRef15_19Specified { - get { - return this.specRef15_19FieldSpecified; - } - set { - this.specRef15_19FieldSpecified = value; - } - } - - /// - public string Remarks { - get { - return this.remarksField; - } - set { - this.remarksField = value; - } - } - - /// - public string Identifier { - get { - return this.identifierField; - } - set { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum PollutionCategoryType { - - /// - X, - - /// - Y, - - /// - Z, - - /// - OS, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum HazardType { - - /// - P, - - /// - S, - - /// - [System.Xml.Serialization.XmlEnumAttribute("S/P")] - SP, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public partial class IMDGPosition { - - private string uNNumberField; - - private PackingGroupType packingGroupField; - - private bool packingGroupFieldSpecified; - - private string properShippingNameField; - - private string iMOClassField; - - private string technicalNameField; - - private decimal netExplosiveMass_KGMField; - - private bool netExplosiveMass_KGMFieldSpecified; - - private string flashpoint_CELField; - - private string class7NuclideNameField; - - private decimal class7MaxActivity_BQLField; - - private bool class7MaxActivity_BQLFieldSpecified; - - private int class7CategoryField; - - private bool class7CategoryFieldSpecified; - - private decimal class7TransportIndexField; - - private bool class7TransportIndexFieldSpecified; - - private decimal class7CSIField; - - private bool class7CSIFieldSpecified; - - private decimal controlTemperature_CELField; - - private bool controlTemperature_CELFieldSpecified; - - private decimal emergencyTemperature_CELField; - - private bool emergencyTemperature_CELFieldSpecified; - - private string[] subsidiaryRisksField; - - private RootSECValidISSCOnBoard marinePollutantField; - - private int numberOfPackagesField; - - private string packageTypeField; - - private RootSECValidISSCOnBoard limitedQuantitiesField; - - private RootSECValidISSCOnBoard exceptedQuantitiesField; - - private decimal netQuantity_KGMField; - - private bool netQuantity_KGMFieldSpecified; - - private decimal grossQuantity_KGMField; - - private bool grossQuantity_KGMFieldSpecified; - - private decimal volume_MTQField; - - private bool volume_MTQFieldSpecified; - - private RootSECValidISSCOnBoard generalCargoIBCField; - - private bool generalCargoIBCFieldSpecified; - - private string containerNumberField; - - private string vehicleLicenseNumberField; - - private string[] itemsField; - - private ItemsChoiceType4[] itemsElementNameField; - - private string portOfLoadingField; - - private string portOfDischargeField; - - private string remarksField; - - private string identifierField; - - /// - public string UNNumber { - get { - return this.uNNumberField; - } - set { - this.uNNumberField = value; - } - } - - /// - public PackingGroupType PackingGroup { - get { - return this.packingGroupField; - } - set { - this.packingGroupField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool PackingGroupSpecified { - get { - return this.packingGroupFieldSpecified; - } - set { - this.packingGroupFieldSpecified = value; - } - } - - /// - public string ProperShippingName { - get { - return this.properShippingNameField; - } - set { - this.properShippingNameField = value; - } - } - - /// - public string IMOClass { - get { - return this.iMOClassField; - } - set { - this.iMOClassField = value; - } - } - - /// - public string TechnicalName { - get { - return this.technicalNameField; - } - set { - this.technicalNameField = value; - } - } - - /// - public decimal NetExplosiveMass_KGM { - get { - return this.netExplosiveMass_KGMField; - } - set { - this.netExplosiveMass_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool NetExplosiveMass_KGMSpecified { - get { - return this.netExplosiveMass_KGMFieldSpecified; - } - set { - this.netExplosiveMass_KGMFieldSpecified = value; - } - } - - /// - public string Flashpoint_CEL { - get { - return this.flashpoint_CELField; - } - set { - this.flashpoint_CELField = value; - } - } - - /// - public string Class7NuclideName { - get { - return this.class7NuclideNameField; - } - set { - this.class7NuclideNameField = value; - } - } - - /// - public decimal Class7MaxActivity_BQL { - get { - return this.class7MaxActivity_BQLField; - } - set { - this.class7MaxActivity_BQLField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7MaxActivity_BQLSpecified { - get { - return this.class7MaxActivity_BQLFieldSpecified; - } - set { - this.class7MaxActivity_BQLFieldSpecified = value; - } - } - - /// - public int Class7Category { - get { - return this.class7CategoryField; - } - set { - this.class7CategoryField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7CategorySpecified { - get { - return this.class7CategoryFieldSpecified; - } - set { - this.class7CategoryFieldSpecified = value; - } - } - - /// - public decimal Class7TransportIndex { - get { - return this.class7TransportIndexField; - } - set { - this.class7TransportIndexField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7TransportIndexSpecified { - get { - return this.class7TransportIndexFieldSpecified; - } - set { - this.class7TransportIndexFieldSpecified = value; - } - } - - /// - public decimal Class7CSI { - get { - return this.class7CSIField; - } - set { - this.class7CSIField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7CSISpecified { - get { - return this.class7CSIFieldSpecified; - } - set { - this.class7CSIFieldSpecified = value; - } - } - - /// - public decimal ControlTemperature_CEL { - get { - return this.controlTemperature_CELField; - } - set { - this.controlTemperature_CELField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool ControlTemperature_CELSpecified { - get { - return this.controlTemperature_CELFieldSpecified; - } - set { - this.controlTemperature_CELFieldSpecified = value; - } - } - - /// - public decimal EmergencyTemperature_CEL { - get { - return this.emergencyTemperature_CELField; - } - set { - this.emergencyTemperature_CELField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool EmergencyTemperature_CELSpecified { - get { - return this.emergencyTemperature_CELFieldSpecified; - } - set { - this.emergencyTemperature_CELFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlArrayItemAttribute("SubsidiaryRisk", IsNullable=false)] - public string[] SubsidiaryRisks { - get { - return this.subsidiaryRisksField; - } - set { - this.subsidiaryRisksField = value; - } - } - - /// - public RootSECValidISSCOnBoard MarinePollutant { - get { - return this.marinePollutantField; - } - set { - this.marinePollutantField = value; - } - } - - /// - public int NumberOfPackages { - get { - return this.numberOfPackagesField; - } - set { - this.numberOfPackagesField = value; - } - } - - /// - public string PackageType { - get { - return this.packageTypeField; - } - set { - this.packageTypeField = value; - } - } - - /// - public RootSECValidISSCOnBoard LimitedQuantities { - get { - return this.limitedQuantitiesField; - } - set { - this.limitedQuantitiesField = value; - } - } - - /// - public RootSECValidISSCOnBoard ExceptedQuantities { - get { - return this.exceptedQuantitiesField; - } - set { - this.exceptedQuantitiesField = value; - } - } - - /// - public decimal NetQuantity_KGM { - get { - return this.netQuantity_KGMField; - } - set { - this.netQuantity_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool NetQuantity_KGMSpecified { - get { - return this.netQuantity_KGMFieldSpecified; - } - set { - this.netQuantity_KGMFieldSpecified = value; - } - } - - /// - public decimal GrossQuantity_KGM { - get { - return this.grossQuantity_KGMField; - } - set { - this.grossQuantity_KGMField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool GrossQuantity_KGMSpecified { - get { - return this.grossQuantity_KGMFieldSpecified; - } - set { - this.grossQuantity_KGMFieldSpecified = value; - } - } - - /// - public decimal Volume_MTQ { - get { - return this.volume_MTQField; - } - set { - this.volume_MTQField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Volume_MTQSpecified { - get { - return this.volume_MTQFieldSpecified; - } - set { - this.volume_MTQFieldSpecified = value; - } - } - - /// - public RootSECValidISSCOnBoard GeneralCargoIBC { - get { - return this.generalCargoIBCField; - } - set { - this.generalCargoIBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool GeneralCargoIBCSpecified { - get { - return this.generalCargoIBCFieldSpecified; - } - set { - this.generalCargoIBCFieldSpecified = value; - } - } - - /// - public string ContainerNumber { - get { - return this.containerNumberField; - } - set { - this.containerNumberField = value; - } - } - - /// - public string VehicleLicenseNumber { - get { - return this.vehicleLicenseNumberField; - } - set { - this.vehicleLicenseNumberField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Bay", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("Row", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("StowagePosition", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("Tier", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public string[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType4[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - } - } - - /// - public string PortOfLoading { - get { - return this.portOfLoadingField; - } - set { - this.portOfLoadingField = value; - } - } - - /// - public string PortOfDischarge { - get { - return this.portOfDischargeField; - } - set { - this.portOfDischargeField = value; - } - } - - /// - public string Remarks { - get { - return this.remarksField; - } - set { - this.remarksField = value; - } - } - - /// - public string Identifier { - get { - return this.identifierField; - } - set { - this.identifierField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum PackingGroupType { - - /// - I, - - /// - II, - - /// - III, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemsChoiceType4 { - - /// - Bay, - - /// - Row, - - /// - StowagePosition, - - /// - Tier, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public partial class ReportingParty { - - private ReportingPartyRPType rPTypeField; - - private bool rPTypeFieldSpecified; - - private string rPNameField; - - private string rPStreetAndNumberField; - - private string rPPostalCodeField; - - private string rPCityField; - - private string rPCountryField; - - private string rPLastNameField; - - private string rPFirstNameField; - - private string rPPhoneField; - - private string rPFaxField; - - private string rPEMailField; - - /// - public ReportingPartyRPType RPType { - get { - return this.rPTypeField; - } - set { - this.rPTypeField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool RPTypeSpecified { - get { - return this.rPTypeFieldSpecified; - } - set { - this.rPTypeFieldSpecified = value; - } - } - - /// - public string RPName { - get { - return this.rPNameField; - } - set { - this.rPNameField = value; - } - } - - /// - public string RPStreetAndNumber { - get { - return this.rPStreetAndNumberField; - } - set { - this.rPStreetAndNumberField = value; - } - } - - /// - public string RPPostalCode { - get { - return this.rPPostalCodeField; - } - set { - this.rPPostalCodeField = value; - } - } - - /// - public string RPCity { - get { - return this.rPCityField; - } - set { - this.rPCityField = value; - } - } - - /// - public string RPCountry { - get { - return this.rPCountryField; - } - set { - this.rPCountryField = value; - } - } - - /// - public string RPLastName { - get { - return this.rPLastNameField; - } - set { - this.rPLastNameField = value; - } - } - - /// - public string RPFirstName { - get { - return this.rPFirstNameField; - } - set { - this.rPFirstNameField = value; - } - } - - /// - public string RPPhone { - get { - return this.rPPhoneField; - } - set { - this.rPPhoneField = value; - } - } - - /// - public string RPFax { - get { - return this.rPFaxField; - } - set { - this.rPFaxField = value; - } - } - - /// - public string RPEMail { - get { - return this.rPEMailField; - } - set { - this.rPEMailField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public enum ReportingPartyRPType { - - /// - MASTER, - - /// - SHIPOWNER, - - /// - CHARTERER, - - /// - AGENT, - - /// - PORT_AUTHORITY, - - /// - CARRIER, - - /// - OTHERS, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootVisit { - - private string itemField; - - private ItemChoiceType itemElementNameField; - - private string portOfCallField; - - private string eTAPortOfCallField; - - /// - [System.Xml.Serialization.XmlElementAttribute("ENINumber", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("IMONumber", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] - public string Item { - get { - return this.itemField; - } - set { - this.itemField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemChoiceType ItemElementName { - get { - return this.itemElementNameField; - } - set { - this.itemElementNameField = value; - } - } - - /// - public string PortOfCall { - get { - return this.portOfCallField; - } - set { - this.portOfCallField = value; - } - } - - /// - public string ETAPortOfCall { - get { - return this.eTAPortOfCallField; - } - set { - this.eTAPortOfCallField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemChoiceType { - - /// - ENINumber, - - /// - IMONumber, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemChoiceType2 { - - /// - Transit, - - /// - TransitId, - - /// - Visit, - - /// - VisitId, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootAGNT { - - private ReportingParty reportingPartyField; - - private string agentCompanyNameField; - - private string agentStreetAndNumberField; - - private string agentPostalCodeField; - - private string agentCityField; - - private string agentCountryField; - - private string agentLastNameField; - - private string agentFirstNameField; - - private string agentPhoneField; - - private string agentFaxField; - - private string agentEMailField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public string AgentCompanyName { - get { - return this.agentCompanyNameField; - } - set { - this.agentCompanyNameField = value; - } - } - - /// - public string AgentStreetAndNumber { - get { - return this.agentStreetAndNumberField; - } - set { - this.agentStreetAndNumberField = value; - } - } - - /// - public string AgentPostalCode { - get { - return this.agentPostalCodeField; - } - set { - this.agentPostalCodeField = value; - } - } - - /// - public string AgentCity { - get { - return this.agentCityField; - } - set { - this.agentCityField = value; - } - } - - /// - public string AgentCountry { - get { - return this.agentCountryField; - } - set { - this.agentCountryField = value; - } - } - - /// - public string AgentLastName { - get { - return this.agentLastNameField; - } - set { - this.agentLastNameField = value; - } - } - - /// - public string AgentFirstName { - get { - return this.agentFirstNameField; - } - set { - this.agentFirstNameField = value; - } - } - - /// - public string AgentPhone { - get { - return this.agentPhoneField; - } - set { - this.agentPhoneField = value; - } - } - - /// - public string AgentFax { - get { - return this.agentFaxField; - } - set { - this.agentFaxField = value; - } - } - - /// - public string AgentEMail { - get { - return this.agentEMailField; - } - set { - this.agentEMailField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootATA { - - private ReportingParty reportingPartyField; - - private string aTAPortOfCallField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public string ATAPortOfCall { - get { - return this.aTAPortOfCallField; - } - set { - this.aTAPortOfCallField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootATD { - - private ReportingParty reportingPartyField; - - private string aTDPortOfCallField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public string ATDPortOfCall { - get { - return this.aTDPortOfCallField; - } - set { - this.aTDPortOfCallField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootBKRA { - - private ReportingParty reportingPartyField; - - private RootBKRABunkerFuelArrival[] bunkerFuelArrivalField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("BunkerFuelArrival")] - public RootBKRABunkerFuelArrival[] BunkerFuelArrival { - get { - return this.bunkerFuelArrivalField; - } - set { - this.bunkerFuelArrivalField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootBKRABunkerFuelArrival { - - private string bunkerFuelTypeField; - - private decimal bunkerFuelQuantity_TNEField; - - /// - public string BunkerFuelType { - get { - return this.bunkerFuelTypeField; - } - set { - this.bunkerFuelTypeField = value; - } - } - - /// - public decimal BunkerFuelQuantity_TNE { - get { - return this.bunkerFuelQuantity_TNEField; - } - set { - this.bunkerFuelQuantity_TNEField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootBKRD { - - private ReportingParty reportingPartyField; - - private RootBKRDBunkerFuelDeparture[] bunkerFuelDepartureField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("BunkerFuelDeparture")] - public RootBKRDBunkerFuelDeparture[] BunkerFuelDeparture { - get { - return this.bunkerFuelDepartureField; - } - set { - this.bunkerFuelDepartureField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootBKRDBunkerFuelDeparture { - - private string bunkerFuelTypeField; - - private decimal bunkerFuelQuantity_TNEField; - - /// - public string BunkerFuelType { - get { - return this.bunkerFuelTypeField; - } - set { - this.bunkerFuelTypeField = value; - } - } - - /// - public decimal BunkerFuelQuantity_TNE { - get { - return this.bunkerFuelQuantity_TNEField; - } - set { - this.bunkerFuelQuantity_TNEField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootBPOL { - - private ReportingParty reportingPartyField; - - private RootSECValidISSCOnBoard stowawayOnBoardField; - - private RootBPOLPortOfItinerary[] portOfItineraryField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public RootSECValidISSCOnBoard StowawayOnBoard { - get { - return this.stowawayOnBoardField; - } - set { - this.stowawayOnBoardField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("PortOfItinerary")] - public RootBPOLPortOfItinerary[] PortOfItinerary { - get { - return this.portOfItineraryField; - } - set { - this.portOfItineraryField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootBPOLPortOfItinerary { - - private string portOfItineraryNameField; - - private string portOfItineraryETAField; - - /// - public string PortOfItineraryName { - get { - return this.portOfItineraryNameField; - } - set { - this.portOfItineraryNameField = value; - } - } - - /// - public string PortOfItineraryETA { - get { - return this.portOfItineraryETAField; - } - set { - this.portOfItineraryETAField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootCREW { - - private ReportingParty reportingPartyField; - - private RootCREWCrewMember[] crewMemberField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("CrewMember")] - public RootCREWCrewMember[] CrewMember { - get { - return this.crewMemberField; - } - set { - this.crewMemberField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootCREWCrewMember { - - private string crewMemberLastNameField; - - private string crewMemberFirstNameField; - - private string crewMemberPlaceOfBirthField; - - private System.DateTime crewMemberDateOfBirthField; - - private Gender crewMemberGenderField; - - private bool crewMemberGenderFieldSpecified; - - private string crewMemberNationalityField; - - private IdDocType crewMemberIdentityDocumentTypeField; - - private string crewMemberIdentityDocumentIdField; - - private string crewMemberIdentityDocumentIssuingStateField; - - private System.DateTime crewMemberIdentityDocumentExpiryDateField; - - private bool crewMemberIdentityDocumentExpiryDateFieldSpecified; - - private string crewMemberVisaNumberField; - - private string crewMemberDutyField; - - /// - public string CrewMemberLastName { - get { - return this.crewMemberLastNameField; - } - set { - this.crewMemberLastNameField = value; - } - } - - /// - public string CrewMemberFirstName { - get { - return this.crewMemberFirstNameField; - } - set { - this.crewMemberFirstNameField = value; - } - } - - /// - public string CrewMemberPlaceOfBirth { - get { - return this.crewMemberPlaceOfBirthField; - } - set { - this.crewMemberPlaceOfBirthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime CrewMemberDateOfBirth { - get { - return this.crewMemberDateOfBirthField; - } - set { - this.crewMemberDateOfBirthField = value; - } - } - - /// - public Gender CrewMemberGender { - get { - return this.crewMemberGenderField; - } - set { - this.crewMemberGenderField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool CrewMemberGenderSpecified { - get { - return this.crewMemberGenderFieldSpecified; - } - set { - this.crewMemberGenderFieldSpecified = value; - } - } - - /// - public string CrewMemberNationality { - get { - return this.crewMemberNationalityField; - } - set { - this.crewMemberNationalityField = value; - } - } - - /// - public IdDocType CrewMemberIdentityDocumentType { - get { - return this.crewMemberIdentityDocumentTypeField; - } - set { - this.crewMemberIdentityDocumentTypeField = value; - } - } - - /// - public string CrewMemberIdentityDocumentId { - get { - return this.crewMemberIdentityDocumentIdField; - } - set { - this.crewMemberIdentityDocumentIdField = value; - } - } - - /// - public string CrewMemberIdentityDocumentIssuingState { - get { - return this.crewMemberIdentityDocumentIssuingStateField; - } - set { - this.crewMemberIdentityDocumentIssuingStateField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime CrewMemberIdentityDocumentExpiryDate { - get { - return this.crewMemberIdentityDocumentExpiryDateField; - } - set { - this.crewMemberIdentityDocumentExpiryDateField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool CrewMemberIdentityDocumentExpiryDateSpecified { - get { - return this.crewMemberIdentityDocumentExpiryDateFieldSpecified; - } - set { - this.crewMemberIdentityDocumentExpiryDateFieldSpecified = value; - } - } - - /// - public string CrewMemberVisaNumber { - get { - return this.crewMemberVisaNumberField; - } - set { - this.crewMemberVisaNumberField = value; - } - } - - /// - public string CrewMemberDuty { - get { - return this.crewMemberDutyField; - } - set { - this.crewMemberDutyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum Gender { - - /// - MALE, - - /// - FEMALE, - - /// - OTHER, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum IdDocType { - - /// - IDENTITY_CARD, - - /// - PASSPORT, - - /// - MUSTER_BOOK, - - /// - PICTURE_ID, - - /// - RESIDENTAL_PERMIT, - - /// - OTHER_LEGAL_IDENTITY_DOCUMENT, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootHAZA { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType5[] itemsElementNameField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGManifestOnBoardOnArrival", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("DPGOnArrival", typeof(RootHAZADPGOnArrival))] - [System.Xml.Serialization.XmlElementAttribute("INFShipClass", typeof(INFClassType))] - [System.Xml.Serialization.XmlElementAttribute("MOUBaltic", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("NoDPGOnBoardOnArrival", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType5[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootHAZADPGOnArrival { - - private IMDGPosition[] dPGItemIMDGField; - - private IBCPosition[] dPGItemIBCField; - - private IGCPosition[] dPGItemIGCField; - - private IMSBCPosition[] dPGItemIMSBCField; - - private MARPOLPosition[] dPGItemMARPOLAnnexIField; - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMDG")] - public IMDGPosition[] DPGItemIMDG { - get { - return this.dPGItemIMDGField; - } - set { - this.dPGItemIMDGField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIBC")] - public IBCPosition[] DPGItemIBC { - get { - return this.dPGItemIBCField; - } - set { - this.dPGItemIBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIGC")] - public IGCPosition[] DPGItemIGC { - get { - return this.dPGItemIGCField; - } - set { - this.dPGItemIGCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMSBC")] - public IMSBCPosition[] DPGItemIMSBC { - get { - return this.dPGItemIMSBCField; - } - set { - this.dPGItemIMSBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemMARPOLAnnexI")] - public MARPOLPosition[] DPGItemMARPOLAnnexI { - get { - return this.dPGItemMARPOLAnnexIField; - } - set { - this.dPGItemMARPOLAnnexIField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum INFClassType { - - /// - INF1, - - /// - INF2, - - /// - INF3, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemsChoiceType5 { - - /// - DPGManifestOnBoardOnArrival, - - /// - DPGOnArrival, - - /// - INFShipClass, - - /// - MOUBaltic, - - /// - NoDPGOnBoardOnArrival, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootHAZD { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType6[] itemsElementNameField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGManifestOnBoardOnDeparture", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("DPGOnDeparture", typeof(RootHAZDDPGOnDeparture))] - [System.Xml.Serialization.XmlElementAttribute("INFShipClass", typeof(INFClassType))] - [System.Xml.Serialization.XmlElementAttribute("MOUBaltic", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("NoDPGOnBoardOnDeparture", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType6[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootHAZDDPGOnDeparture { - - private IMDGPosition[] dPGItemIMDGField; - - private IBCPosition[] dPGItemIBCField; - - private IGCPosition[] dPGItemIGCField; - - private IMSBCPosition[] dPGItemIMSBCField; - - private MARPOLPosition[] dPGItemMARPOLAnnexIField; - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMDG")] - public IMDGPosition[] DPGItemIMDG { - get { - return this.dPGItemIMDGField; - } - set { - this.dPGItemIMDGField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIBC")] - public IBCPosition[] DPGItemIBC { - get { - return this.dPGItemIBCField; - } - set { - this.dPGItemIBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIGC")] - public IGCPosition[] DPGItemIGC { - get { - return this.dPGItemIGCField; - } - set { - this.dPGItemIGCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemIMSBC")] - public IMSBCPosition[] DPGItemIMSBC { - get { - return this.dPGItemIMSBCField; - } - set { - this.dPGItemIMSBCField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("DPGItemMARPOLAnnexI")] - public MARPOLPosition[] DPGItemMARPOLAnnexI { - get { - return this.dPGItemMARPOLAnnexIField; - } - set { - this.dPGItemMARPOLAnnexIField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemsChoiceType6 { - - /// - DPGManifestOnBoardOnDeparture, - - /// - DPGOnDeparture, - - /// - INFShipClass, - - /// - MOUBaltic, - - /// - NoDPGOnBoardOnDeparture, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootINFO { - - private ReportingParty reportingPartyField; - - private ShippingArea shippingAreaField; - - private string portAreaField; - - private string requestedPositionInPortOfCallField; - - private string specialRequirementsOfShipAtBerthField; - - private string constructionCharacteristicsOfShipField; - - private string bowThrusterPowerField; - - private string sternThrusterPowerField; - - private RootINFOFumigatedBulkCargo fumigatedBulkCargoField; - - private decimal deadWeightSummer_TNEField; - - private bool deadWeightSummer_TNEFieldSpecified; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public ShippingArea ShippingArea { - get { - return this.shippingAreaField; - } - set { - this.shippingAreaField = value; - } - } - - /// - public string PortArea { - get { - return this.portAreaField; - } - set { - this.portAreaField = value; - } - } - - /// - public string RequestedPositionInPortOfCall { - get { - return this.requestedPositionInPortOfCallField; - } - set { - this.requestedPositionInPortOfCallField = value; - } - } - - /// - public string SpecialRequirementsOfShipAtBerth { - get { - return this.specialRequirementsOfShipAtBerthField; - } - set { - this.specialRequirementsOfShipAtBerthField = value; - } - } - - /// - public string ConstructionCharacteristicsOfShip { - get { - return this.constructionCharacteristicsOfShipField; - } - set { - this.constructionCharacteristicsOfShipField = value; - } - } - - /// - public string BowThrusterPower { - get { - return this.bowThrusterPowerField; - } - set { - this.bowThrusterPowerField = value; - } - } - - /// - public string SternThrusterPower { - get { - return this.sternThrusterPowerField; - } - set { - this.sternThrusterPowerField = value; - } - } - - /// - public RootINFOFumigatedBulkCargo FumigatedBulkCargo { - get { - return this.fumigatedBulkCargoField; - } - set { - this.fumigatedBulkCargoField = value; - } - } - - /// - public decimal DeadWeightSummer_TNE { - get { - return this.deadWeightSummer_TNEField; - } - set { - this.deadWeightSummer_TNEField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool DeadWeightSummer_TNESpecified { - get { - return this.deadWeightSummer_TNEFieldSpecified; - } - set { - this.deadWeightSummer_TNEFieldSpecified = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum ShippingArea { - - /// - NORTH_BALTIC_SEA, - - /// - EUROPE, - - /// - OVERSEAS, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public enum RootINFOFumigatedBulkCargo { - - /// - Y, - - /// - N, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootLADG { - - private ReportingParty reportingPartyField; - - private RootLADGCargo[] cargoField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Cargo")] - public RootLADGCargo[] Cargo { - get { - return this.cargoField; - } - set { - this.cargoField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootLADGCargo { - - private HandlingType cargoHandlingTypeField; - - private int cargoLACodeField; - - private bool cargoLACodeFieldSpecified; - - private string cargoCodeNSTField; - - private string cargoCodeNST_3Field; - - private int cargoNumberOfItemsField; - - private bool cargoNumberOfItemsFieldSpecified; - - private decimal cargoGrossQuantity_TNEField; - - private string cargoPortOfLoadingField; - - private string cargoPortOfDischargeField; - - /// - public HandlingType CargoHandlingType { - get { - return this.cargoHandlingTypeField; - } - set { - this.cargoHandlingTypeField = value; - } - } - - /// - public int CargoLACode { - get { - return this.cargoLACodeField; - } - set { - this.cargoLACodeField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool CargoLACodeSpecified { - get { - return this.cargoLACodeFieldSpecified; - } - set { - this.cargoLACodeFieldSpecified = value; - } - } - - /// - public string CargoCodeNST { - get { - return this.cargoCodeNSTField; - } - set { - this.cargoCodeNSTField = value; - } - } - - /// - public string CargoCodeNST_3 { - get { - return this.cargoCodeNST_3Field; - } - set { - this.cargoCodeNST_3Field = value; - } - } - - /// - public int CargoNumberOfItems { - get { - return this.cargoNumberOfItemsField; - } - set { - this.cargoNumberOfItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool CargoNumberOfItemsSpecified { - get { - return this.cargoNumberOfItemsFieldSpecified; - } - set { - this.cargoNumberOfItemsFieldSpecified = value; - } - } - - /// - public decimal CargoGrossQuantity_TNE { - get { - return this.cargoGrossQuantity_TNEField; - } - set { - this.cargoGrossQuantity_TNEField = value; - } - } - - /// - public string CargoPortOfLoading { - get { - return this.cargoPortOfLoadingField; - } - set { - this.cargoPortOfLoadingField = value; - } - } - - /// - public string CargoPortOfDischarge { - get { - return this.cargoPortOfDischargeField; - } - set { - this.cargoPortOfDischargeField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum HandlingType { - - /// - LOAD, - - /// - DISCHARGE, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootMDH { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType2[] itemsElementNameField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("AwareOfConditionsForFurtherInfections", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("InfectedArea", typeof(RootMDHInfectedArea))] - [System.Xml.Serialization.XmlElementAttribute("InfectedAreaVisited", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("MDHSimplification", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("MedicalConsulted", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("NonAccidentialDeathsDuringVoyage", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("NonAccidentialDeathsDuringVoyageCount", typeof(int))] - [System.Xml.Serialization.XmlElementAttribute("NumberOfIllPersons", typeof(int))] - [System.Xml.Serialization.XmlElementAttribute("NumberOfIllPersonsHigherThanExpected", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("PortOfCallWhereCompleteMDHNotified", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("PortsOfCallLast30Days", typeof(RootMDHPortsOfCallLast30Days))] - [System.Xml.Serialization.XmlElementAttribute("SanitaryControlReinspectionRequired", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("SanitaryMeasuresApplied", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("SanitaryMeasuresDetails", typeof(RootMDHSanitaryMeasuresDetails))] - [System.Xml.Serialization.XmlElementAttribute("SickAnimalOrPetOnBoard", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("SickPersonsOnBoard", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("StowawaysDetected", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("StowawaysJoiningLocation", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("SuspisionInfectiousNature", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("ValidSanitaryControlExemptionOrCertificate", typeof(RootMDHValidSanitaryControlExemptionOrCertificate))] - [System.Xml.Serialization.XmlElementAttribute("ValidSanitaryControlExemptionOrCertificateOnBoard", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType2[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootMDHInfectedArea { - - private string infectedAreaPortField; - - private System.DateTime infectedAreaDateField; - - /// - public string InfectedAreaPort { - get { - return this.infectedAreaPortField; - } - set { - this.infectedAreaPortField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime InfectedAreaDate { - get { - return this.infectedAreaDateField; - } - set { - this.infectedAreaDateField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootMDHPortsOfCallLast30Days { - - private RootMDHPortsOfCallLast30DaysPortOfCallLast30Days[] portOfCallLast30DaysField; - - /// - [System.Xml.Serialization.XmlElementAttribute("PortOfCallLast30Days")] - public RootMDHPortsOfCallLast30DaysPortOfCallLast30Days[] PortOfCallLast30Days { - get { - return this.portOfCallLast30DaysField; - } - set { - this.portOfCallLast30DaysField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootMDHPortsOfCallLast30DaysPortOfCallLast30Days { - - private string portOfCallLast30DaysLocodeField; - - private System.DateTime portOfCallLast30DaysDateOfDepartureField; - - private RootSECValidISSCOnBoard portOfCallLast30DaysCrewMembersJoinedField; - - private RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip portOfCallLast30DaysCrewJoinedShipField; - - /// - public string PortOfCallLast30DaysLocode { - get { - return this.portOfCallLast30DaysLocodeField; - } - set { - this.portOfCallLast30DaysLocodeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime PortOfCallLast30DaysDateOfDeparture { - get { - return this.portOfCallLast30DaysDateOfDepartureField; - } - set { - this.portOfCallLast30DaysDateOfDepartureField = value; - } - } - - /// - public RootSECValidISSCOnBoard PortOfCallLast30DaysCrewMembersJoined { - get { - return this.portOfCallLast30DaysCrewMembersJoinedField; - } - set { - this.portOfCallLast30DaysCrewMembersJoinedField = value; - } - } - - /// - public RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip PortOfCallLast30DaysCrewJoinedShip { - get { - return this.portOfCallLast30DaysCrewJoinedShipField; - } - set { - this.portOfCallLast30DaysCrewJoinedShipField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootMDHPortsOfCallLast30DaysPortOfCallLast30DaysPortOfCallLast30DaysCrewJoinedShip { - - private string[] portOfCallLast30DaysCrewJoinedShipNameField; - - /// - [System.Xml.Serialization.XmlElementAttribute("PortOfCallLast30DaysCrewJoinedShipName")] - public string[] PortOfCallLast30DaysCrewJoinedShipName { - get { - return this.portOfCallLast30DaysCrewJoinedShipNameField; - } - set { - this.portOfCallLast30DaysCrewJoinedShipNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootMDHSanitaryMeasuresDetails { - - private string sanitaryMeasuresTypeField; - - private string sanitaryMeasuresLocationField; - - private System.DateTime sanitaryMeasuresDateField; - - /// - public string SanitaryMeasuresType { - get { - return this.sanitaryMeasuresTypeField; - } - set { - this.sanitaryMeasuresTypeField = value; - } - } - - /// - public string SanitaryMeasuresLocation { - get { - return this.sanitaryMeasuresLocationField; - } - set { - this.sanitaryMeasuresLocationField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime SanitaryMeasuresDate { - get { - return this.sanitaryMeasuresDateField; - } - set { - this.sanitaryMeasuresDateField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootMDHValidSanitaryControlExemptionOrCertificate { - - private string placeOfIssueField; - - private System.DateTime dateOfIssueField; - - /// - public string PlaceOfIssue { - get { - return this.placeOfIssueField; - } - set { - this.placeOfIssueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime DateOfIssue { - get { - return this.dateOfIssueField; - } - set { - this.dateOfIssueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemsChoiceType2 { - - /// - AwareOfConditionsForFurtherInfections, - - /// - InfectedArea, - - /// - InfectedAreaVisited, - - /// - MDHSimplification, - - /// - MedicalConsulted, - - /// - NonAccidentialDeathsDuringVoyage, - - /// - NonAccidentialDeathsDuringVoyageCount, - - /// - NumberOfIllPersons, - - /// - NumberOfIllPersonsHigherThanExpected, - - /// - PortOfCallWhereCompleteMDHNotified, - - /// - PortsOfCallLast30Days, - - /// - SanitaryControlReinspectionRequired, - - /// - SanitaryMeasuresApplied, - - /// - SanitaryMeasuresDetails, - - /// - SickAnimalOrPetOnBoard, - - /// - SickPersonsOnBoard, - - /// - StowawaysDetected, - - /// - StowawaysJoiningLocation, - - /// - SuspisionInfectiousNature, - - /// - ValidSanitaryControlExemptionOrCertificate, - - /// - ValidSanitaryControlExemptionOrCertificateOnBoard, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootNAME { - - private ReportingParty reportingPartyField; - - private string nameOfMasterField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public string NameOfMaster { - get { - return this.nameOfMasterField; - } - set { - this.nameOfMasterField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootNOA_NOD { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType[] itemsElementNameField; - - private string lastPortField; - - private string eTDFromLastPortField; - - private string nextPortField; - - private string eTAToNextPortField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("CallPurpose", typeof(RootNOA_NODCallPurpose))] - [System.Xml.Serialization.XmlElementAttribute("ETAToKielCanal", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ETAToPortOfCall", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ETDFromKielCanal", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ETDFromPortOfCall", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - } - } - - /// - public string LastPort { - get { - return this.lastPortField; - } - set { - this.lastPortField = value; - } - } - - /// - public string ETDFromLastPort { - get { - return this.eTDFromLastPortField; - } - set { - this.eTDFromLastPortField = value; - } - } - - /// - public string NextPort { - get { - return this.nextPortField; - } - set { - this.nextPortField = value; - } - } - - /// - public string ETAToNextPort { - get { - return this.eTAToNextPortField; - } - set { - this.eTAToNextPortField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootNOA_NODCallPurpose { - - private int callPurposeCodeField; - - private string callPurposeDescriptionField; - - /// - public int CallPurposeCode { - get { - return this.callPurposeCodeField; - } - set { - this.callPurposeCodeField = value; - } - } - - /// - public string CallPurposeDescription { - get { - return this.callPurposeDescriptionField; - } - set { - this.callPurposeDescriptionField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemsChoiceType { - - /// - CallPurpose, - - /// - ETAToKielCanal, - - /// - ETAToPortOfCall, - - /// - ETDFromKielCanal, - - /// - ETDFromPortOfCall, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootPAS { - - private ReportingParty reportingPartyField; - - private RootPASPassenger[] passengerField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Passenger")] - public RootPASPassenger[] Passenger { - get { - return this.passengerField; - } - set { - this.passengerField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootPASPassenger { - - private string passengerLastNameField; - - private string passengerFirstNameField; - - private string passengerPlaceOfBirthField; - - private System.DateTime passengerDateOfBirthField; - - private Gender passengerGenderField; - - private bool passengerGenderFieldSpecified; - - private string passengerNationalityField; - - private IdDocType passengerIdentityDocumentTypeField; - - private string passengerIdentityDocumentIdField; - - private string passengerIdentityDocumentIssuingStateField; - - private System.DateTime passengerIdentityDocumentExpiryDateField; - - private bool passengerIdentityDocumentExpiryDateFieldSpecified; - - private string passengerVisaNumberField; - - private string passengerPortOfEmbarkationField; - - private string passengerPortOfDisembarkationField; - - private RootSECValidISSCOnBoard passengerInTransitField; - - /// - public string PassengerLastName { - get { - return this.passengerLastNameField; - } - set { - this.passengerLastNameField = value; - } - } - - /// - public string PassengerFirstName { - get { - return this.passengerFirstNameField; - } - set { - this.passengerFirstNameField = value; - } - } - - /// - public string PassengerPlaceOfBirth { - get { - return this.passengerPlaceOfBirthField; - } - set { - this.passengerPlaceOfBirthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime PassengerDateOfBirth { - get { - return this.passengerDateOfBirthField; - } - set { - this.passengerDateOfBirthField = value; - } - } - - /// - public Gender PassengerGender { - get { - return this.passengerGenderField; - } - set { - this.passengerGenderField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool PassengerGenderSpecified { - get { - return this.passengerGenderFieldSpecified; - } - set { - this.passengerGenderFieldSpecified = value; - } - } - - /// - public string PassengerNationality { - get { - return this.passengerNationalityField; - } - set { - this.passengerNationalityField = value; - } - } - - /// - public IdDocType PassengerIdentityDocumentType { - get { - return this.passengerIdentityDocumentTypeField; - } - set { - this.passengerIdentityDocumentTypeField = value; - } - } - - /// - public string PassengerIdentityDocumentId { - get { - return this.passengerIdentityDocumentIdField; - } - set { - this.passengerIdentityDocumentIdField = value; - } - } - - /// - public string PassengerIdentityDocumentIssuingState { - get { - return this.passengerIdentityDocumentIssuingStateField; - } - set { - this.passengerIdentityDocumentIssuingStateField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime PassengerIdentityDocumentExpiryDate { - get { - return this.passengerIdentityDocumentExpiryDateField; - } - set { - this.passengerIdentityDocumentExpiryDateField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool PassengerIdentityDocumentExpiryDateSpecified { - get { - return this.passengerIdentityDocumentExpiryDateFieldSpecified; - } - set { - this.passengerIdentityDocumentExpiryDateFieldSpecified = value; - } - } - - /// - public string PassengerVisaNumber { - get { - return this.passengerVisaNumberField; - } - set { - this.passengerVisaNumberField = value; - } - } - - /// - public string PassengerPortOfEmbarkation { - get { - return this.passengerPortOfEmbarkationField; - } - set { - this.passengerPortOfEmbarkationField = value; - } - } - - /// - public string PassengerPortOfDisembarkation { - get { - return this.passengerPortOfDisembarkationField; - } - set { - this.passengerPortOfDisembarkationField = value; - } - } - - /// - public RootSECValidISSCOnBoard PassengerInTransit { - get { - return this.passengerInTransitField; - } - set { - this.passengerInTransitField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootPOBA { - - private ReportingParty reportingPartyField; - - private int totalPersonsOnBoardUponArrivalField; - - private int totalCrewMembersOnBoardUponArrivalField; - - private int totalPassengersOnBoardUponArrivalField; - - private int totalStowawaysOnBoardUponArrivalField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public int TotalPersonsOnBoardUponArrival { - get { - return this.totalPersonsOnBoardUponArrivalField; - } - set { - this.totalPersonsOnBoardUponArrivalField = value; - } - } - - /// - public int TotalCrewMembersOnBoardUponArrival { - get { - return this.totalCrewMembersOnBoardUponArrivalField; - } - set { - this.totalCrewMembersOnBoardUponArrivalField = value; - } - } - - /// - public int TotalPassengersOnBoardUponArrival { - get { - return this.totalPassengersOnBoardUponArrivalField; - } - set { - this.totalPassengersOnBoardUponArrivalField = value; - } - } - - /// - public int TotalStowawaysOnBoardUponArrival { - get { - return this.totalStowawaysOnBoardUponArrivalField; - } - set { - this.totalStowawaysOnBoardUponArrivalField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootPOBD { - - private ReportingParty reportingPartyField; - - private int totalPersonsOnBoardUponDepartureField; - - private int totalCrewMembersOnBoardUponDepartureField; - - private int totalPassengersOnBoardUponDepartureField; - - private int totalStowawaysOnBoardUponDepartureField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public int TotalPersonsOnBoardUponDeparture { - get { - return this.totalPersonsOnBoardUponDepartureField; - } - set { - this.totalPersonsOnBoardUponDepartureField = value; - } - } - - /// - public int TotalCrewMembersOnBoardUponDeparture { - get { - return this.totalCrewMembersOnBoardUponDepartureField; - } - set { - this.totalCrewMembersOnBoardUponDepartureField = value; - } - } - - /// - public int TotalPassengersOnBoardUponDeparture { - get { - return this.totalPassengersOnBoardUponDepartureField; - } - set { - this.totalPassengersOnBoardUponDepartureField = value; - } - } - - /// - public int TotalStowawaysOnBoardUponDeparture { - get { - return this.totalStowawaysOnBoardUponDepartureField; - } - set { - this.totalStowawaysOnBoardUponDepartureField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootPRE72H { - - private ReportingParty reportingPartyField; - - private RootSECValidISSCOnBoard tankerField; - - private RootPRE72HTankerDetails tankerDetailsField; - - private string plannedOperationsField; - - private string plannedWorksField; - - private System.DateTime dateOfLastExpandedInspectionField; - - private bool dateOfLastExpandedInspectionFieldSpecified; - - private decimal plannedPeriodOfStay_HURField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public RootSECValidISSCOnBoard Tanker { - get { - return this.tankerField; - } - set { - this.tankerField = value; - } - } - - /// - public RootPRE72HTankerDetails TankerDetails { - get { - return this.tankerDetailsField; - } - set { - this.tankerDetailsField = value; - } - } - - /// - public string PlannedOperations { - get { - return this.plannedOperationsField; - } - set { - this.plannedOperationsField = value; - } - } - - /// - public string PlannedWorks { - get { - return this.plannedWorksField; - } - set { - this.plannedWorksField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime DateOfLastExpandedInspection { - get { - return this.dateOfLastExpandedInspectionField; - } - set { - this.dateOfLastExpandedInspectionField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool DateOfLastExpandedInspectionSpecified { - get { - return this.dateOfLastExpandedInspectionFieldSpecified; - } - set { - this.dateOfLastExpandedInspectionFieldSpecified = value; - } - } - - /// - public decimal PlannedPeriodOfStay_HUR { - get { - return this.plannedPeriodOfStay_HURField; - } - set { - this.plannedPeriodOfStay_HURField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootPRE72HTankerDetails { - - private HullConfiguration tankerHullConfigurationField; - - private TankCondition conditionCargoBallastTanksField; - - private string typeOfCargoField; - - private decimal volumeOfCargo_TNEField; - - private bool volumeOfCargo_TNEFieldSpecified; - - /// - public HullConfiguration TankerHullConfiguration { - get { - return this.tankerHullConfigurationField; - } - set { - this.tankerHullConfigurationField = value; - } - } - - /// - public TankCondition ConditionCargoBallastTanks { - get { - return this.conditionCargoBallastTanksField; - } - set { - this.conditionCargoBallastTanksField = value; - } - } - - /// - public string TypeOfCargo { - get { - return this.typeOfCargoField; - } - set { - this.typeOfCargoField = value; - } - } - - /// - public decimal VolumeOfCargo_TNE { - get { - return this.volumeOfCargo_TNEField; - } - set { - this.volumeOfCargo_TNEField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool VolumeOfCargo_TNESpecified { - get { - return this.volumeOfCargo_TNEFieldSpecified; - } - set { - this.volumeOfCargo_TNEFieldSpecified = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum HullConfiguration { - - /// - SINGLE_HULL, - - /// - SINGLE_HULL_WITH_SBT, - - /// - DOUBLE_HULL, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum TankCondition { - - /// - FULL, - - /// - EMPTY, - - /// - INERTED, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootReportingClassesToReset { - - private string[] reportingClassToResetField; - - /// - [System.Xml.Serialization.XmlElementAttribute("ReportingClassToReset")] - public string[] ReportingClassToReset { - get { - return this.reportingClassToResetField; - } - set { - this.reportingClassToResetField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSEC { - - private ReportingParty reportingPartyField; - - private RootSECKielCanalPassage kielCanalPassageField; - - private int currentShipSecurityLevelField; - - private object[] itemsField; - - private ItemsChoiceType1[] itemsElementNameField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public RootSECKielCanalPassage KielCanalPassage { - get { - return this.kielCanalPassageField; - } - set { - this.kielCanalPassageField = value; - } - } - - /// - public int CurrentShipSecurityLevel { - get { - return this.currentShipSecurityLevelField; - } - set { - this.currentShipSecurityLevelField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ApprovedSecurityPlanOnBoard", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlElementAttribute("CSOEMail", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOFax", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOFirstName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOLastName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("CSOPhone", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("GeneralDescriptionOfCargo", typeof(CargoDescription))] - [System.Xml.Serialization.XmlElementAttribute("ISSCDateOfExpiration", typeof(System.DateTime), DataType="date")] - [System.Xml.Serialization.XmlElementAttribute("ISSCIssuerName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ISSCIssuerType", typeof(ISSCIssuerType))] - [System.Xml.Serialization.XmlElementAttribute("ISSCType", typeof(ISSCType))] - [System.Xml.Serialization.XmlElementAttribute("LastTenPortFacilitiesCalled", typeof(RootSECLastTenPortFacilitiesCalled))] - [System.Xml.Serialization.XmlElementAttribute("PortFacilityOfArrival", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("PortOfCallWhereCompleteSECNotified", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ReasonsForNoValidISSC", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("SECSimplification", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("ShipToShipActivities", typeof(RootSECShipToShipActivities))] - [System.Xml.Serialization.XmlElementAttribute("ValidISSCOnBoard", typeof(RootSECValidISSCOnBoard))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType1[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSECKielCanalPassage { - - private string kielCanalPassagePlannedField; - - private string kielCanalPassagePlannedIncomingField; - - private string kielCanalPassagePlannedOutgoingField; - - /// - public string KielCanalPassagePlanned { - get { - return this.kielCanalPassagePlannedField; - } - set { - this.kielCanalPassagePlannedField = value; - } - } - - /// - public string KielCanalPassagePlannedIncoming { - get { - return this.kielCanalPassagePlannedIncomingField; - } - set { - this.kielCanalPassagePlannedIncomingField = value; - } - } - - /// - public string KielCanalPassagePlannedOutgoing { - get { - return this.kielCanalPassagePlannedOutgoingField; - } - set { - this.kielCanalPassagePlannedOutgoingField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum CargoDescription { - - /// - CONTAINER, - - /// - VEHICLES, - - /// - CONVENTIONAL_GENERAL_CARGO, - - /// - DRY_CARGO_IN_BULK, - - /// - LIQUID_CARGO_IN_BULK, - - /// - EMPTY, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum ISSCIssuerType { - - /// - ADMINISTRATION, - - /// - RSO, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum ISSCType { - - /// - FULL, - - /// - INTERIM, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSECLastTenPortFacilitiesCalled { - - private string portFacilityPortNameField; - - private string portFacilityPortCountryField; - - private string portFacilityPortLoCodeField; - - private System.DateTime portFacilityDateOfArrivalField; - - private System.DateTime portFacilityDateOfDepartureField; - - private int portFacilityShipSecurityLevelField; - - private string portFacilitySecurityMattersToReportField; - - private string portFacilityGISISCodeLoCodeField; - - private string portFacilityGISISCodeField; - - /// - public string PortFacilityPortName { - get { - return this.portFacilityPortNameField; - } - set { - this.portFacilityPortNameField = value; - } - } - - /// - public string PortFacilityPortCountry { - get { - return this.portFacilityPortCountryField; - } - set { - this.portFacilityPortCountryField = value; - } - } - - /// - public string PortFacilityPortLoCode { - get { - return this.portFacilityPortLoCodeField; - } - set { - this.portFacilityPortLoCodeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime PortFacilityDateOfArrival { - get { - return this.portFacilityDateOfArrivalField; - } - set { - this.portFacilityDateOfArrivalField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime PortFacilityDateOfDeparture { - get { - return this.portFacilityDateOfDepartureField; - } - set { - this.portFacilityDateOfDepartureField = value; - } - } - - /// - public int PortFacilityShipSecurityLevel { - get { - return this.portFacilityShipSecurityLevelField; - } - set { - this.portFacilityShipSecurityLevelField = value; - } - } - - /// - public string PortFacilitySecurityMattersToReport { - get { - return this.portFacilitySecurityMattersToReportField; - } - set { - this.portFacilitySecurityMattersToReportField = value; - } - } - - /// - public string PortFacilityGISISCodeLoCode { - get { - return this.portFacilityGISISCodeLoCodeField; - } - set { - this.portFacilityGISISCodeLoCodeField = value; - } - } - - /// - public string PortFacilityGISISCode { - get { - return this.portFacilityGISISCodeField; - } - set { - this.portFacilityGISISCodeField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSECShipToShipActivities { - - private RootSECShipToShipActivitiesShipToShipActivityLocation shipToShipActivityLocationField; - - private System.DateTime shipToShipActivityDateFromField; - - private System.DateTime shipToShipActivityDateToField; - - private int shipToShipActivityTypeField; - - private string shipToShipActivitySecurityMattersToReportField; - - /// - public RootSECShipToShipActivitiesShipToShipActivityLocation ShipToShipActivityLocation { - get { - return this.shipToShipActivityLocationField; - } - set { - this.shipToShipActivityLocationField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime ShipToShipActivityDateFrom { - get { - return this.shipToShipActivityDateFromField; - } - set { - this.shipToShipActivityDateFromField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="date")] - public System.DateTime ShipToShipActivityDateTo { - get { - return this.shipToShipActivityDateToField; - } - set { - this.shipToShipActivityDateToField = value; - } - } - - /// - public int ShipToShipActivityType { - get { - return this.shipToShipActivityTypeField; - } - set { - this.shipToShipActivityTypeField = value; - } - } - - /// - public string ShipToShipActivitySecurityMattersToReport { - get { - return this.shipToShipActivitySecurityMattersToReportField; - } - set { - this.shipToShipActivitySecurityMattersToReportField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSECShipToShipActivitiesShipToShipActivityLocation { - - private string shipToShipActivityLocationNameField; - - private string shipToShipActivityLocationLoCodeField; - - private RootSECShipToShipActivitiesShipToShipActivityLocationShipToShipActivityLocationCoordinates shipToShipActivityLocationCoordinatesField; - - /// - public string ShipToShipActivityLocationName { - get { - return this.shipToShipActivityLocationNameField; - } - set { - this.shipToShipActivityLocationNameField = value; - } - } - - /// - public string ShipToShipActivityLocationLoCode { - get { - return this.shipToShipActivityLocationLoCodeField; - } - set { - this.shipToShipActivityLocationLoCodeField = value; - } - } - - /// - public RootSECShipToShipActivitiesShipToShipActivityLocationShipToShipActivityLocationCoordinates ShipToShipActivityLocationCoordinates { - get { - return this.shipToShipActivityLocationCoordinatesField; - } - set { - this.shipToShipActivityLocationCoordinatesField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSECShipToShipActivitiesShipToShipActivityLocationShipToShipActivityLocationCoordinates { - - private int shipToShipActivityLocationCoordinatesLatitudeField; - - private int shipToShipActivityLocationCoordinatesLongitudeField; - - /// - public int ShipToShipActivityLocationCoordinatesLatitude { - get { - return this.shipToShipActivityLocationCoordinatesLatitudeField; - } - set { - this.shipToShipActivityLocationCoordinatesLatitudeField = value; - } - } - - /// - public int ShipToShipActivityLocationCoordinatesLongitude { - get { - return this.shipToShipActivityLocationCoordinatesLongitudeField; - } - set { - this.shipToShipActivityLocationCoordinatesLongitudeField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemsChoiceType1 { - - /// - ApprovedSecurityPlanOnBoard, - - /// - CSOEMail, - - /// - CSOFax, - - /// - CSOFirstName, - - /// - CSOLastName, - - /// - CSOPhone, - - /// - GeneralDescriptionOfCargo, - - /// - ISSCDateOfExpiration, - - /// - ISSCIssuerName, - - /// - ISSCIssuerType, - - /// - ISSCType, - - /// - LastTenPortFacilitiesCalled, - - /// - PortFacilityOfArrival, - - /// - PortOfCallWhereCompleteSECNotified, - - /// - ReasonsForNoValidISSC, - - /// - SECSimplification, - - /// - ShipToShipActivities, - - /// - ValidISSCOnBoard, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSERV { - - private ReportingParty reportingPartyField; - - private RootSERVService[] serviceField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("Service")] - public RootSERVService[] Service { - get { - return this.serviceField; - } - set { - this.serviceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSERVService { - - private string serviceNameField; - - private string serviceBeneficiaryField; - - private string serviceInvoiceRecipientField; - - /// - public string ServiceName { - get { - return this.serviceNameField; - } - set { - this.serviceNameField = value; - } - } - - /// - public string ServiceBeneficiary { - get { - return this.serviceBeneficiaryField; - } - set { - this.serviceBeneficiaryField = value; - } - } - - /// - public string ServiceInvoiceRecipient { - get { - return this.serviceInvoiceRecipientField; - } - set { - this.serviceInvoiceRecipientField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSTAT { - - private ReportingParty reportingPartyField; - - private string shipNameField; - - private string callSignField; - - private string mMSINumberField; - - private string flagField; - - private decimal lengthOverall_MTRField; - - private decimal beam_MTRField; - - private int grossTonnageField; - - private string portOfRegistryField; - - private string[] inmarsatCallNumbersField; - - private RootSTATTransportMode transportModeField; - - private string shipTypeField; - - private RootSTATISMCompany iSMCompanyField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public string ShipName { - get { - return this.shipNameField; - } - set { - this.shipNameField = value; - } - } - - /// - public string CallSign { - get { - return this.callSignField; - } - set { - this.callSignField = value; - } - } - - /// - public string MMSINumber { - get { - return this.mMSINumberField; - } - set { - this.mMSINumberField = value; - } - } - - /// - public string Flag { - get { - return this.flagField; - } - set { - this.flagField = value; - } - } - - /// - public decimal LengthOverall_MTR { - get { - return this.lengthOverall_MTRField; - } - set { - this.lengthOverall_MTRField = value; - } - } - - /// - public decimal Beam_MTR { - get { - return this.beam_MTRField; - } - set { - this.beam_MTRField = value; - } - } - - /// - public int GrossTonnage { - get { - return this.grossTonnageField; - } - set { - this.grossTonnageField = value; - } - } - - /// - public string PortOfRegistry { - get { - return this.portOfRegistryField; - } - set { - this.portOfRegistryField = value; - } - } - - /// - [System.Xml.Serialization.XmlArrayItemAttribute("InmarsatCallNumber", IsNullable=false)] - public string[] InmarsatCallNumbers { - get { - return this.inmarsatCallNumbersField; - } - set { - this.inmarsatCallNumbersField = value; - } - } - - /// - public RootSTATTransportMode TransportMode { - get { - return this.transportModeField; - } - set { - this.transportModeField = value; - } - } - - /// - public string ShipType { - get { - return this.shipTypeField; - } - set { - this.shipTypeField = value; - } - } - - /// - public RootSTATISMCompany ISMCompany { - get { - return this.iSMCompanyField; - } - set { - this.iSMCompanyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public enum RootSTATTransportMode { - - /// - [System.Xml.Serialization.XmlEnumAttribute("1")] - Item1, - - /// - [System.Xml.Serialization.XmlEnumAttribute("8")] - Item8, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootSTATISMCompany { - - private string iSMCompanyNameField; - - private string iSMCompanyIdField; - - private string iSMCompanyStreetAndNumberField; - - private string iSMCompanyPostalCodeField; - - private string iSMCompanyCityField; - - private string iSMCompanyCountryField; - - /// - public string ISMCompanyName { - get { - return this.iSMCompanyNameField; - } - set { - this.iSMCompanyNameField = value; - } - } - - /// - public string ISMCompanyId { - get { - return this.iSMCompanyIdField; - } - set { - this.iSMCompanyIdField = value; - } - } - - /// - public string ISMCompanyStreetAndNumber { - get { - return this.iSMCompanyStreetAndNumberField; - } - set { - this.iSMCompanyStreetAndNumberField = value; - } - } - - /// - public string ISMCompanyPostalCode { - get { - return this.iSMCompanyPostalCodeField; - } - set { - this.iSMCompanyPostalCodeField = value; - } - } - - /// - public string ISMCompanyCity { - get { - return this.iSMCompanyCityField; - } - set { - this.iSMCompanyCityField = value; - } - } - - /// - public string ISMCompanyCountry { - get { - return this.iSMCompanyCountryField; - } - set { - this.iSMCompanyCountryField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTIEFA { - - private ReportingParty reportingPartyField; - - private decimal draughtUponArrival_DMTField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public decimal DraughtUponArrival_DMT { - get { - return this.draughtUponArrival_DMTField; - } - set { - this.draughtUponArrival_DMTField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTIEFD { - - private ReportingParty reportingPartyField; - - private decimal draughtUponDeparture_DMTField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - public decimal DraughtUponDeparture_DMT { - get { - return this.draughtUponDeparture_DMTField; - } - set { - this.draughtUponDeparture_DMTField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTOWA { - - private ReportingParty reportingPartyField; - - private RootTOWATowageOnArrival[] towageOnArrivalField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("TowageOnArrival")] - public RootTOWATowageOnArrival[] TowageOnArrival { - get { - return this.towageOnArrivalField; - } - set { - this.towageOnArrivalField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTOWATowageOnArrival { - - private string towageOnArrivalNameField; - - private string towageOnArrivalFlagField; - - private RootTOWATowageOnArrivalTowageOnArrivalOperator towageOnArrivalOperatorField; - - private int towageOnArrivalGrossTonnageField; - - private decimal towageOnArrivalLengthOverall_MTRField; - - private decimal towageOnArrivalBeam_MTRField; - - private string towageOnArrivalPurposeOfCallField; - - private decimal towageOnArrivalDraught_DMTField; - - private string towageOnArrivalRemarksField; - - /// - public string TowageOnArrivalName { - get { - return this.towageOnArrivalNameField; - } - set { - this.towageOnArrivalNameField = value; - } - } - - /// - public string TowageOnArrivalFlag { - get { - return this.towageOnArrivalFlagField; - } - set { - this.towageOnArrivalFlagField = value; - } - } - - /// - public RootTOWATowageOnArrivalTowageOnArrivalOperator TowageOnArrivalOperator { - get { - return this.towageOnArrivalOperatorField; - } - set { - this.towageOnArrivalOperatorField = value; - } - } - - /// - public int TowageOnArrivalGrossTonnage { - get { - return this.towageOnArrivalGrossTonnageField; - } - set { - this.towageOnArrivalGrossTonnageField = value; - } - } - - /// - public decimal TowageOnArrivalLengthOverall_MTR { - get { - return this.towageOnArrivalLengthOverall_MTRField; - } - set { - this.towageOnArrivalLengthOverall_MTRField = value; - } - } - - /// - public decimal TowageOnArrivalBeam_MTR { - get { - return this.towageOnArrivalBeam_MTRField; - } - set { - this.towageOnArrivalBeam_MTRField = value; - } - } - - /// - public string TowageOnArrivalPurposeOfCall { - get { - return this.towageOnArrivalPurposeOfCallField; - } - set { - this.towageOnArrivalPurposeOfCallField = value; - } - } - - /// - public decimal TowageOnArrivalDraught_DMT { - get { - return this.towageOnArrivalDraught_DMTField; - } - set { - this.towageOnArrivalDraught_DMTField = value; - } - } - - /// - public string TowageOnArrivalRemarks { - get { - return this.towageOnArrivalRemarksField; - } - set { - this.towageOnArrivalRemarksField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTOWATowageOnArrivalTowageOnArrivalOperator { - - private string towageOnArrivalOperatorCompanyNameField; - - private string towageOnArrivalOperatorStreetAndNumberField; - - private string towageOnArrivalOperatorPostalCodeField; - - private string towageOnArrivalOperatorCityField; - - private string towageOnArrivalOperatorCountryField; - - private string towageOnArrivalOperatorPhoneField; - - private string towageOnArrivalOperatorFaxField; - - private string towageOnArrivalOperatorEMailField; - - /// - public string TowageOnArrivalOperatorCompanyName { - get { - return this.towageOnArrivalOperatorCompanyNameField; - } - set { - this.towageOnArrivalOperatorCompanyNameField = value; - } - } - - /// - public string TowageOnArrivalOperatorStreetAndNumber { - get { - return this.towageOnArrivalOperatorStreetAndNumberField; - } - set { - this.towageOnArrivalOperatorStreetAndNumberField = value; - } - } - - /// - public string TowageOnArrivalOperatorPostalCode { - get { - return this.towageOnArrivalOperatorPostalCodeField; - } - set { - this.towageOnArrivalOperatorPostalCodeField = value; - } - } - - /// - public string TowageOnArrivalOperatorCity { - get { - return this.towageOnArrivalOperatorCityField; - } - set { - this.towageOnArrivalOperatorCityField = value; - } - } - - /// - public string TowageOnArrivalOperatorCountry { - get { - return this.towageOnArrivalOperatorCountryField; - } - set { - this.towageOnArrivalOperatorCountryField = value; - } - } - - /// - public string TowageOnArrivalOperatorPhone { - get { - return this.towageOnArrivalOperatorPhoneField; - } - set { - this.towageOnArrivalOperatorPhoneField = value; - } - } - - /// - public string TowageOnArrivalOperatorFax { - get { - return this.towageOnArrivalOperatorFaxField; - } - set { - this.towageOnArrivalOperatorFaxField = value; - } - } - - /// - public string TowageOnArrivalOperatorEMail { - get { - return this.towageOnArrivalOperatorEMailField; - } - set { - this.towageOnArrivalOperatorEMailField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTOWD { - - private ReportingParty reportingPartyField; - - private RootTOWDTowageOnDeparture[] towageOnDepartureField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("TowageOnDeparture")] - public RootTOWDTowageOnDeparture[] TowageOnDeparture { - get { - return this.towageOnDepartureField; - } - set { - this.towageOnDepartureField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTOWDTowageOnDeparture { - - private string towageOnDepartureNameField; - - private string towageOnDepartureFlagField; - - private RootTOWDTowageOnDepartureTowageOnDepartureOperator towageOnDepartureOperatorField; - - private decimal towageOnDepartureLengthOverall_MTRField; - - private bool towageOnDepartureLengthOverall_MTRFieldSpecified; - - private decimal towageOnDepartureBeam_MTRField; - - private bool towageOnDepartureBeam_MTRFieldSpecified; - - private decimal towageOnDepartureDraught_DMTField; - - private string towageOnDepartureRemarksField; - - /// - public string TowageOnDepartureName { - get { - return this.towageOnDepartureNameField; - } - set { - this.towageOnDepartureNameField = value; - } - } - - /// - public string TowageOnDepartureFlag { - get { - return this.towageOnDepartureFlagField; - } - set { - this.towageOnDepartureFlagField = value; - } - } - - /// - public RootTOWDTowageOnDepartureTowageOnDepartureOperator TowageOnDepartureOperator { - get { - return this.towageOnDepartureOperatorField; - } - set { - this.towageOnDepartureOperatorField = value; - } - } - - /// - public decimal TowageOnDepartureLengthOverall_MTR { - get { - return this.towageOnDepartureLengthOverall_MTRField; - } - set { - this.towageOnDepartureLengthOverall_MTRField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool TowageOnDepartureLengthOverall_MTRSpecified { - get { - return this.towageOnDepartureLengthOverall_MTRFieldSpecified; - } - set { - this.towageOnDepartureLengthOverall_MTRFieldSpecified = value; - } - } - - /// - public decimal TowageOnDepartureBeam_MTR { - get { - return this.towageOnDepartureBeam_MTRField; - } - set { - this.towageOnDepartureBeam_MTRField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool TowageOnDepartureBeam_MTRSpecified { - get { - return this.towageOnDepartureBeam_MTRFieldSpecified; - } - set { - this.towageOnDepartureBeam_MTRFieldSpecified = value; - } - } - - /// - public decimal TowageOnDepartureDraught_DMT { - get { - return this.towageOnDepartureDraught_DMTField; - } - set { - this.towageOnDepartureDraught_DMTField = value; - } - } - - /// - public string TowageOnDepartureRemarks { - get { - return this.towageOnDepartureRemarksField; - } - set { - this.towageOnDepartureRemarksField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootTOWDTowageOnDepartureTowageOnDepartureOperator { - - private string towageOnDepartureOperatorCompanyNameField; - - private string towageOnDepartureOperatorStreetAndNumberField; - - private string towageOnDepartureOperatorPostalCodeField; - - private string towageOnDepartureOperatorCityField; - - private string towageOnDepartureOperatorCountryField; - - private string towageOnDepartureOperatorPhoneField; - - private string towageOnDepartureOperatorFaxField; - - private string towageOnDepartureOperatorEMailField; - - /// - public string TowageOnDepartureOperatorCompanyName { - get { - return this.towageOnDepartureOperatorCompanyNameField; - } - set { - this.towageOnDepartureOperatorCompanyNameField = value; - } - } - - /// - public string TowageOnDepartureOperatorStreetAndNumber { - get { - return this.towageOnDepartureOperatorStreetAndNumberField; - } - set { - this.towageOnDepartureOperatorStreetAndNumberField = value; - } - } - - /// - public string TowageOnDepartureOperatorPostalCode { - get { - return this.towageOnDepartureOperatorPostalCodeField; - } - set { - this.towageOnDepartureOperatorPostalCodeField = value; - } - } - - /// - public string TowageOnDepartureOperatorCity { - get { - return this.towageOnDepartureOperatorCityField; - } - set { - this.towageOnDepartureOperatorCityField = value; - } - } - - /// - public string TowageOnDepartureOperatorCountry { - get { - return this.towageOnDepartureOperatorCountryField; - } - set { - this.towageOnDepartureOperatorCountryField = value; - } - } - - /// - public string TowageOnDepartureOperatorPhone { - get { - return this.towageOnDepartureOperatorPhoneField; - } - set { - this.towageOnDepartureOperatorPhoneField = value; - } - } - - /// - public string TowageOnDepartureOperatorFax { - get { - return this.towageOnDepartureOperatorFaxField; - } - set { - this.towageOnDepartureOperatorFaxField = value; - } - } - - /// - public string TowageOnDepartureOperatorEMail { - get { - return this.towageOnDepartureOperatorEMailField; - } - set { - this.towageOnDepartureOperatorEMailField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootWAS { - - private ReportingParty reportingPartyField; - - private object[] itemsField; - - private ItemsChoiceType3[] itemsElementNameField; - - /// - public ReportingParty ReportingParty { - get { - return this.reportingPartyField; - } - set { - this.reportingPartyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ConfirmationOfCorrectnessAndSufficiency", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalDate", typeof(System.DateTime), DataType="date")] - [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalPort", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("Waste", typeof(RootWASWaste))] - [System.Xml.Serialization.XmlElementAttribute("WasteDisposalDelivery", typeof(DisposalType))] - [System.Xml.Serialization.XmlElementAttribute("WasteDisposalServiceProviderName", typeof(string))] - [System.Xml.Serialization.XmlElementAttribute("WasteDisposalValidExemption", typeof(string))] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType3[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootWASWaste { - - private RootWASWasteWasteType wasteTypeField; - - private decimal wasteDisposalAmount_MTQField; - - private decimal wasteDisposedAtLastPort_MTQField; - - private RootWASWasteWasteDetails wasteDetailsField; - - /// - public RootWASWasteWasteType WasteType { - get { - return this.wasteTypeField; - } - set { - this.wasteTypeField = value; - } - } - - /// - public decimal WasteDisposalAmount_MTQ { - get { - return this.wasteDisposalAmount_MTQField; - } - set { - this.wasteDisposalAmount_MTQField = value; - } - } - - /// - public decimal WasteDisposedAtLastPort_MTQ { - get { - return this.wasteDisposedAtLastPort_MTQField; - } - set { - this.wasteDisposedAtLastPort_MTQField = value; - } - } - - /// - public RootWASWasteWasteDetails WasteDetails { - get { - return this.wasteDetailsField; - } - set { - this.wasteDetailsField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootWASWasteWasteType { - - private int wasteCodeField; - - private string wasteDescriptionField; - - /// - public int WasteCode { - get { - return this.wasteCodeField; - } - set { - this.wasteCodeField = value; - } - } - - /// - public string WasteDescription { - get { - return this.wasteDescriptionField; - } - set { - this.wasteDescriptionField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootWASWasteWasteDetails { - - private decimal wasteCapacity_MTQField; - - private decimal wasteAmountRetained_MTQField; - - private string wasteDisposalPortField; - - private decimal wasteAmountGeneratedTillNextPort_MTQField; - - /// - public decimal WasteCapacity_MTQ { - get { - return this.wasteCapacity_MTQField; - } - set { - this.wasteCapacity_MTQField = value; - } - } - - /// - public decimal WasteAmountRetained_MTQ { - get { - return this.wasteAmountRetained_MTQField; - } - set { - this.wasteAmountRetained_MTQField = value; - } - } - - /// - public string WasteDisposalPort { - get { - return this.wasteDisposalPortField; - } - set { - this.wasteDisposalPortField = value; - } - } - - /// - public decimal WasteAmountGeneratedTillNextPort_MTQ { - get { - return this.wasteAmountGeneratedTillNextPort_MTQField; - } - set { - this.wasteAmountGeneratedTillNextPort_MTQField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/")] - public enum DisposalType { - - /// - ALL, - - /// - SOME, - - /// - NONE, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.openuri.org/", IncludeInSchema=false)] - public enum ItemsChoiceType3 { - - /// - ConfirmationOfCorrectnessAndSufficiency, - - /// - LastWasteDisposalDate, - - /// - LastWasteDisposalPort, - - /// - Waste, - - /// - WasteDisposalDelivery, - - /// - WasteDisposalServiceProviderName, - - /// - WasteDisposalValidExemption, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.openuri.org/")] - public partial class RootViolation { - - private int violationCodeField; - - private string violationTextField; - - /// - public int ViolationCode { - get { - return this.violationCodeField; - } - set { - this.violationCodeField = value; - } - } - - /// - public string ViolationText { - get { - return this.violationTextField; - } - set { - this.violationTextField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] - public delegate void RootCompletedEventHandler(object sender, RootCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class RootCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal RootCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public string Result { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[0])); - } - } - } -} - -#pragma warning restore 1591 \ No newline at end of file diff --git a/bsmd.dbh/Web References/DBHWebReference/Reference.map b/bsmd.dbh/Web References/DBHWebReference/Reference.map deleted file mode 100644 index e2a4909c..00000000 --- a/bsmd.dbh/Web References/DBHWebReference/Reference.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/bsmd.dbh/Web References/DBHWebReference/answ-osis-extern.wsdl b/bsmd.dbh/Web References/DBHWebReference/answ-osis-extern.wsdl deleted file mode 100644 index 4f001ae7..00000000 --- a/bsmd.dbh/Web References/DBHWebReference/answ-osis-extern.wsdl +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - Submit a new NSW Request (only one NSWRequest per Submit!) to DBH ANSW OSIS, giving the senderID, messageID, messageType, the message. The method returns the OsisOrderNr (Unique message identifier generated by OSIS). - - - - - - - - - - - - - - - - - - Dbh_Osis_Answ_Ws is used to send Message to the DBH ANSW OSIS Application. Message format is XML. - - - - - \ No newline at end of file diff --git a/bsmd.dbh/app.config b/bsmd.dbh/app.config index b8defe63..ebdefb13 100644 --- a/bsmd.dbh/app.config +++ b/bsmd.dbh/app.config @@ -7,9 +7,6 @@ - - https://edi-gate.dbh.de/test/bsmd-soap - 00003050 diff --git a/bsmd.dbh/bsmd.dbh.csproj b/bsmd.dbh/bsmd.dbh.csproj index d9fb984a..1a8305f3 100644 --- a/bsmd.dbh/bsmd.dbh.csproj +++ b/bsmd.dbh/bsmd.dbh.csproj @@ -77,11 +77,6 @@ - - True - True - Reference.map - @@ -104,34 +99,10 @@ PublicSettingsSingleFileGenerator Settings.Designer.cs - - - Designer - - - MSDiscoCodeGenerator - Reference.cs - - - - - - - Dynamic - Web References\DBHWebReference\ - E:\svnlager\bsmd\nsw\dbh\answ-osis-extern.wsdl - - - - - Settings - bsmd_dbh_DBHWebReference_Dbh_Osis_Answ_Ws - - diff --git a/bsmd.status/Status.cs b/bsmd.status/Status.cs index f12692c2..a63dbd51 100644 --- a/bsmd.status/Status.cs +++ b/bsmd.status/Status.cs @@ -15,8 +15,8 @@ namespace bsmd.status public class Status { - private static ILog _log = LogManager.GetLogger(typeof(bsmd.status.Status)); - private MessageCore _queryCore; + private static readonly ILog _log = LogManager.GetLogger(typeof(bsmd.status.Status)); + private readonly MessageCore _queryCore; public Status(MessageCore core2Query) { _queryCore = core2Query; } @@ -73,12 +73,12 @@ namespace bsmd.status { // three-way bool! if (result.NswResponse.Cancelled != null) - _queryCore.Cancelled = result.NswResponse.Equals("Y") ? true : false; + _queryCore.Cancelled = result.NswResponse.Equals("Y"); else _queryCore.Cancelled = null; if (result.NswResponse.VisitIdOrTransitIdCancellable != null) - _queryCore.VisitIdOrTransitIdCancellable = result.NswResponse.VisitIdOrTransitIdCancellable.Equals("Y") ? true : false; + _queryCore.VisitIdOrTransitIdCancellable = result.NswResponse.VisitIdOrTransitIdCancellable.Equals("Y"); else _queryCore.VisitIdOrTransitIdCancellable = null; diff --git a/bsmd.status/dataset.cs b/bsmd.status/dataset.cs index 3b09033f..fe5f1f17 100644 --- a/bsmd.status/dataset.cs +++ b/bsmd.status/dataset.cs @@ -12,7 +12,7 @@ namespace bsmd.status [Serializable] public class dataset { - private static ILog _log = LogManager.GetLogger(typeof(bsmd.status.dataset)); + private static readonly ILog _log = LogManager.GetLogger(typeof(bsmd.status.dataset)); /// /// this class needs a public empty constructor for deserialization