3.2.27: Korrekturen STOWAWAY / Berücks. STO in dashface / BPOL setzen aus POBA in ExcelReader

This commit is contained in:
Daniel Schick 2016-12-19 18:27:06 +00:00
parent f1bab1b3ca
commit 2440ddda39
5 changed files with 11 additions and 2 deletions

Binary file not shown.

View File

@ -255,6 +255,13 @@ namespace bsmd.ExcelReadService
BPOL bpol = bpolMessage.Elements[0] as BPOL; BPOL bpol = bpolMessage.Elements[0] as BPOL;
Util.ScanMessage(bpol, reader); Util.ScanMessage(bpol, reader);
// 19.12.16: Einschleicher-Feld von Klasse POBA übernehmen (anderes ist nicht im Sheet!)
Message pobaMessage = Util.GetMessageWithType(messages, messageCore, Message.NotificationClass.POBA);
if(pobaMessage.Elements.Count > 0)
{
POBA poba = pobaMessage.Elements[0] as POBA;
bpol.StowawaysOnBoard = (poba.TotalStowawaysOnBoardUponArrival ?? 0) > 0;
}
// PortOfItinerary // PortOfItinerary
for (int i = 1; i <= 10; i++) for (int i = 1; i <= 10; i++)

View File

@ -2,6 +2,6 @@
[assembly: AssemblyCompany("Informatikbüro Daniel Schick")] [assembly: AssemblyCompany("Informatikbüro Daniel Schick")]
[assembly: AssemblyProduct("BSMD NSW interface")] [assembly: AssemblyProduct("BSMD NSW interface")]
[assembly: AssemblyInformationalVersion("3.2.26")] [assembly: AssemblyInformationalVersion("3.2.27")]
[assembly: AssemblyCopyright("Copyright © 2014-2016 Informatikbüro Daniel Schick. All rights reserved.")] [assembly: AssemblyCopyright("Copyright © 2014-2016 Informatikbüro Daniel Schick. All rights reserved.")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]

View File

@ -1,4 +1,4 @@
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.2.26.*")] [assembly: AssemblyVersion("3.2.27.*")]

View File

@ -381,6 +381,8 @@ namespace bsmd.dbh
if (bpol.StowawaysOnBoard.HasValue) if (bpol.StowawaysOnBoard.HasValue)
rootBPOL.StowawayOnBoard = bpol.StowawaysOnBoard.Value ? rootBPOL.StowawayOnBoard = bpol.StowawaysOnBoard.Value ?
RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N; RootSECValidISSCOnBoard.Y : RootSECValidISSCOnBoard.N;
else
rootBPOL.StowawayOnBoard = RootSECValidISSCOnBoard.N;
item = rootBPOL; item = rootBPOL;
} }