处理航班延误事件,更新航班运营状态。
This commit is contained in:
@@ -7,6 +7,7 @@ import com.gzzn.omms.msgexchangeapi.entity.msg.ABNDATA;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.ABNORMALTYPE;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.DELAYDATA;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.FLOP;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.FTSSTYPE;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.OPTDELAYDATA;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.SCHD;
|
||||
import com.gzzn.omms.msgexchangeapi.msghandler.flop.base.FlopBaseHandler;
|
||||
@@ -32,9 +33,14 @@ public class DELYHandler extends FlopBaseHandler {
|
||||
{
|
||||
//清空航班异常信息中的延误信息
|
||||
fltr = clearDelyInfo(fltr);
|
||||
fltr.setFTSS(FTSSTYPE.RCFLOP.name());
|
||||
return fltr;
|
||||
}
|
||||
|
||||
|
||||
//航班运营状态
|
||||
fltr.setFTSS(FTSSTYPE.DLY.name());
|
||||
|
||||
//更新延误信息
|
||||
for (OPTDELAYDATA optdelaydata : flop.getDELY() ) {
|
||||
DELAYDATA delaydata = new DELAYDATA();
|
||||
|
||||
Reference in New Issue
Block a user