From 2cff4b97b669e4de3d8050407b8e5618c546d286 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Tue, 22 Feb 2022 09:59:36 +0100 Subject: [PATCH] Updated NSWSendService ohne CREWA / PASA --- SendNSWMessageService/NSWSendService.cs | 31 +- bsmd.dakosy/Request.cs | 11 +- bsmd.database/Message.cs | 10 +- bsmd.dbh/Request.cs | 12 +- bsmd.hisnord/Request.cs | 281 ++++- bsmd.hisnord/his-nord.cs | 1293 +++++++++++++++++++---- 6 files changed, 1313 insertions(+), 325 deletions(-) diff --git a/SendNSWMessageService/NSWSendService.cs b/SendNSWMessageService/NSWSendService.cs index 3755748c..37e73de5 100644 --- a/SendNSWMessageService/NSWSendService.cs +++ b/SendNSWMessageService/NSWSendService.cs @@ -177,23 +177,20 @@ namespace SendNSWMessageService switch (message.HIS) { - case Message.NSWProvider.DBH: - case Message.NSWProvider.DBH_TEST: - sendSucceeded = bsmd.dbh.Request.SendMessage(message, message.HIS == Message.NSWProvider.DBH_TEST); + case Message.NSWProvider.DBH: + sendSucceeded = bsmd.dbh.Request.SendMessage(message); if (!sendSucceeded) message.InternalStatus = Message.BSMDStatus.SEND_FAILED; else didSendSomething = true; break; - case Message.NSWProvider.DAKOSY: - case Message.NSWProvider.DAKOSY_TEST: - sendSucceeded = bsmd.dakosy.Request.Send(message, true); + case Message.NSWProvider.DAKOSY: + sendSucceeded = bsmd.dakosy.Request.Send(message); if (!sendSucceeded) message.InternalStatus = Message.BSMDStatus.SEND_FAILED; else didSendSomething = true; break; - case Message.NSWProvider.DUDR: - case Message.NSWProvider.DUDR_TEST: - bool? sendResult = bsmd.hisnord.Request.CreateSendFile(core, message, core.InitialHIS == Message.NSWProvider.DUDR_TEST); + case Message.NSWProvider.DUDR: + bool? sendResult = bsmd.hisnord.Request.CreateSendFile(core, message); if (sendResult.HasValue) { didSendSomething = true; @@ -239,19 +236,12 @@ namespace SendNSWMessageService switch(core.InitialHIS) { case Message.NSWProvider.DUDR: - coreSendSucceeded = bsmd.hisnord.Request.CreateSendFile(core, null, false) ?? false; + coreSendSucceeded = bsmd.hisnord.Request.CreateSendFile(core, null) ?? false; didSendSomething = true; - break; - case Message.NSWProvider.DUDR_TEST: - coreSendSucceeded = bsmd.hisnord.Request.CreateSendFile(core, null, true) ?? false; - didSendSomething = true; - break; + break; case Message.NSWProvider.DBH: - coreSendSucceeded = bsmd.dbh.Request.SendCancelCore(core, false); - break; - case Message.NSWProvider.DBH_TEST: - coreSendSucceeded = bsmd.dbh.Request.SendCancelCore(core, true); - break; + coreSendSucceeded = bsmd.dbh.Request.SendCancelCore(core); + break; default: _log.WarnFormat("Cancelling for HIS {0} is not supported", core.InitialHIS); break; @@ -259,7 +249,6 @@ namespace SendNSWMessageService } } - if (didSendSomething) { // falls nur eine Nachricht gescheitert ist geht der Core auf SEND_FAILED, sonst FAILURE diff --git a/bsmd.dakosy/Request.cs b/bsmd.dakosy/Request.cs index 5fe53229..f86b71a8 100644 --- a/bsmd.dakosy/Request.cs +++ b/bsmd.dakosy/Request.cs @@ -23,7 +23,7 @@ namespace bsmd.dakosy #region send single message - public static bool Send(Message aMessage, bool useTestSystem) + public static bool Send(Message aMessage) { bool retval = true; try @@ -800,13 +800,10 @@ namespace bsmd.dakosy if (!serializationFailed) { // call sftp client to send - sftp.Put(fileName, - useTestSystem ? Properties.Settings.Default.RemoteTestIncomingDir : Properties.Settings.Default.RemoteProdIncomingDir); + sftp.Put(fileName, Properties.Settings.Default.RemoteProdIncomingDir); } - - // remove sent file if not test mode - if (!useTestSystem) - File.Delete(fileName); + + File.Delete(fileName); } catch(Exception ex) { diff --git a/bsmd.database/Message.cs b/bsmd.database/Message.cs index 90562f54..5dfb82fe 100644 --- a/bsmd.database/Message.cs +++ b/bsmd.database/Message.cs @@ -180,15 +180,7 @@ namespace bsmd.database [Description("HIS-Nord")] DUDR, - - [Description("DBH Testsystem")] - DBH_TEST, - - [Description("Dakosy Testsystem")] - DAKOSY_TEST, - - [Description("HIS-Nord Testsystem")] - DUDR_TEST + } // Late to the party: generic flags Enum/Field diff --git a/bsmd.dbh/Request.cs b/bsmd.dbh/Request.cs index dca8a13f..60561319 100644 --- a/bsmd.dbh/Request.cs +++ b/bsmd.dbh/Request.cs @@ -21,7 +21,7 @@ namespace bsmd.dbh { private static readonly ILog _log = LogManager.GetLogger(typeof(Request)); - public static bool SendCancelCore(MessageCore core, bool useTest) + public static bool SendCancelCore(MessageCore core) { if ((core == null) || !(core.Cancelled ?? false)) return false; if (!core.DefaultReportingPartyId.HasValue || @@ -34,8 +34,8 @@ namespace bsmd.dbh const RootType rootType = RootType.CANCEL; Dbh_Osis_Answ_Ws client = new Dbh_Osis_Answ_Ws(); - if (useTest) - client.Url = "https://edi-gate.dbh.de/test/bsmd-soap"; + //if (useTest) + // client.Url = "https://edi-gate.dbh.de/test/bsmd-soap"; bsmd.database.ReportingParty reportingParty = DBManager.Instance.GetReportingPartyDict()[core.DefaultReportingPartyId.Value]; DBHWebReference.ReportingParty rp = new DBHWebReference.ReportingParty(); @@ -109,7 +109,7 @@ namespace bsmd.dbh return true; } - public static bool SendMessage(Message message, bool useTest) + public static bool SendMessage(Message message) { if (message == null) return false; @@ -135,8 +135,8 @@ namespace bsmd.dbh // map message to dbh NSWRequest object Dbh_Osis_Answ_Ws client = new Dbh_Osis_Answ_Ws(); - if (useTest) - client.Url = "https://edi-gate.dbh.de/test/bsmd-soap"; + //if (useTest) + // client.Url = "https://edi-gate.dbh.de/test/bsmd-soap"; DBHWebReference.ReportingParty rp = new DBHWebReference.ReportingParty(); rp.RPCity = message.ReportingParty.City; diff --git a/bsmd.hisnord/Request.cs b/bsmd.hisnord/Request.cs index a03e877f..92ff805e 100644 --- a/bsmd.hisnord/Request.cs +++ b/bsmd.hisnord/Request.cs @@ -76,7 +76,7 @@ namespace bsmd.hisnord } } - public static bool? CreateSendFile(MessageCore core, Message message, bool useTest) + public static bool? CreateSendFile(MessageCore core, Message message) { bool? retval; try @@ -184,11 +184,11 @@ namespace bsmd.hisnord vesseltype hn_stat = new vesseltype(); if (stat.Beam_MTR.HasValue) - hn_stat.Beam_MTR = (float)stat.Beam_MTR.Value; + hn_stat.Beam_MTR = (decimal) stat.Beam_MTR.Value; hn_stat.CallSign = stat.CallSign; hn_stat.Flag = stat.Flag; if (stat.GrossTonnage.HasValue) - hn_stat.GrossTonnage = stat.GrossTonnage.Value.ToString(); + hn_stat.GrossTonnage = stat.GrossTonnage.Value; if (!stat.InmarsatCallNumber.IsNullOrEmpty()) { hn_stat.InmarsatCallNumbers = new vesseltypeInmarsatCallNumbers(); @@ -217,7 +217,7 @@ namespace bsmd.hisnord hn_stat.ISMCompany.ISMCompanyStreetAndNumber = stat.ISMCompanyStreetAndNumber; } if (stat.LengthOverall_MTR.HasValue) - hn_stat.LengthOverall_MTR = (float)stat.LengthOverall_MTR.Value; + hn_stat.LengthOverall_MTR = (decimal)stat.LengthOverall_MTR.Value; hn_stat.MMSINumber = stat.MMSINumber; hn_stat.PortOfRegistry = stat.PortOfRegistry; hn_stat.ShipName = stat.ShipName; @@ -486,7 +486,7 @@ namespace bsmd.hisnord hn_info.DeadWeightSummer_TNESpecified = info.DeplacementSummerDraught_TNE.HasValue; if (hn_info.DeadWeightSummer_TNESpecified) - hn_info.DeadWeightSummer_TNE = (float)info.DeplacementSummerDraught_TNE.Value; + hn_info.DeadWeightSummer_TNE = (decimal)info.DeplacementSummerDraught_TNE.Value; items1ChoiceType.Add(Items1ChoiceType.INFO); items1.Add(hn_info); @@ -516,7 +516,7 @@ namespace bsmd.hisnord BRKA brka = message.Elements[i] as BRKA; hn_bkra.BunkerFuelArrival[i] = new bunkerfuel(); hn_bkra.BunkerFuelArrival[i].BunkerFuelType = brka.BunkerFuelType; - hn_bkra.BunkerFuelArrival[i].BunkerFuelQuantity_TNE = (float)brka.BunkerFuelQuantity_TNE; + hn_bkra.BunkerFuelArrival[i].BunkerFuelQuantity_TNE = (decimal)brka.BunkerFuelQuantity_TNE; } items1ChoiceType.Add(Items1ChoiceType.BKRA); items1.Add(hn_bkra); @@ -542,7 +542,7 @@ namespace bsmd.hisnord BRKD brkd = message.Elements[i] as BRKD; hn_bkrd.BunkerFuelDeparture[i] = new bunkerfuel(); hn_bkrd.BunkerFuelDeparture[i].BunkerFuelType = brkd.BunkerFuelType; - hn_bkrd.BunkerFuelDeparture[i].BunkerFuelQuantity_TNE = (float)brkd.BunkerFuelQuantity_TNE; + hn_bkrd.BunkerFuelDeparture[i].BunkerFuelQuantity_TNE = (decimal)brkd.BunkerFuelQuantity_TNE; } items1ChoiceType.Add(Items1ChoiceType.BKRD); items1.Add(hn_bkrd); @@ -709,7 +709,7 @@ namespace bsmd.hisnord if ((ladg.CargoNumberOfItems ?? 0) > 0) lu.CargoNumberOfItems = ladg.CargoNumberOfItems.Value.ToString(); if (ladg.CargoGrossQuantity_TNE.HasValue) - lu.CargoGrossQuantity_TNE = (float)ladg.CargoGrossQuantity_TNE.Value; + lu.CargoGrossQuantity_TNE = (decimal)ladg.CargoGrossQuantity_TNE.Value; lu.CargoPortOfLoading = ladg.PortOfLoading; lu.CargoPortOfDischarge = ladg.PortOfDischarge; @@ -777,7 +777,7 @@ namespace bsmd.hisnord hn_pre72.DateOfLastExpandedInspection = pre72h.DateOfLastExpandedInspection.Value; hn_pre72.PlannedOperations = pre72h.PlannedOperations; if (pre72h.PlannedPeriodOfStay_HUR.HasValue) - hn_pre72.PlannedPeriodOfStay_HUR = (float)pre72h.PlannedPeriodOfStay_HUR.Value; + hn_pre72.PlannedPeriodOfStay_HUR = (decimal)pre72h.PlannedPeriodOfStay_HUR.Value; hn_pre72.PlannedWorks = pre72h.PlannedWorks; hn_pre72.Tanker = (pre72h.Tanker ?? false) ? yorntype.Y : yorntype.N; @@ -792,7 +792,7 @@ namespace bsmd.hisnord if (pre72h.TankerHullConfiguration.HasValue) hn_pre72.TankerDetails.TankerHullConfiguration = (hullconfigtype)pre72h.TankerHullConfiguration.Value; if (pre72h.VolumeOfCargo.HasValue && (pre72h.VolumeOfCargo > 0)) - hn_pre72.TankerDetails.VolumeOfCargo_TNE = (float)pre72h.VolumeOfCargo.Value; + hn_pre72.TankerDetails.VolumeOfCargo_TNE = (decimal)pre72h.VolumeOfCargo.Value; hn_pre72.TankerDetails.VolumeOfCargo_TNESpecified = pre72h.VolumeOfCargo.HasValue; } else @@ -1209,23 +1209,18 @@ namespace bsmd.hisnord } } - if (was.WasteDisposalDelivery.HasValue) - { - was_items.Add((wastedeliverytype)was.WasteDisposalDelivery); - was_item_names.Add(ItemsChoiceType6.WasteDisposalDelivery); - } + was_items.Add(was.NextWasteDisposalPort); + was_item_names.Add(ItemsChoiceType6.NextWasteDisposalPort); if (was.Waste.Count > 0) { for (int i = 0; i < was.Waste.Count; i++) { waste hn_waste = new waste(); - Waste waste = was.Waste[i] as Waste; + Waste waste = was.Waste[i]; if (waste.WasteDisposalAmount_MTQ.HasValue) - hn_waste.WasteDisposalAmount_MTQ = (float)waste.WasteDisposalAmount_MTQ.Value; - if (waste.WasteDisposedAtLastPort_MTQ.HasValue) - hn_waste.WasteDisposedAtLastPort_MTQ = (float)waste.WasteDisposedAtLastPort_MTQ.Value; + hn_waste.WasteDisposalAmount_MTQ = (decimal)waste.WasteDisposalAmount_MTQ.Value; hn_waste.WasteType = new wastetyp(); if (waste.WasteType.HasValue) @@ -1238,15 +1233,15 @@ namespace bsmd.hisnord hn_waste.WasteDetails = new wastedetails(); hn_waste.WasteDetails.WasteAmountGeneratedTillNextPort_MTQSpecified = true; // waste.WasteAmountGeneratedTillNextPort_MTQ.HasValue; // if (hn_waste.WasteDetails.WasteAmountGeneratedTillNextPort_MTQSpecified) - hn_waste.WasteDetails.WasteAmountGeneratedTillNextPort_MTQ = (float) (waste.WasteAmountGeneratedTillNextPort_MTQ ?? 0); + hn_waste.WasteDetails.WasteAmountGeneratedTillNextPort_MTQ = (decimal) (waste.WasteAmountGeneratedTillNextPort_MTQ ?? 0); hn_waste.WasteDetails.WasteAmountRetained_MTQSpecified = true; // waste.WasteAmountRetained_MTQ.HasValue; // if (hn_waste.WasteDetails.WasteAmountRetained_MTQSpecified) - hn_waste.WasteDetails.WasteAmountRetained_MTQ = (float) (waste.WasteAmountRetained_MTQ ?? 0); + hn_waste.WasteDetails.WasteAmountRetained_MTQ = (decimal) (waste.WasteAmountRetained_MTQ ?? 0); hn_waste.WasteDetails.WasteCapacity_MTQSpecified = true; // waste.WasteCapacity_MTQ.HasValue; // if (hn_waste.WasteDetails.WasteCapacity_MTQSpecified) - hn_waste.WasteDetails.WasteCapacity_MTQ = (float) (waste.WasteCapacity_MTQ ?? 0); + hn_waste.WasteDetails.WasteCapacity_MTQ = (decimal) (waste.WasteCapacity_MTQ ?? 0); hn_waste.WasteDetails.WasteDisposalPort = waste.WasteDisposalPort.IsNullOrEmpty() ? "ZZUKN" : waste.WasteDisposalPort; @@ -1274,8 +1269,63 @@ namespace bsmd.hisnord #endregion + #region WAS_RCPT + + if (message.MessageNotificationClass == Message.NotificationClass.WAS_RCPT) + { + if (message.Reset) + { + items1ChoiceType.Add(Items1ChoiceType.RESET_WAS_RCPT); + items1.Add(ytype.Y); + } + else + { + if (message.Elements.Count > 0) + { + global::was_rcpt hn_was_rcpt = new global::was_rcpt(); + hn_was_rcpt.Items = new was_rcptWasteDeliveryReceipt[message.Elements.Count]; + + for (int i = 0; i < message.Elements.Count; i++) + { + WAS_RCPT was_rcpt = message.Elements[i] as WAS_RCPT; + hn_was_rcpt.Items[i] = new was_rcptWasteDeliveryReceipt(); + hn_was_rcpt.Items[i].IdentificationNumber = was_rcpt.IdentificationNumber; + hn_was_rcpt.Items[i].PortReceptionFacilityName = was_rcpt.PortReceptionFacilityName; + hn_was_rcpt.Items[i].PortReceptionFacilityProviderName = was_rcpt.PortReceptionFacilityProviderName; + hn_was_rcpt.Items[i].WasteDeliveryPeriod = new was_rcptWasteDeliveryReceiptWasteDeliveryPeriod(); + if (was_rcpt.WasteDeliveryDateFrom.HasValue) + hn_was_rcpt.Items[i].WasteDeliveryPeriod.WasteDeliveryDateFrom = was_rcpt.WasteDeliveryDateFrom.Value; + if (was_rcpt.WasteDeliveryDateTo.HasValue) + hn_was_rcpt.Items[i].WasteDeliveryPeriod.WasteDeliveryDateTo = was_rcpt.WasteDeliveryDateTo.Value; + if(was_rcpt.TreatmentFacilityProvider.Count > 0) + { + hn_was_rcpt.Items[i].TreatmentFacilityProvider = new string[was_rcpt.TreatmentFacilityProvider.Count]; + for (int j = 0; j < was_rcpt.TreatmentFacilityProvider.Count; j++) + hn_was_rcpt.Items[i].TreatmentFacilityProvider[j] = was_rcpt.TreatmentFacilityProvider[j].TreatmentFacilityProviderName; + } + if(was_rcpt.WasteReceived.Count > 0) + { + hn_was_rcpt.Items[i].WasteReceived = new was_rcptWasteDeliveryReceiptWasteReceived[was_rcpt.WasteReceived.Count]; + for (int j = 0; j < was_rcpt.WasteReceived.Count; j++) + { + hn_was_rcpt.Items[i].WasteReceived[j] = new was_rcptWasteDeliveryReceiptWasteReceived(); + hn_was_rcpt.Items[i].WasteReceived[j].AmountWasteReceived_MTQ = (decimal) (was_rcpt.WasteReceived[j].AmountWasteReceived_MTQ ?? 0); + hn_was_rcpt.Items[i].WasteReceived[j].WasteType = new was_rcptWasteDeliveryReceiptWasteReceivedWasteType(); + hn_was_rcpt.Items[i].WasteReceived[j].WasteType.WasteCode = was_rcpt.WasteReceived[j].WasteCode; + hn_was_rcpt.Items[i].WasteReceived[j].WasteType.WasteDescription = was_rcpt.WasteReceived[j].WasteDescription; + } + } + } + items1.Add(hn_was_rcpt); + items1ChoiceType.Add(Items1ChoiceType.WAS_RCPT); + } + } + } + + #endregion + #region BPOL - + if (message.MessageNotificationClass == Message.NotificationClass.BPOL) { if (message.Reset) @@ -1315,6 +1365,7 @@ namespace bsmd.hisnord #region PAS + // TODO: Da bei mir PAS = PASA (keine eigene Meldeklasse) kann das hier erst direkt zum Stichtag umgesetzt werden if (message.MessageNotificationClass == Message.NotificationClass.PAS) { if (message.Reset) @@ -1368,8 +1419,78 @@ namespace bsmd.hisnord #endregion + #region PASD + + if (message.MessageNotificationClass == Message.NotificationClass.PASD) + { + if (message.Reset) + { + items1ChoiceType.Add(Items1ChoiceType.RESET_PASD); + items1.Add(ytype.Y); + } + else + { + if (message.Elements.Count > 0) + { + global::pastype hn_pastype = new pastype(); + PASD apasd = message.Elements[0] as PASD; + + hn_pastype.NotificationPAX = (apasd.NotificationPAX ?? false) ? yorntype.Y : yorntype.N; + hn_pastype.NotificationSchengen = (apasd.NotificationSchengen ?? false) ? yorntype.Y : yorntype.N; + + hn_pastype.Passenger = new pastypePassenger[message.Elements.Count]; + for (int i = 0; i < message.Elements.Count; i++) + { + pastypePassenger hn_pas = new pastypePassenger(); + PASD pasd = message.Elements[i] as PASD; + + hn_pas.CountryOfBirth = pasd.PassengerCountryOfBirth; + if (pasd.PassengerDateOfBirth.HasValue) + hn_pas.DateOfBirth = pasd.PassengerDateOfBirth.Value; + + if(pasd.NotificationPAX ?? false) + { + hn_pas.DetailsPAX = new pastypePassengerDetailsPAX(); + hn_pas.DetailsPAX.EmergencyCare = pasd.EmergencyCare; + hn_pas.DetailsPAX.EmergencyContactNumber = pasd.EmergencyContactNumber; + } + + if(pasd.NotificationSchengen ?? false) + { + hn_pas.DetailsSchengen = new pastypePassengerDetailsSchengen(); + if (pasd.PassengerIdentityDocumentExpiryDate.HasValue) + hn_pas.DetailsSchengen.IdentityDocumentExpiryDate = pasd.PassengerIdentityDocumentExpiryDate.Value; + hn_pas.DetailsSchengen.IdentityDocumentId = pasd.PassengerIdentityDocumentId; + hn_pas.DetailsSchengen.IdentityDocumentIssuingState = pasd.PassengerIdentityDocumentIssuingState; + if(pasd.PassengerIdentityDocumentType.HasValue) + hn_pas.DetailsSchengen.IdentityDocumentType = (documenttype)pasd.PassengerIdentityDocumentType.Value; + hn_pas.DetailsSchengen.InTransit = (pasd.PassengerInTransit ?? false) ? yorntype.Y : yorntype.N; + hn_pas.DetailsSchengen.PortOfDisembarkation = pasd.PassengerPortOfDisembarkation; + hn_pas.DetailsSchengen.PortOfEmbarkation = pasd.PassengerPortOfEmbarkation; + hn_pas.DetailsSchengen.VisaNumber = pasd.PassengerVisaNumber; + } + + hn_pas.FirstName = pasd.PassengerFirstName; + if (pasd.PassengerGender.HasValue) + hn_pas.Gender = (gendertype)pasd.PassengerGender.Value; + hn_pas.LastName = pasd.PassengerLastName; + hn_pas.Nationality = pasd.PassengerNationality; + hn_pas.PlaceOfBirth = pasd.PassengerPlaceOfBirth; + + hn_pastype.Passenger[i] = hn_pas; + } + + items1ChoiceType.Add(Items1ChoiceType.PASD); + items1.Add(hn_pastype); + } + } + } + + #endregion + #region CREW - + + // das ist bei mir dasselbe wie CREWA und muss daher zum Zeitpunkt X geändert werden if (message.MessageNotificationClass == Message.NotificationClass.CREW) { if (message.Reset) @@ -1400,8 +1521,7 @@ namespace bsmd.hisnord hn_crew.CrewMember[i].CrewMemberLastName = crew.CrewMemberLastName; hn_crew.CrewMember[i].CrewMemberNationality = crew.CrewMemberNationality; hn_crew.CrewMember[i].CrewMemberPlaceOfBirth = crew.CrewMemberPlaceOfBirth; - hn_crew.CrewMember[i].CrewMemberVisaNumber = crew.CrewMemberVisaNumber.IsNullOrEmpty() ? "-" : crew.CrewMemberVisaNumber; - hn_crew.CrewMember[i].CrewmemberIdentityDocumentExpiryDateSpecified = crew.CrewMemberIdentityDocumentExpiryDate.HasValue; + hn_crew.CrewMember[i].CrewMemberVisaNumber = crew.CrewMemberVisaNumber.IsNullOrEmpty() ? "-" : crew.CrewMemberVisaNumber; if (crew.CrewMemberIdentityDocumentExpiryDate.HasValue) hn_crew.CrewMember[i].CrewmemberIdentityDocumentExpiryDate = crew.CrewMemberIdentityDocumentExpiryDate.Value; if(crew.CrewMemberIdentityDocumentIssuingState?.Trim().Length == 2) @@ -1416,8 +1536,78 @@ namespace bsmd.hisnord #endregion + #region CREWD + + if (message.MessageNotificationClass == Message.NotificationClass.CREWD) + { + if (message.Reset) + { + items1ChoiceType.Add(Items1ChoiceType.RESET_CREWD); + items1.Add(ytype.Y); + } + else + { + if (message.Elements.Count > 0) + { + global::crewtype hn_crewtype = new crewtype(); + CREWD acrewd = message.Elements[0] as CREWD; + hn_crewtype.NotificationPAX = (acrewd.NotificationPAX ?? false) ? yorntype.Y : yorntype.N; + hn_crewtype.NotificationSchengen = (acrewd.NotificationSchengen ?? false) ? yorntype.Y : yorntype.N; + + hn_crewtype.CrewMember = new crewtypeCrewMember[message.Elements.Count]; + for(int i = 0; i < message.Elements.Count; i++) + { + crewtypeCrewMember hn_crew = new crewtypeCrewMember(); + CREWD crewd = message.Elements[i] as CREWD; + hn_crew.CountryOfBirth = crewd.CrewMemberCountryOfBirth; + if(crewd.CrewMemberDateOfBirth.HasValue) + hn_crew.DateOfBirth = crewd.CrewMemberDateOfBirth.Value; + hn_crew.DetailsSchengen = new crewtypeCrewMemberDetailsSchengen(); + if (crewd.CrewMemberIdentityDocumentExpiryDate.HasValue) + hn_crew.DetailsSchengen.IdentityDocumentExpiryDate = crewd.CrewMemberIdentityDocumentExpiryDate.Value; + hn_crew.DetailsSchengen.IdentityDocumentId = crewd.CrewMemberIdentityDocumentId; + hn_crew.DetailsSchengen.IdentityDocumentIssuingState = crewd.CrewMemberIdentityDocumentIssuingState; + if (crewd.CrewMemberIdentityDocumentType.HasValue) + hn_crew.DetailsSchengen.IdentityDocumentType = (documenttype)crewd.CrewMemberIdentityDocumentType.Value; + hn_crew.DetailsSchengen.VisaNumber = crewd.CrewMemberVisaNumber; + hn_crew.DutyOnBoard = crewd.CrewMemberDuty; + hn_crew.FirstName = crewd.CrewMemberFirstName; + if(crewd.CrewMemberGender.HasValue) + hn_crew.Gender = (gendertype)crewd.CrewMemberGender.Value; + hn_crew.LastName = crewd.CrewMemberLastName; + hn_crew.Nationality = crewd.CrewMemberNationality; + hn_crew.PlaceOfBirth = crewd.CrewMemberPlaceOfBirth; + + hn_crewtype.CrewMember[i] = hn_crew; + } + + items1ChoiceType.Add(Items1ChoiceType.CREWD); + items1.Add(hn_crewtype); + } + } + } + + if (message.MessageNotificationClass == Message.NotificationClass.CREW) + { + if (message.Reset) + { + items1ChoiceType.Add(Items1ChoiceType.RESET_CREWA); + items1.Add(ytype.Y); + } + else + { + if (message.Elements.Count > 0) + { + + + } + } + } + + #endregion + #region TOWA / TOWD - + if (message.MessageNotificationClass == Message.NotificationClass.TOWA) { if (message.Reset) @@ -1440,15 +1630,15 @@ namespace bsmd.hisnord hn_towa.TowageOnArrival[i] = hn_arrival; if (towa.TowageOnArrivalBeam_MTR.HasValue) - hn_arrival.TowageOnArrivalBeam_MTR = (float)towa.TowageOnArrivalBeam_MTR.Value; + hn_arrival.TowageOnArrivalBeam_MTR = (decimal)towa.TowageOnArrivalBeam_MTR.Value; if (towa.TowageOnArrivalDraught_DMT.HasValue) - hn_arrival.TowageOnArrivalDraught_DMT = (float)towa.TowageOnArrivalDraught_DMT.Value; + hn_arrival.TowageOnArrivalDraught_DMT = (decimal)towa.TowageOnArrivalDraught_DMT.Value; if(!towa.TowageOnArrivalFlag.IsNullOrEmpty()) hn_arrival.TowageOnArrivalFlag = towa.TowageOnArrivalFlag; if (towa.TowageOnArrivalGrossTonnage.HasValue) hn_arrival.TowageOnArrivalGrossTonnage = towa.TowageOnArrivalGrossTonnage.Value.ToString(); if (towa.TowageOnArrivalLengthOverall_MTR.HasValue) - hn_arrival.TowageOnArrivalLengthOverall_MTR = (float)towa.TowageOnArrivalLengthOverall_MTR.Value; + hn_arrival.TowageOnArrivalLengthOverall_MTR = (decimal)towa.TowageOnArrivalLengthOverall_MTR.Value; if(!towa.TowageOnArrivalName.IsNullOrEmpty()) hn_arrival.TowageOnArrivalName = towa.TowageOnArrivalName; @@ -1503,9 +1693,9 @@ namespace bsmd.hisnord hn_departure.TowageOnDepartureBeam_MTRSpecified = towd.TowageOnDepartureBeam_MTR.HasValue; if (hn_departure.TowageOnDepartureBeam_MTRSpecified) - hn_departure.TowageOnDepartureBeam_MTR = (float)towd.TowageOnDepartureBeam_MTR.Value; + hn_departure.TowageOnDepartureBeam_MTR = (decimal)towd.TowageOnDepartureBeam_MTR.Value; if (towd.TowageOnDepartureDraught_DMT.HasValue) - hn_departure.TowageOnDepartureDraught_DMT = (float)towd.TowageOnDepartureDraught_DMT.Value; + hn_departure.TowageOnDepartureDraught_DMT = (decimal)towd.TowageOnDepartureDraught_DMT.Value; if(!towd.TowageOnDepartureFlag.IsNullOrEmpty()) hn_departure.TowageOnDepartureFlag = towd.TowageOnDepartureFlag; if(!towd.TowageOnDepartureName.IsNullOrEmpty()) @@ -1530,7 +1720,7 @@ namespace bsmd.hisnord hn_departure.TowageOnDepartureLengthOverall_MTRSpecified = towd.TowageOnDepartureLengthOverall_MTR.HasValue; if (hn_departure.TowageOnDepartureLengthOverall_MTRSpecified) - hn_departure.TowageOnDepartureLengthOverall_MTR = (float)towd.TowageOnDepartureLengthOverall_MTR.Value; + hn_departure.TowageOnDepartureLengthOverall_MTR = (decimal)towd.TowageOnDepartureLengthOverall_MTR.Value; if(!towd.TowageOnDepartureRemarks.IsNullOrEmpty()) hn_departure.TowageOnDepartureRemarks = towd.TowageOnDepartureRemarks; } @@ -1647,14 +1837,11 @@ namespace bsmd.hisnord pi.TechnicalName = imdgPosition.TechnicalName; pi.NetExplosiveMass_KGMSpecified = imdgPosition.NetExplosiveMass_KGM.HasValue; if (pi.NetExplosiveMass_KGMSpecified) - pi.NetExplosiveMass_KGM = (float)imdgPosition.NetExplosiveMass_KGM.Value; + pi.NetExplosiveMass_KGM = (decimal)imdgPosition.NetExplosiveMass_KGM.Value; if(!imdgPosition.Flashpoint_CEL.IsNullOrEmpty()) pi.Flashpoint_CEL = imdgPosition.Flashpoint_CEL; if(!imdgPosition.Class7NuclideName.IsNullOrEmpty()) - pi.Class7NuclideName = imdgPosition.Class7NuclideName; - pi.Class7MaxActivity_BQLSpecified = imdgPosition.Class7MaxActivity_BQL.HasValue; - if (pi.Class7MaxActivity_BQLSpecified) - pi.Class7MaxActivity_BQL = (float)imdgPosition.Class7MaxActivity_BQL.Value; + pi.Class7NuclideName = imdgPosition.Class7NuclideName; pi.Class7CategorySpecified = imdgPosition.Class7Category.HasValue; if (pi.Class7CategorySpecified) pi.Class7Category = (class7cattype)imdgPosition.Class7Category.Value; @@ -1666,10 +1853,10 @@ namespace bsmd.hisnord pi.Class7CSI = (float)imdgPosition.Class7CSI.Value; pi.ControlTemperature_CELSpecified = imdgPosition.ControlTemperature_CEL.HasValue; if (pi.ControlTemperature_CELSpecified) - pi.ControlTemperature_CEL = (float)imdgPosition.ControlTemperature_CEL.Value; + pi.ControlTemperature_CEL = (decimal)imdgPosition.ControlTemperature_CEL.Value; pi.EmergencyTemperature_CELSpecified = imdgPosition.EmergencyTemperature_CEL.HasValue; if (pi.EmergencyTemperature_CELSpecified) - pi.EmergencyTemperature_CEL = (float)imdgPosition.EmergencyTemperature_CEL.Value; + pi.EmergencyTemperature_CEL = (decimal)imdgPosition.EmergencyTemperature_CEL.Value; if(imdgPosition.SubsidiaryRiskList.Count > 0) { pi.SubsidiaryRisks = new string[Math.Min(imdgPosition.SubsidiaryRiskList.Count, 5)]; @@ -1686,13 +1873,13 @@ namespace bsmd.hisnord pi.ExceptedQuantities = (imdgPosition.ExceptedQuantities ?? false) ? yorntype.Y : yorntype.N; pi.NetQuantity_KGMSpecified = imdgPosition.NetQuantity_KGM.HasValue; if (pi.NetQuantity_KGMSpecified) - pi.NetQuantity_KGM = (float)imdgPosition.NetQuantity_KGM.Value; + pi.NetQuantity_KGM = (decimal)imdgPosition.NetQuantity_KGM.Value; pi.GrossQuantity_KGMSpecified = imdgPosition.GrossQuantity_KGM.HasValue; if (pi.GrossQuantity_KGMSpecified) - pi.GrossQuantity_KGM = (float)imdgPosition.GrossQuantity_KGM.Value; + pi.GrossQuantity_KGM = (decimal)imdgPosition.GrossQuantity_KGM.Value; pi.Volume_MTQSpecified = imdgPosition.Volume_MTQ.HasValue; if (pi.Volume_MTQSpecified) - pi.Volume_MTQ = (float)imdgPosition.Volume_MTQ.Value; + pi.Volume_MTQ = (decimal)imdgPosition.Volume_MTQ.Value; pi.GeneralCargoIBCSpecified = imdgPosition.GeneralCargoIBC.HasValue; if (pi.GeneralCargoIBCSpecified) pi.GeneralCargoIBC = imdgPosition.GeneralCargoIBC.Value ? yorntype.Y : yorntype.N; @@ -1744,7 +1931,7 @@ namespace bsmd.hisnord if(!ibcPosition.Flashpoint_CEL.IsNullOrEmpty()) pi.Flashpoint_CEL = ibcPosition.Flashpoint_CEL; if (ibcPosition.Quantity_KGM.HasValue) - pi.Quantity_KGM = (float)ibcPosition.Quantity_KGM.Value; + pi.Quantity_KGM = (decimal)ibcPosition.Quantity_KGM.Value; pi.StowagePosition = ibcPosition.StowagePosition; pi.PortOfLoading = ibcPosition.PortOfLoading; pi.PortOfDischarge = ibcPosition.PortOfDischarge; @@ -1775,7 +1962,7 @@ namespace bsmd.hisnord pi.IMOClass = igcPosition.IMOClass; pi.ProductName = igcPosition.ProductName; if (igcPosition.Quantity_KGM.HasValue) - pi.Quantity_KGM = (float)igcPosition.Quantity_KGM.Value; + pi.Quantity_KGM = (decimal)igcPosition.Quantity_KGM.Value; pi.StowagePosition = igcPosition.StowagePosition; pi.PortOfLoading = igcPosition.PortOfLoading; pi.PortOfDischarge = igcPosition.PortOfDischarge; @@ -1804,7 +1991,7 @@ namespace bsmd.hisnord if(!imsbcPosition.IMOClass.IsNullOrEmpty()) pi.IMOClass = imsbcPosition.IMOClass; if (imsbcPosition.Quantity_KGM.HasValue) - pi.Quantity_KGM = (float)imsbcPosition.Quantity_KGM.Value; + pi.Quantity_KGM = (decimal)imsbcPosition.Quantity_KGM.Value; pi.StowagePosition = imsbcPosition.StowagePosition; pi.PortOfLoading = imsbcPosition.PortOfLoading; pi.PortOfDischarge = imsbcPosition.PortOfDischarge; @@ -1836,7 +2023,7 @@ namespace bsmd.hisnord if(!marpolPosition.Flashpoint_CEL.IsNullOrEmpty()) pi.Flashpoint_CEL = marpolPosition.Flashpoint_CEL; if (marpolPosition.Quantity_KGM.HasValue) - pi.Quantity_KGM = (float)marpolPosition.Quantity_KGM.Value; + pi.Quantity_KGM = (decimal)marpolPosition.Quantity_KGM.Value; pi.StowagePosition = marpolPosition.StowagePosition; pi.PortOfLoading = marpolPosition.PortOfLoading; pi.PortOfDischarge = marpolPosition.PortOfDischarge; diff --git a/bsmd.hisnord/his-nord.cs b/bsmd.hisnord/his-nord.cs index af0c6fac..2f46b82a 100644 --- a/bsmd.hisnord/his-nord.cs +++ b/bsmd.hisnord/his-nord.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// Laufzeitversion:2.0.50727.9151 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generiert wird. @@ -11,12 +11,12 @@ using System.Xml.Serialization; // -// Dieser Quellcode wurde automatisch generiert von xsd, Version=4.8.3928.0. +// This source code was auto-generated by xsd, Version=2.0.50727.312. // /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -121,7 +121,7 @@ public partial class nsw { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -199,6 +199,8 @@ public partial class conveyance { [System.Xml.Serialization.XmlElementAttribute("BKRD", typeof(bkrd), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("BPOL", typeof(bpol), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("CREW", typeof(crew), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("CREWA", typeof(crewtype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("CREWD", typeof(crewtype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("HAZA", typeof(haza), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("HAZD", typeof(hazd), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("INFO", typeof(info), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] @@ -207,6 +209,8 @@ public partial class conveyance { [System.Xml.Serialization.XmlElementAttribute("NOANOD", typeof(noanod), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("NameOfMaster", typeof(string), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("PAS", typeof(pas), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("PASA", typeof(pastype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("PASD", typeof(pastype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("POBA", typeof(poba), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("POBD", typeof(pobd), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("PRE72H", typeof(pre72), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] @@ -217,6 +221,8 @@ public partial class conveyance { [System.Xml.Serialization.XmlElementAttribute("RESET_BKRD", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_BPOL", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_CREW", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("RESET_CREWA", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("RESET_CREWD", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_HAZA", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_HAZD", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_INFO", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] @@ -225,6 +231,8 @@ public partial class conveyance { [System.Xml.Serialization.XmlElementAttribute("RESET_NOANOD", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_NameOfMaster", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_PAS", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("RESET_PASA", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("RESET_PASD", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_POBA", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_POBD", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_PRE72H", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] @@ -236,15 +244,17 @@ public partial class conveyance { [System.Xml.Serialization.XmlElementAttribute("RESET_TOWA", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_TOWD", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("RESET_WAS", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("RESET_WAS_RCPT", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("SEC", typeof(sec), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("SERV", typeof(serv), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("STAT", typeof(vesseltype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("STORNO", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - [System.Xml.Serialization.XmlElementAttribute("TIEFA", typeof(float), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - [System.Xml.Serialization.XmlElementAttribute("TIEFD", typeof(float), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("TIEFA", typeof(decimal), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("TIEFD", typeof(decimal), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("TOWA", typeof(towa), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("TOWD", typeof(towd), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("WAS", typeof(was), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("WAS_RCPT", typeof(was_rcpt), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlChoiceIdentifierAttribute("Items1ElementName")] public object[] Items1 { get { @@ -269,7 +279,7 @@ public partial class conveyance { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType { @@ -297,7 +307,7 @@ public enum ItemsChoiceType { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -357,7 +367,7 @@ public partial class broker_owner { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -418,7 +428,7 @@ public partial class addresstype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -556,7 +566,7 @@ public partial class agnt { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -577,7 +587,7 @@ public partial class towd { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -589,13 +599,13 @@ public partial class departure { private departureoperator towageOnDepartureOperatorField; - private float towageOnDepartureDraught_DMTField; + private decimal towageOnDepartureDraught_DMTField; - private float towageOnDepartureLengthOverall_MTRField; + private decimal towageOnDepartureLengthOverall_MTRField; private bool towageOnDepartureLengthOverall_MTRFieldSpecified; - private float towageOnDepartureBeam_MTRField; + private decimal towageOnDepartureBeam_MTRField; private bool towageOnDepartureBeam_MTRFieldSpecified; @@ -636,7 +646,7 @@ public partial class departure { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float TowageOnDepartureDraught_DMT { + public decimal TowageOnDepartureDraught_DMT { get { return this.towageOnDepartureDraught_DMTField; } @@ -647,7 +657,7 @@ public partial class departure { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float TowageOnDepartureLengthOverall_MTR { + public decimal TowageOnDepartureLengthOverall_MTR { get { return this.towageOnDepartureLengthOverall_MTRField; } @@ -669,7 +679,7 @@ public partial class departure { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float TowageOnDepartureBeam_MTR { + public decimal TowageOnDepartureBeam_MTR { get { return this.towageOnDepartureBeam_MTRField; } @@ -702,7 +712,7 @@ public partial class departure { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -814,7 +824,7 @@ public partial class departureoperator { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -835,7 +845,7 @@ public partial class towa { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -849,13 +859,13 @@ public partial class arrival { private string towageOnArrivalGrossTonnageField; - private float towageOnArrivalLengthOverall_MTRField; + private decimal towageOnArrivalLengthOverall_MTRField; - private float towageOnArrivalBeam_MTRField; + private decimal towageOnArrivalBeam_MTRField; private string towageOnArrivalPurposeOfCallField; - private float towageOnArrivalDraught_DMTField; + private decimal towageOnArrivalDraught_DMTField; private string towageOnArrivalRemarksField; @@ -893,7 +903,7 @@ public partial class arrival { } /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="integer")] + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="positiveInteger")] public string TowageOnArrivalGrossTonnage { get { return this.towageOnArrivalGrossTonnageField; @@ -905,7 +915,7 @@ public partial class arrival { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float TowageOnArrivalLengthOverall_MTR { + public decimal TowageOnArrivalLengthOverall_MTR { get { return this.towageOnArrivalLengthOverall_MTRField; } @@ -916,7 +926,7 @@ public partial class arrival { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float TowageOnArrivalBeam_MTR { + public decimal TowageOnArrivalBeam_MTR { get { return this.towageOnArrivalBeam_MTRField; } @@ -938,7 +948,7 @@ public partial class arrival { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float TowageOnArrivalDraught_DMT { + public decimal TowageOnArrivalDraught_DMT { get { return this.towageOnArrivalDraught_DMTField; } @@ -960,7 +970,7 @@ public partial class arrival { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1072,7 +1082,312 @@ public partial class arrivaloperator { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(TypeName="crew-type")] +public partial class crewtype { + + private yorntype notificationSchengenField; + + private yorntype notificationPAXField; + + private crewtypeCrewMember[] crewMemberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public yorntype NotificationSchengen { + get { + return this.notificationSchengenField; + } + set { + this.notificationSchengenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public yorntype NotificationPAX { + get { + return this.notificationPAXField; + } + set { + this.notificationPAXField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("CrewMember", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public crewtypeCrewMember[] CrewMember { + get { + return this.crewMemberField; + } + set { + this.crewMemberField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(TypeName="yorn-type")] +public enum yorntype { + + /// + Y, + + /// + N, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class crewtypeCrewMember { + + private string firstNameField; + + private string lastNameField; + + private string placeOfBirthField; + + private string countryOfBirthField; + + private System.DateTime dateOfBirthField; + + private gendertype genderField; + + private string nationalityField; + + private string dutyOnBoardField; + + private crewtypeCrewMemberDetailsSchengen detailsSchengenField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string FirstName { + get { + return this.firstNameField; + } + set { + this.firstNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string LastName { + get { + return this.lastNameField; + } + set { + this.lastNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string PlaceOfBirth { + get { + return this.placeOfBirthField; + } + set { + this.placeOfBirthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string CountryOfBirth { + get { + return this.countryOfBirthField; + } + set { + this.countryOfBirthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="date")] + public System.DateTime DateOfBirth { + get { + return this.dateOfBirthField; + } + set { + this.dateOfBirthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public gendertype Gender { + get { + return this.genderField; + } + set { + this.genderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string Nationality { + get { + return this.nationalityField; + } + set { + this.nationalityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string DutyOnBoard { + get { + return this.dutyOnBoardField; + } + set { + this.dutyOnBoardField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public crewtypeCrewMemberDetailsSchengen DetailsSchengen { + get { + return this.detailsSchengenField; + } + set { + this.detailsSchengenField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(TypeName="gender-type")] +public enum gendertype { + + /// + MALE, + + /// + FEMALE, + + /// + OTHER, + + /// + NOT_APPLICABLE, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class crewtypeCrewMemberDetailsSchengen { + + private documenttype identityDocumentTypeField; + + private string identityDocumentIdField; + + private string identityDocumentIssuingStateField; + + private System.DateTime identityDocumentExpiryDateField; + + private string visaNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public documenttype IdentityDocumentType { + get { + return this.identityDocumentTypeField; + } + set { + this.identityDocumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string IdentityDocumentId { + get { + return this.identityDocumentIdField; + } + set { + this.identityDocumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string IdentityDocumentIssuingState { + get { + return this.identityDocumentIssuingStateField; + } + set { + this.identityDocumentIssuingStateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="date")] + public System.DateTime IdentityDocumentExpiryDate { + get { + return this.identityDocumentExpiryDateField; + } + set { + this.identityDocumentExpiryDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string VisaNumber { + get { + return this.visaNumberField; + } + set { + this.visaNumberField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(TypeName="document-type")] +public enum documenttype { + + /// + IDENTITY_CARD, + + /// + PASSPORT, + + /// + MUSTER_BOOK, + + /// + PICTURE_ID, + + /// + RESIDENTAL_PERMIT, + + /// + OTHER_LEGAL_IDENTITY_DOCUMENT, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1093,7 +1408,7 @@ public partial class crew { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1121,8 +1436,6 @@ public partial class crewmember { private System.DateTime crewmemberIdentityDocumentExpiryDateField; - private bool crewmemberIdentityDocumentExpiryDateFieldSpecified; - private string crewMemberVisaNumberField; private string crewMemberDutyField; @@ -1248,17 +1561,6 @@ public partial class crewmember { } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool CrewmemberIdentityDocumentExpiryDateSpecified { - get { - return this.crewmemberIdentityDocumentExpiryDateFieldSpecified; - } - set { - this.crewmemberIdentityDocumentExpiryDateFieldSpecified = value; - } - } - /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string CrewMemberVisaNumber { @@ -1283,48 +1585,329 @@ public partial class crewmember { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] -[System.Xml.Serialization.XmlTypeAttribute(TypeName="gender-type")] -public enum gendertype { +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(TypeName="pas-type")] +public partial class pastype { + + private yorntype notificationSchengenField; + + private yorntype notificationPAXField; + + private pastypePassenger[] passengerField; /// - MALE, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public yorntype NotificationSchengen { + get { + return this.notificationSchengenField; + } + set { + this.notificationSchengenField = value; + } + } /// - FEMALE, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public yorntype NotificationPAX { + get { + return this.notificationPAXField; + } + set { + this.notificationPAXField = value; + } + } /// - OTHER, + [System.Xml.Serialization.XmlElementAttribute("Passenger", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public pastypePassenger[] Passenger { + get { + return this.passengerField; + } + set { + this.passengerField = value; + } + } } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] -[System.Xml.Serialization.XmlTypeAttribute(TypeName="document-type")] -public enum documenttype { +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class pastypePassenger { + + private string firstNameField; + + private string lastNameField; + + private string placeOfBirthField; + + private string countryOfBirthField; + + private System.DateTime dateOfBirthField; + + private gendertype genderField; + + private string nationalityField; + + private pastypePassengerDetailsSchengen detailsSchengenField; + + private pastypePassengerDetailsPAX detailsPAXField; /// - IDENTITY_CARD, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string FirstName { + get { + return this.firstNameField; + } + set { + this.firstNameField = value; + } + } /// - PASSPORT, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string LastName { + get { + return this.lastNameField; + } + set { + this.lastNameField = value; + } + } /// - MUSTER_BOOK, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string PlaceOfBirth { + get { + return this.placeOfBirthField; + } + set { + this.placeOfBirthField = value; + } + } /// - PICTURE_ID, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string CountryOfBirth { + get { + return this.countryOfBirthField; + } + set { + this.countryOfBirthField = value; + } + } /// - RESIDENTAL_PERMIT, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="date")] + public System.DateTime DateOfBirth { + get { + return this.dateOfBirthField; + } + set { + this.dateOfBirthField = value; + } + } /// - OTHER_LEGAL_IDENTITY_DOCUMENT, + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public gendertype Gender { + get { + return this.genderField; + } + set { + this.genderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string Nationality { + get { + return this.nationalityField; + } + set { + this.nationalityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public pastypePassengerDetailsSchengen DetailsSchengen { + get { + return this.detailsSchengenField; + } + set { + this.detailsSchengenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public pastypePassengerDetailsPAX DetailsPAX { + get { + return this.detailsPAXField; + } + set { + this.detailsPAXField = value; + } + } } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class pastypePassengerDetailsSchengen { + + private documenttype identityDocumentTypeField; + + private string identityDocumentIdField; + + private string identityDocumentIssuingStateField; + + private System.DateTime identityDocumentExpiryDateField; + + private string visaNumberField; + + private string portOfEmbarkationField; + + private string portOfDisembarkationField; + + private yorntype inTransitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public documenttype IdentityDocumentType { + get { + return this.identityDocumentTypeField; + } + set { + this.identityDocumentTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string IdentityDocumentId { + get { + return this.identityDocumentIdField; + } + set { + this.identityDocumentIdField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string IdentityDocumentIssuingState { + get { + return this.identityDocumentIssuingStateField; + } + set { + this.identityDocumentIssuingStateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="date")] + public System.DateTime IdentityDocumentExpiryDate { + get { + return this.identityDocumentExpiryDateField; + } + set { + this.identityDocumentExpiryDateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string VisaNumber { + get { + return this.visaNumberField; + } + set { + this.visaNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string PortOfEmbarkation { + get { + return this.portOfEmbarkationField; + } + set { + this.portOfEmbarkationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string PortOfDisembarkation { + get { + return this.portOfDisembarkationField; + } + set { + this.portOfDisembarkationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public yorntype InTransit { + get { + return this.inTransitField; + } + set { + this.inTransitField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class pastypePassengerDetailsPAX { + + private string emergencyCareField; + + private string emergencyContactNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string EmergencyCare { + get { + return this.emergencyCareField; + } + set { + this.emergencyCareField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string EmergencyContactNumber { + get { + return this.emergencyContactNumberField; + } + set { + this.emergencyContactNumberField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1345,7 +1928,7 @@ public partial class pas { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1561,20 +2144,7 @@ public partial class passenger { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] -[System.SerializableAttribute()] -[System.Xml.Serialization.XmlTypeAttribute(TypeName="yorn-type")] -public enum yorntype { - - /// - Y, - - /// - N, -} - -/// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1608,7 +2178,7 @@ public partial class portofitinery { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1642,29 +2212,243 @@ public partial class bpol { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +public partial class was_rcpt { + + private was_rcptWasteDeliveryReceipt[] itemsField; + + /// + [System.Xml.Serialization.XmlElementAttribute("WasteDeliveryReceipt", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public was_rcptWasteDeliveryReceipt[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class was_rcptWasteDeliveryReceipt { + + private string identificationNumberField; + + private string portReceptionFacilityNameField; + + private string portReceptionFacilityProviderNameField; + + private string[] treatmentFacilityProviderField; + + private was_rcptWasteDeliveryReceiptWasteDeliveryPeriod wasteDeliveryPeriodField; + + private was_rcptWasteDeliveryReceiptWasteReceived[] wasteReceivedField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string IdentificationNumber { + get { + return this.identificationNumberField; + } + set { + this.identificationNumberField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string PortReceptionFacilityName { + get { + return this.portReceptionFacilityNameField; + } + set { + this.portReceptionFacilityNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string PortReceptionFacilityProviderName { + get { + return this.portReceptionFacilityProviderNameField; + } + set { + this.portReceptionFacilityProviderNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlArrayItemAttribute("TreatmentFacilityProviderName", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] + public string[] TreatmentFacilityProvider { + get { + return this.treatmentFacilityProviderField; + } + set { + this.treatmentFacilityProviderField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public was_rcptWasteDeliveryReceiptWasteDeliveryPeriod WasteDeliveryPeriod { + get { + return this.wasteDeliveryPeriodField; + } + set { + this.wasteDeliveryPeriodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("WasteReceived", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public was_rcptWasteDeliveryReceiptWasteReceived[] WasteReceived { + get { + return this.wasteReceivedField; + } + set { + this.wasteReceivedField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class was_rcptWasteDeliveryReceiptWasteDeliveryPeriod { + + private System.DateTime wasteDeliveryDateFromField; + + private System.DateTime wasteDeliveryDateToField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public System.DateTime WasteDeliveryDateFrom { + get { + return this.wasteDeliveryDateFromField; + } + set { + this.wasteDeliveryDateFromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public System.DateTime WasteDeliveryDateTo { + get { + return this.wasteDeliveryDateToField; + } + set { + this.wasteDeliveryDateToField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class was_rcptWasteDeliveryReceiptWasteReceived { + + private was_rcptWasteDeliveryReceiptWasteReceivedWasteType wasteTypeField; + + private decimal amountWasteReceived_MTQField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public was_rcptWasteDeliveryReceiptWasteReceivedWasteType WasteType { + get { + return this.wasteTypeField; + } + set { + this.wasteTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public decimal AmountWasteReceived_MTQ { + get { + return this.amountWasteReceived_MTQField; + } + set { + this.amountWasteReceived_MTQField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class was_rcptWasteDeliveryReceiptWasteReceivedWasteType { + + private string wasteCodeField; + + private string wasteDescriptionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string WasteCode { + get { + return this.wasteCodeField; + } + set { + this.wasteCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string WasteDescription { + get { + return this.wasteDescriptionField; + } + set { + this.wasteDescriptionField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class wastedetails { - private float wasteCapacity_MTQField; + private decimal wasteCapacity_MTQField; private bool wasteCapacity_MTQFieldSpecified; - private float wasteAmountRetained_MTQField; + private decimal wasteAmountRetained_MTQField; private bool wasteAmountRetained_MTQFieldSpecified; private string wasteDisposalPortField; - private float wasteAmountGeneratedTillNextPort_MTQField; + private decimal wasteAmountGeneratedTillNextPort_MTQField; private bool wasteAmountGeneratedTillNextPort_MTQFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float WasteCapacity_MTQ { + public decimal WasteCapacity_MTQ { get { return this.wasteCapacity_MTQField; } @@ -1686,7 +2470,7 @@ public partial class wastedetails { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float WasteAmountRetained_MTQ { + public decimal WasteAmountRetained_MTQ { get { return this.wasteAmountRetained_MTQField; } @@ -1719,7 +2503,7 @@ public partial class wastedetails { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float WasteAmountGeneratedTillNextPort_MTQ { + public decimal WasteAmountGeneratedTillNextPort_MTQ { get { return this.wasteAmountGeneratedTillNextPort_MTQField; } @@ -1741,7 +2525,7 @@ public partial class wastedetails { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1775,7 +2559,7 @@ public partial class wastetyp { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1783,9 +2567,7 @@ public partial class waste { private wastetyp wasteTypeField; - private float wasteDisposalAmount_MTQField; - - private float wasteDisposedAtLastPort_MTQField; + private decimal wasteDisposalAmount_MTQField; private wastedetails wasteDetailsField; @@ -1802,7 +2584,7 @@ public partial class waste { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float WasteDisposalAmount_MTQ { + public decimal WasteDisposalAmount_MTQ { get { return this.wasteDisposalAmount_MTQField; } @@ -1811,17 +2593,6 @@ public partial class waste { } } - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float WasteDisposedAtLastPort_MTQ { - get { - return this.wasteDisposedAtLastPort_MTQField; - } - set { - this.wasteDisposedAtLastPort_MTQField = value; - } - } - /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public wastedetails WasteDetails { @@ -1835,7 +2606,7 @@ public partial class waste { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1849,8 +2620,8 @@ public partial class was { [System.Xml.Serialization.XmlElementAttribute("ConfirmationOfCorrectnessAndSufficiency", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalDate", typeof(System.DateTime), Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="date")] [System.Xml.Serialization.XmlElementAttribute("LastWasteDisposalPort", typeof(string), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.Xml.Serialization.XmlElementAttribute("NextWasteDisposalPort", typeof(string), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("Waste", typeof(waste), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - [System.Xml.Serialization.XmlElementAttribute("WasteDisposalDelivery", typeof(wastedeliverytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("WasteDisposalServiceProviderName", typeof(string), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlElementAttribute("WasteDisposalValidExemption", typeof(ytype), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] @@ -1877,7 +2648,7 @@ public partial class was { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="y-type")] public enum ytype { @@ -1887,23 +2658,7 @@ public enum ytype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] -[System.SerializableAttribute()] -[System.Xml.Serialization.XmlTypeAttribute(TypeName="wastedelivery-type")] -public enum wastedeliverytype { - - /// - ALL, - - /// - SOME, - - /// - NONE, -} - -/// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType6 { @@ -1918,10 +2673,10 @@ public enum ItemsChoiceType6 { LastWasteDisposalPort, /// - Waste, + NextWasteDisposalPort, /// - WasteDisposalDelivery, + Waste, /// WasteDisposalServiceProviderName, @@ -1931,7 +2686,7 @@ public enum ItemsChoiceType6 { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -1952,7 +2707,7 @@ public partial class portofcalls { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2013,7 +2768,7 @@ public partial class portofcallmdh { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2047,7 +2802,7 @@ public partial class infectedarea { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2081,7 +2836,7 @@ public partial class sanitarycertificate { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2128,7 +2883,7 @@ public partial class sanitarydetail { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2184,7 +2939,7 @@ public partial class mdh { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType5 { @@ -2254,7 +3009,7 @@ public enum ItemsChoiceType5 { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2292,7 +3047,7 @@ public partial class location { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2326,7 +3081,7 @@ public partial class coordinates { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType3 { @@ -2342,7 +3097,7 @@ public enum ItemsChoiceType3 { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2415,7 +3170,7 @@ public partial class lastactivity { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] public enum lastactivityShipToShipActivityType { @@ -2518,7 +3273,7 @@ public enum lastactivityShipToShipActivityType { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2643,7 +3398,7 @@ public partial class last10port { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="posint1-3-type")] public enum posint13type { @@ -2662,7 +3417,7 @@ public enum posint13type { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2735,7 +3490,7 @@ public partial class KielCanalPassage { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2814,7 +3569,7 @@ public partial class sec { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="cargodescription-type")] public enum cargodescriptiontype { @@ -2839,7 +3594,7 @@ public enum cargodescriptiontype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="isscissuer-type")] public enum isscissuertype { @@ -2852,7 +3607,7 @@ public enum isscissuertype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="issc-type")] public enum issctype { @@ -2865,7 +3620,7 @@ public enum issctype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType4 { @@ -2926,7 +3681,7 @@ public enum ItemsChoiceType4 { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -2938,7 +3693,7 @@ public partial class tankerdetails { private string typeOfCargoField; - private float volumeOfCargo_TNEField; + private decimal volumeOfCargo_TNEField; private bool volumeOfCargo_TNEFieldSpecified; @@ -2977,7 +3732,7 @@ public partial class tankerdetails { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float VolumeOfCargo_TNE { + public decimal VolumeOfCargo_TNE { get { return this.volumeOfCargo_TNEField; } @@ -2999,7 +3754,7 @@ public partial class tankerdetails { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="hullconfig-type")] public enum hullconfigtype { @@ -3015,7 +3770,7 @@ public enum hullconfigtype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="cargocondition-type")] public enum cargoconditiontype { @@ -3031,7 +3786,7 @@ public enum cargoconditiontype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3049,7 +3804,7 @@ public partial class pre72 { private bool dateOfLastExpandedInspectionFieldSpecified; - private float plannedPeriodOfStay_HURField; + private decimal plannedPeriodOfStay_HURField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] @@ -3119,7 +3874,7 @@ public partial class pre72 { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float PlannedPeriodOfStay_HUR { + public decimal PlannedPeriodOfStay_HUR { get { return this.plannedPeriodOfStay_HURField; } @@ -3130,7 +3885,7 @@ public partial class pre72 { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3151,7 +3906,7 @@ public partial class serv { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3198,7 +3953,7 @@ public partial class service { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3219,7 +3974,7 @@ public partial class generalcargo { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3235,7 +3990,7 @@ public partial class loadunit { private string cargoNumberOfItemsField; - private float cargoGrossQuantity_TNEField; + private decimal cargoGrossQuantity_TNEField; private string cargoPortOfLoadingField; @@ -3298,7 +4053,7 @@ public partial class loadunit { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float CargoGrossQuantity_TNE { + public decimal CargoGrossQuantity_TNE { get { return this.cargoGrossQuantity_TNEField; } @@ -3331,7 +4086,7 @@ public partial class loadunit { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="handlingcode-type")] public enum handlingcodetype { @@ -3344,7 +4099,7 @@ public enum handlingcodetype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3384,7 +4139,7 @@ public partial class hazd { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3409,7 +4164,7 @@ public partial class dglist { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3428,7 +4183,7 @@ public partial class positionibc { private string flashpoint_CELField; - private float quantity_KGMField; + private decimal quantity_KGMField; private string stowagePositionField; @@ -3510,7 +4265,7 @@ public partial class positionibc { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float Quantity_KGM { + public decimal Quantity_KGM { get { return this.quantity_KGMField; } @@ -3587,7 +4342,7 @@ public partial class positionibc { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="polcat-type")] public enum polcattype { @@ -3606,7 +4361,7 @@ public enum polcattype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="hazard-type")] public enum hazardtype { @@ -3623,7 +4378,7 @@ public enum hazardtype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="flashpointinfo-type")] public enum flashpointinfotype { @@ -3639,7 +4394,7 @@ public enum flashpointinfotype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3652,7 +4407,7 @@ public partial class positionigc { private string productNameField; - private float quantity_KGMField; + private decimal quantity_KGMField; private string stowagePositionField; @@ -3697,7 +4452,7 @@ public partial class positionigc { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float Quantity_KGM { + public decimal Quantity_KGM { get { return this.quantity_KGMField; } @@ -3752,7 +4507,7 @@ public partial class positionigc { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -3771,7 +4526,7 @@ public partial class positionimdg { private string technicalNameField; - private float netExplosiveMass_KGMField; + private decimal netExplosiveMass_KGMField; private bool netExplosiveMass_KGMFieldSpecified; @@ -3779,9 +4534,7 @@ public partial class positionimdg { private string class7NuclideNameField; - private float class7MaxActivity_BQLField; - - private bool class7MaxActivity_BQLFieldSpecified; + private positionimdgClass7MaxActivity_BQL class7MaxActivity_BQLField; private class7cattype class7CategoryField; @@ -3795,11 +4548,11 @@ public partial class positionimdg { private bool class7CSIFieldSpecified; - private float controlTemperature_CELField; + private decimal controlTemperature_CELField; private bool controlTemperature_CELFieldSpecified; - private float emergencyTemperature_CELField; + private decimal emergencyTemperature_CELField; private bool emergencyTemperature_CELFieldSpecified; @@ -3815,15 +4568,15 @@ public partial class positionimdg { private yorntype exceptedQuantitiesField; - private float netQuantity_KGMField; + private decimal netQuantity_KGMField; private bool netQuantity_KGMFieldSpecified; - private float grossQuantity_KGMField; + private decimal grossQuantity_KGMField; private bool grossQuantity_KGMFieldSpecified; - private float volume_MTQField; + private decimal volume_MTQField; private bool volume_MTQFieldSpecified; @@ -3911,7 +4664,7 @@ public partial class positionimdg { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float NetExplosiveMass_KGM { + public decimal NetExplosiveMass_KGM { get { return this.netExplosiveMass_KGMField; } @@ -3955,7 +4708,7 @@ public partial class positionimdg { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float Class7MaxActivity_BQL { + public positionimdgClass7MaxActivity_BQL Class7MaxActivity_BQL { get { return this.class7MaxActivity_BQLField; } @@ -3964,17 +4717,6 @@ public partial class positionimdg { } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool Class7MaxActivity_BQLSpecified { - get { - return this.class7MaxActivity_BQLFieldSpecified; - } - set { - this.class7MaxActivity_BQLFieldSpecified = value; - } - } - /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public class7cattype Class7Category { @@ -4043,7 +4785,7 @@ public partial class positionimdg { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float ControlTemperature_CEL { + public decimal ControlTemperature_CEL { get { return this.controlTemperature_CELField; } @@ -4065,7 +4807,7 @@ public partial class positionimdg { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float EmergencyTemperature_CEL { + public decimal EmergencyTemperature_CEL { get { return this.emergencyTemperature_CELField; } @@ -4154,7 +4896,7 @@ public partial class positionimdg { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float NetQuantity_KGM { + public decimal NetQuantity_KGM { get { return this.netQuantity_KGMField; } @@ -4176,7 +4918,7 @@ public partial class positionimdg { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float GrossQuantity_KGM { + public decimal GrossQuantity_KGM { get { return this.grossQuantity_KGMField; } @@ -4198,7 +4940,7 @@ public partial class positionimdg { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float Volume_MTQ { + public decimal Volume_MTQ { get { return this.volume_MTQField; } @@ -4309,7 +5051,7 @@ public partial class positionimdg { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="packinggroup-type")] public enum packinggrouptype { @@ -4325,7 +5067,58 @@ public enum packinggrouptype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Diagnostics.DebuggerStepThroughAttribute()] +[System.ComponentModel.DesignerCategoryAttribute("code")] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public partial class positionimdgClass7MaxActivity_BQL { + + private decimal maxActivity_ValueField; + + private positionimdgClass7MaxActivity_BQLMaxActivity_Unit maxActivity_UnitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public decimal MaxActivity_Value { + get { + return this.maxActivity_ValueField; + } + set { + this.maxActivity_ValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public positionimdgClass7MaxActivity_BQLMaxActivity_Unit MaxActivity_Unit { + get { + return this.maxActivity_UnitField; + } + set { + this.maxActivity_UnitField = value; + } + } +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] +[System.SerializableAttribute()] +[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] +public enum positionimdgClass7MaxActivity_BQLMaxActivity_Unit { + + /// + BQL, + + /// + MBQ, + + /// + TBQ, +} + +/// +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="class7cat-type")] public enum class7cattype { @@ -4344,7 +5137,7 @@ public enum class7cattype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4391,7 +5184,7 @@ public partial class stowagepositionbayrowtier { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4410,7 +5203,7 @@ public partial class positionimsbc { private string iMOClassField; - private float quantity_KGMField; + private decimal quantity_KGMField; private string stowagePositionField; @@ -4488,7 +5281,7 @@ public partial class positionimsbc { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float Quantity_KGM { + public decimal Quantity_KGM { get { return this.quantity_KGMField; } @@ -4543,7 +5336,7 @@ public partial class positionimsbc { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] public enum positionimsbcIMOHazardClass { @@ -4560,7 +5353,7 @@ public enum positionimsbcIMOHazardClass { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4573,7 +5366,7 @@ public partial class positionmarpol { private string flashpoint_CELField; - private float quantity_KGMField; + private decimal quantity_KGMField; private string stowagePositionField; @@ -4618,7 +5411,7 @@ public partial class positionmarpol { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float Quantity_KGM { + public decimal Quantity_KGM { get { return this.quantity_KGMField; } @@ -4673,7 +5466,7 @@ public partial class positionmarpol { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="infclass-type")] public enum infclasstype { @@ -4689,7 +5482,7 @@ public enum infclasstype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType2 { @@ -4711,7 +5504,7 @@ public enum ItemsChoiceType2 { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4751,7 +5544,7 @@ public partial class haza { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum ItemsChoiceType1 { @@ -4773,7 +5566,7 @@ public enum ItemsChoiceType1 { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4794,7 +5587,7 @@ public partial class bkrd { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4802,7 +5595,7 @@ public partial class bunkerfuel { private string bunkerFuelTypeField; - private float bunkerFuelQuantity_TNEField; + private decimal bunkerFuelQuantity_TNEField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] @@ -4817,7 +5610,7 @@ public partial class bunkerfuel { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float BunkerFuelQuantity_TNE { + public decimal BunkerFuelQuantity_TNE { get { return this.bunkerFuelQuantity_TNEField; } @@ -4828,7 +5621,7 @@ public partial class bunkerfuel { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4849,7 +5642,7 @@ public partial class bkra { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -4871,7 +5664,7 @@ public partial class info { private yorntype fumigatedBulkCargoField; - private float deadWeightSummer_TNEField; + private decimal deadWeightSummer_TNEField; private bool deadWeightSummer_TNEFieldSpecified; @@ -4965,7 +5758,7 @@ public partial class info { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float DeadWeightSummer_TNE { + public decimal DeadWeightSummer_TNE { get { return this.deadWeightSummer_TNEField; } @@ -4987,7 +5780,7 @@ public partial class info { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(TypeName="shippingarea-type")] public enum shippingareatype { @@ -5003,7 +5796,7 @@ public enum shippingareatype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5063,7 +5856,7 @@ public partial class pobd { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5123,7 +5916,7 @@ public partial class poba { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5157,7 +5950,7 @@ public partial class callpurpose { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5283,7 +6076,7 @@ public partial class noanod { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5369,7 +6162,7 @@ public partial class ismcompany { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5384,11 +6177,11 @@ public partial class vesseltype { private string flagField; - private float lengthOverall_MTRField; + private decimal lengthOverall_MTRField; - private float beam_MTRField; + private decimal beam_MTRField; - private string grossTonnageField; + private int grossTonnageField; private string portOfRegistryField; @@ -5446,7 +6239,7 @@ public partial class vesseltype { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float LengthOverall_MTR { + public decimal LengthOverall_MTR { get { return this.lengthOverall_MTRField; } @@ -5457,7 +6250,7 @@ public partial class vesseltype { /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public float Beam_MTR { + public decimal Beam_MTR { get { return this.beam_MTRField; } @@ -5467,8 +6260,8 @@ public partial class vesseltype { } /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="integer")] - public string GrossTonnage { + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public int GrossTonnage { get { return this.grossTonnageField; } @@ -5534,7 +6327,7 @@ public partial class vesseltype { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5556,7 +6349,7 @@ public partial class vesseltypeInmarsatCallNumbers { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -5629,7 +6422,7 @@ public partial class contacts { } /// -[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] +[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.312")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)] public enum Items1ChoiceType { @@ -5655,6 +6448,12 @@ public enum Items1ChoiceType { /// CREW, + /// + CREWA, + + /// + CREWD, + /// HAZA, @@ -5679,6 +6478,12 @@ public enum Items1ChoiceType { /// PAS, + /// + PASA, + + /// + PASD, + /// POBA, @@ -5709,6 +6514,12 @@ public enum Items1ChoiceType { /// RESET_CREW, + /// + RESET_CREWA, + + /// + RESET_CREWD, + /// RESET_HAZA, @@ -5733,6 +6544,12 @@ public enum Items1ChoiceType { /// RESET_PAS, + /// + RESET_PASA, + + /// + RESET_PASD, + /// RESET_POBA, @@ -5766,6 +6583,9 @@ public enum Items1ChoiceType { /// RESET_WAS, + /// + RESET_WAS_RCPT, + /// SEC, @@ -5792,4 +6612,7 @@ public enum Items1ChoiceType { /// WAS, + + /// + WAS_RCPT, }