Remove DEWHV as a valid code for declaration classes, but leave it for initial application
This commit is contained in:
parent
c26c19d401
commit
40908e1bb3
@ -57,7 +57,7 @@ namespace ENI2.EditControls
|
|||||||
isComplete &= imo_OR_eni;
|
isComplete &= imo_OR_eni;
|
||||||
|
|
||||||
string locode = this.locodePoC.LocodeValue;
|
string locode = this.locodePoC.LocodeValue;
|
||||||
bool validLocode = (locode?.Length == 5) && (locode.StartsWith("DE") || locode.StartsWith("DK") || locode.Equals("ZZNOK"));
|
bool validLocode = (locode?.Length == 5) && (locode.StartsWith("DE") || locode.StartsWith("DK") || locode.Equals("ZZNOK") || locode.Equals("DEWHV"));
|
||||||
|
|
||||||
isComplete &= validLocode;
|
isComplete &= validLocode;
|
||||||
|
|
||||||
|
|||||||
@ -133,7 +133,7 @@ namespace ENI2.EditControls
|
|||||||
isComplete &= imo_OR_eni;
|
isComplete &= imo_OR_eni;
|
||||||
|
|
||||||
string locode = this.locodePoC.LocodeValue;
|
string locode = this.locodePoC.LocodeValue;
|
||||||
bool validLocode = (locode != null) && (locode.Length == 5) && (locode.StartsWith("DE") || locode.StartsWith("DK") || locode.Equals("ZZNOK"));
|
bool validLocode = (locode != null) && (locode.Length == 5) && (locode.StartsWith("DE") || locode.StartsWith("DK") || locode.Equals("ZZNOK") || locode.Equals("DEWHV"));
|
||||||
|
|
||||||
isComplete &= validLocode;
|
isComplete &= validLocode;
|
||||||
|
|
||||||
|
|||||||
@ -1898,8 +1898,6 @@ namespace ENI2.Excel
|
|||||||
string tLen = string.Format("TOWD.TowageOnDepartureLengthOverall_MTR_{0}", i);
|
string tLen = string.Format("TOWD.TowageOnDepartureLengthOverall_MTR_{0}", i);
|
||||||
string tBeam = string.Format("TOWD.TowageOnDepartureBeam_MTR_{0}", i);
|
string tBeam = string.Format("TOWD.TowageOnDepartureBeam_MTR_{0}", i);
|
||||||
string tOp = string.Format("TOWD.TowageOnDepartureOperatorCompanyName_{0}", i);
|
string tOp = string.Format("TOWD.TowageOnDepartureOperatorCompanyName_{0}", i);
|
||||||
string tPoc = string.Format("TOWD.TowageOnArrivalPurposeOfCall_{0}", i);
|
|
||||||
string tgt = string.Format("TOWD.TowageOnArrivalGrossTonnage_{0}", i);
|
|
||||||
|
|
||||||
string towageName = reader.ReadText(tName);
|
string towageName = reader.ReadText(tName);
|
||||||
if (towageName.IsNullOrEmpty()) continue;
|
if (towageName.IsNullOrEmpty()) continue;
|
||||||
|
|||||||
BIN
misc/db.sqlite
BIN
misc/db.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user