diff --git a/bsmd.dbh/RequestUtil.cs b/bsmd.dbh/RequestUtil.cs index 9ab4bf39..fdcf9212 100644 --- a/bsmd.dbh/RequestUtil.cs +++ b/bsmd.dbh/RequestUtil.cs @@ -300,9 +300,15 @@ namespace bsmd.dbh rootSEC.KielCanalPassage = new RootSECKielCanalPassage(); rootSEC.KielCanalPassage.KielCanalPassagePlanned = "Y"; if (sec.KielCanalPassagePlannedIncomming.HasValue) + { rootSEC.KielCanalPassage.KielCanalPassagePlannedIncoming = sec.KielCanalPassagePlannedIncomming.Value; + rootSEC.KielCanalPassage.KielCanalPassagePlannedIncomingSpecified = true; + } if (sec.KielCanalPassagePlannedOutgoing.HasValue) + { rootSEC.KielCanalPassage.KielCanalPassagePlannedOutgoing = sec.KielCanalPassagePlannedOutgoing.Value; + rootSEC.KielCanalPassage.KielCanalPassagePlannedOutgoingSpecified = true; + } } rootSEC.CurrentShipSecurityLevel = (int)sec.CurrentShipSecurityLevel.Value;