default for planned works/operations as n
This commit is contained in:
parent
d36d625681
commit
8e0fdfa4ff
@ -636,6 +636,8 @@ namespace ENI2.Excel
|
|||||||
pre72h.PlannedWorks = reader.ReadCellAsText("port state control", "C15");
|
pre72h.PlannedWorks = reader.ReadCellAsText("port state control", "C15");
|
||||||
pre72h.DateOfLastExpandedInspection = reader.ReadCellAsDateTime("port state control", "C16");
|
pre72h.DateOfLastExpandedInspection = reader.ReadCellAsDateTime("port state control", "C16");
|
||||||
pre72h.PlannedPeriodOfStay_HUR = reader.ReadCellAsDecimal("port state control", "C17");
|
pre72h.PlannedPeriodOfStay_HUR = reader.ReadCellAsDecimal("port state control", "C17");
|
||||||
|
if (pre72h.PlannedOperations.IsNullOrEmpty()) pre72h.PlannedOperations = "n";
|
||||||
|
if (pre72h.PlannedWorks.IsNullOrEmpty()) pre72h.PlannedWorks = "n";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1880,6 +1880,8 @@ namespace ENI2.Excel
|
|||||||
pre72h.ConditionCargoBallastTanks = reader.ReadConditionTanks("PRE72H.ConditionCargoBallastTanks");
|
pre72h.ConditionCargoBallastTanks = reader.ReadConditionTanks("PRE72H.ConditionCargoBallastTanks");
|
||||||
pre72h.TankerHullConfiguration = reader.ReadHullConfiguration("PRE72H.TankerHullConfiguration");
|
pre72h.TankerHullConfiguration = reader.ReadHullConfiguration("PRE72H.TankerHullConfiguration");
|
||||||
pre72h.PlannedWorks = reader.ReadText("PRE72H.PlannedWorks");
|
pre72h.PlannedWorks = reader.ReadText("PRE72H.PlannedWorks");
|
||||||
|
if (pre72h.PlannedOperations.IsNullOrEmpty()) pre72h.PlannedOperations = "n";
|
||||||
|
if (pre72h.PlannedWorks.IsNullOrEmpty()) pre72h.PlannedWorks = "n";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user