//infobjFlight.setFTYP(TOWFTYP);
//infobjFlight.setADID(ADID.B);
MSGOBJECTS msgobjects = new MSGOBJECTS();
MSGOBJECTS.INFOBJTOWINGDELAY delay = new INFOBJTOWINGDELAY();
delay.setDURN(towDelay.getDELAYCODE());
// format duration to 4-char, e.g. 0020
String dura = towDelay.getDELAYDURATION();
if (HpUfisUtils.isNotEmptyStr(dura)) {
dura = String.format("%1$04d", Integer.parseInt(dura));
}
delay.setDURA(dura);
delay.setREMA(towDelay.getDELAYREMARKS());
//msgobjects.setINFOBJFLIGHT(infobjFlight);
msgobjects.setINFOBJTOWINGDELAY(delay);
UfisMarshal ufisMarshal = new UfisMarshal(_ms, null, MSGIF + MSGIF_SUBSYS, null);
_returnXML = ufisMarshal.marshalFlightEvent(infobjgeneric, msgobjects);