POC SUDDENLY EMPTY BUG FIXED
Ein Bug wurde korrigiert bei dem Teile des Headers (Core) auf einmal leer waren. Auslöser in diesem Fall vermutlich ein (spezielles) Dakosy- Sheet, in dem diese Felder versteckt und leer sind.
This commit is contained in:
parent
0d052723b9
commit
2d255e2eef
@ -430,10 +430,14 @@ namespace ENI2.Excel
|
|||||||
STAT stat = statMessage.Elements[0] as STAT;
|
STAT stat = statMessage.Elements[0] as STAT;
|
||||||
stat.ShipName = reader.ReadCellAsText("ship", "C8");
|
stat.ShipName = reader.ReadCellAsText("ship", "C8");
|
||||||
stat.CallSign = reader.ReadCellAsText("ship", "C9");
|
stat.CallSign = reader.ReadCellAsText("ship", "C9");
|
||||||
core.IMO = reader.ReadCellAsText("ship", "C10");
|
|
||||||
core.ENI = reader.ReadCellAsText("ship", "C11");
|
// diese Felder werden bei der Id-Anlage gesetzt und sollten nicht mehr überschrieben
|
||||||
core.PoC = reader.ReadCellAsText("port message", "C8");
|
// werden können (jenseits mit Admin-Berechtigungen in der Overview)
|
||||||
DBManager.Instance.Save(core);
|
// core.IMO = reader.ReadCellAsText("ship", "C10");
|
||||||
|
// core.ENI = reader.ReadCellAsText("ship", "C11");
|
||||||
|
// core.PoC = reader.ReadCellAsText("port message", "C8");
|
||||||
|
// DBManager.Instance.Save(core);
|
||||||
|
|
||||||
stat.MMSINumber = reader.ReadCellAsText("ship", "C12");
|
stat.MMSINumber = reader.ReadCellAsText("ship", "C12");
|
||||||
stat.Flag = reader.ReadCellAsText("ship", "C13");
|
stat.Flag = reader.ReadCellAsText("ship", "C13");
|
||||||
stat.LengthOverall_MTR = reader.ReadCellAsDecimal("ship", "C14");
|
stat.LengthOverall_MTR = reader.ReadCellAsDecimal("ship", "C14");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user