处理航班延误事件,更新航班运营状态。

This commit is contained in:
zhouxiunai
2019-01-15 16:10:36 +08:00
parent 22f10ef7a2
commit 007bb6a2c0
2 changed files with 29 additions and 0 deletions
@@ -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();