Compare commits
2 Commits
973b0c267c
...
dfa5b1cf33
| Author | SHA1 | Date | |
|---|---|---|---|
| dfa5b1cf33 | |||
| a434b419ad |
@ -36,8 +36,8 @@
|
|||||||
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
||||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
<WebPage>publish.html</WebPage>
|
<WebPage>publish.html</WebPage>
|
||||||
<ApplicationRevision>4</ApplicationRevision>
|
<ApplicationRevision>5</ApplicationRevision>
|
||||||
<ApplicationVersion>7.2.10.4</ApplicationVersion>
|
<ApplicationVersion>7.2.10.5</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
|||||||
@ -1495,7 +1495,7 @@ namespace ENI2.Excel
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Leer/def. Zeilen entfernen
|
// Leer/def. Zeilen entfernen
|
||||||
if (!poc30d.PortOfCallLast30DaysDateOfDeparture.HasValue && (poc30d.PortOfCallLast30DaysLocode == null))
|
if (!poc30d.PortOfCallLast30DaysDateOfDeparture.HasValue && (poc30d.PortOfCallLast30DaysLocode.IsNullOrEmpty()))
|
||||||
mdh.PortOfCallLast30Days.Remove(poc30d);
|
mdh.PortOfCallLast30Days.Remove(poc30d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1610,6 +1610,9 @@ namespace ENI2.Excel
|
|||||||
}
|
}
|
||||||
|
|
||||||
SEC sec = secMessage.Elements[0] as SEC;
|
SEC sec = secMessage.Elements[0] as SEC;
|
||||||
|
|
||||||
|
((ISublistContainer)sec).DeleteElements();
|
||||||
|
|
||||||
ScanMessage(sec, reader);
|
ScanMessage(sec, reader);
|
||||||
|
|
||||||
reader.ReadBoolean("SEC.AreMatterToReport"); // das berücksichtigen wir derzeit nicht in der DB (implizit)
|
reader.ReadBoolean("SEC.AreMatterToReport"); // das berücksichtigen wir derzeit nicht in der DB (implizit)
|
||||||
@ -1660,6 +1663,8 @@ namespace ENI2.Excel
|
|||||||
if (!sec.KielCanalPassagePlannedIncomming.HasValue && !sec.KielCanalPassagePlannedOutgoing.HasValue)
|
if (!sec.KielCanalPassagePlannedIncomming.HasValue && !sec.KielCanalPassagePlannedOutgoing.HasValue)
|
||||||
sec.KielCanalPassagePlanned = false;
|
sec.KielCanalPassagePlanned = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
string sheetTitle = "1. VOYAGE";
|
string sheetTitle = "1. VOYAGE";
|
||||||
// 4.8.25: Changed this area to work like reading from a Dakosy Sheet (by values in rows, not cell names)
|
// 4.8.25: Changed this area to work like reading from a Dakosy Sheet (by values in rows, not cell names)
|
||||||
if (reader.HasWorksheetNamed(sheetTitle))
|
if (reader.HasWorksheetNamed(sheetTitle))
|
||||||
@ -1668,10 +1673,10 @@ namespace ENI2.Excel
|
|||||||
for (int i = 0; i < 10; i++)
|
for (int i = 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!(sec.GetPortFacilityWithIdentifier(i.ToString()) is LastTenPortFacilitiesCalled l10fc))
|
if (!(sec.GetPortFacilityWithIdentifier((i + 1).ToString()) is LastTenPortFacilitiesCalled l10fc))
|
||||||
{
|
{
|
||||||
l10fc = new LastTenPortFacilitiesCalled();
|
l10fc = new LastTenPortFacilitiesCalled();
|
||||||
l10fc.Identifier = i.ToString();
|
l10fc.Identifier = (i + 1).ToString();
|
||||||
l10fc.SEC = sec;
|
l10fc.SEC = sec;
|
||||||
sec.LastTenPortFacilitesCalled.Add(l10fc);
|
sec.LastTenPortFacilitesCalled.Add(l10fc);
|
||||||
}
|
}
|
||||||
@ -1711,10 +1716,10 @@ namespace ENI2.Excel
|
|||||||
for (int i = 0; i < 10; i++)
|
for (int i = 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!(sec.GetShipToShipWithIdentifier(i.ToString()) is ShipToShipActivitiesDuringLastTenPortFacilitiesCalled s2sActivity))
|
if (!(sec.GetShipToShipWithIdentifier((i + 1).ToString()) is ShipToShipActivitiesDuringLastTenPortFacilitiesCalled s2sActivity))
|
||||||
{
|
{
|
||||||
s2sActivity = new ShipToShipActivitiesDuringLastTenPortFacilitiesCalled();
|
s2sActivity = new ShipToShipActivitiesDuringLastTenPortFacilitiesCalled();
|
||||||
s2sActivity.Identifier = i.ToString();
|
s2sActivity.Identifier = (i + 1).ToString();
|
||||||
s2sActivity.SEC = sec;
|
s2sActivity.SEC = sec;
|
||||||
sec.ShipToShipActivitiesDuringLastTenPortFacilitiesCalled.Add(s2sActivity);
|
sec.ShipToShipActivitiesDuringLastTenPortFacilitiesCalled.Add(s2sActivity);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user