完成整体航班动态消息处理框架
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ package com.gzzn.omms.msgexchangeapi.entity.msg;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
public class Meta {
|
||||
public class META {
|
||||
@JsonProperty("SNDR")
|
||||
private String sndr;
|
||||
|
||||
@@ -7,13 +7,13 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class Msg {
|
||||
|
||||
@JsonProperty("META")
|
||||
private Meta meta;
|
||||
private META meta;
|
||||
|
||||
public Meta getMeta() {
|
||||
public META getMeta() {
|
||||
return meta;
|
||||
}
|
||||
|
||||
public void setMeta(Meta meta) {
|
||||
public void setMeta(META meta) {
|
||||
this.meta = meta;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* Copyright 2018 bejson.com
|
||||
*/
|
||||
package com.gzzn.omms.msgexchangeapi.entity.msg.flop.acft;
|
||||
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.META;
|
||||
|
||||
/**
|
||||
* Auto-generated: 2018-12-04 13:55:4
|
||||
*
|
||||
* @author bejson.com (i@bejson.com)
|
||||
* @website http://www.bejson.com/java2pojo/
|
||||
*/
|
||||
public class ACFTMsg {
|
||||
|
||||
private META META;
|
||||
private FLOP FLOP;
|
||||
public void setMETA(META META) {
|
||||
this.META = META;
|
||||
}
|
||||
public META getMETA() {
|
||||
return META;
|
||||
}
|
||||
|
||||
public void setFLOP(FLOP FLOP) {
|
||||
this.FLOP = FLOP;
|
||||
}
|
||||
public FLOP getFLOP() {
|
||||
return FLOP;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Copyright 2018 bejson.com
|
||||
*/
|
||||
package com.gzzn.omms.msgexchangeapi.entity.msg.flop.acft;
|
||||
|
||||
/**
|
||||
* Auto-generated: 2018-12-04 13:55:4
|
||||
*
|
||||
* @author bejson.com (i@bejson.com)
|
||||
* @website http://www.bejson.com/java2pojo/
|
||||
*/
|
||||
public class FLOP {
|
||||
|
||||
private String FLID;
|
||||
private String FFID;
|
||||
private String ACFT;
|
||||
public void setFLID(String FLID) {
|
||||
this.FLID = FLID;
|
||||
}
|
||||
public String getFLID() {
|
||||
return FLID;
|
||||
}
|
||||
|
||||
public void setFFID(String FFID) {
|
||||
this.FFID = FFID;
|
||||
}
|
||||
public String getFFID() {
|
||||
return FFID;
|
||||
}
|
||||
|
||||
public void setACFT(String ACFT) {
|
||||
this.ACFT = ACFT;
|
||||
}
|
||||
public String getACFT() {
|
||||
return ACFT;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,7 @@ import java.util.Locale;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.Meta;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.META;
|
||||
import com.gzzn.omms.msgexchangeapi.entity.msg.Msg;
|
||||
import com.gzzn.omms.msgexchangeapi.utils.DateTimeUtil;
|
||||
|
||||
@@ -17,7 +17,7 @@ public class RefdMsg extends Msg {
|
||||
|
||||
public RefdMsg()
|
||||
{
|
||||
Meta meta = new Meta();
|
||||
META meta = new META();
|
||||
meta.setSndr("OMMS");
|
||||
meta.setSeqn("1"); //消息序号,自增
|
||||
meta.setDttm(DateTimeUtil.gtFormatStr(new Date(), "yyMMddHHmmss", Locale.CHINA));
|
||||
|
||||
Reference in New Issue
Block a user