新增保存原飞机号信息。LRENO
This commit is contained in:
@@ -365,6 +365,11 @@ public class SCHD
|
||||
@JsonProperty("RENO")
|
||||
protected String reno;//Registration or tail number of flight 航班注册号或尾号
|
||||
|
||||
|
||||
@XmlElement(name = "LRENO")
|
||||
@JsonProperty("LRENO")
|
||||
protected String lreno;//Registration or tail number of flight 航班注册号或尾号,上一次的值
|
||||
|
||||
@XmlElement(name = "TAOP")
|
||||
@JsonProperty("TAOP")
|
||||
protected String taop;//Turnaround operator 承运人
|
||||
@@ -2046,6 +2051,14 @@ public class SCHD
|
||||
this.lpsdt = lpsdt;
|
||||
}
|
||||
|
||||
public String getLreno() {
|
||||
return lreno;
|
||||
}
|
||||
|
||||
public void setLreno(String lreno) {
|
||||
this.lreno = lreno;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -14,6 +14,10 @@ public class RENOHandler extends FlopBaseHandler {
|
||||
@Override
|
||||
protected SCHD.FLTR updateFltr(FLOP flop,SCHD.FLTR fltr)
|
||||
{
|
||||
//首次保存当前飞机号
|
||||
fltr.setLreno(fltr.getRENO());
|
||||
|
||||
//设置新值
|
||||
fltr.setRENO(flop.getRENO());
|
||||
return fltr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user