ncc协议x
This commit is contained in:
parent
9cf0715459
commit
5a39fd2ba4
@ -12,7 +12,7 @@ public class MessageAlarmRsp extends MessageData {
|
||||
/**
|
||||
* 报警事件产生的时间(4)
|
||||
*/
|
||||
private Integer genTime;
|
||||
private Long genTime;
|
||||
/**
|
||||
* Tag_id字符串的长度(2)
|
||||
*/
|
||||
@ -33,7 +33,7 @@ public class MessageAlarmRsp extends MessageData {
|
||||
@Override
|
||||
public void decode2(ByteBuf buf) throws Exception {
|
||||
this.lineId = buf.readShort();
|
||||
this.genTime = buf.readInt();
|
||||
this.genTime = buf.readUnsignedInt();
|
||||
this.tagLen = buf.readShort();
|
||||
this.tagId = new byte[this.tagLen];
|
||||
buf.readBytes(this.tagId);
|
||||
|
@ -84,7 +84,7 @@ public class TrainIndicationInitRsp extends MessageData {
|
||||
/**
|
||||
* 根据实际报点和计划的偏离时间(单位:秒,-215- +215 ,正数表示列车晚点秒数,负数表示列车早点秒数)(4)
|
||||
*/
|
||||
private Integer otpTime;
|
||||
private Long otpTime;
|
||||
/**
|
||||
* 列车状态,见附录6.3.14列车状态定义(4)
|
||||
*/
|
||||
@ -123,7 +123,7 @@ public class TrainIndicationInitRsp extends MessageData {
|
||||
buf.readBytes(this.destinationId);
|
||||
this.rollingStock=buf.readByte();
|
||||
buf.readBytes(this.driverId);
|
||||
this.otpTime=buf.readInt();
|
||||
this.otpTime=buf.readUnsignedInt();
|
||||
this.mode=buf.readInt();
|
||||
buf.readBytes(this.arriveTime);
|
||||
buf.readBytes(this.departTime);
|
||||
|
@ -71,7 +71,7 @@ public class TrainIndicationUpdateRsp extends MessageData {
|
||||
/**
|
||||
* 计划偏离时间(4)
|
||||
*/
|
||||
private Integer optTime;
|
||||
private Long optTime;
|
||||
/**
|
||||
* 列车状态,见附录6.3.14列车状态定义(4)
|
||||
*/
|
||||
@ -114,7 +114,7 @@ public class TrainIndicationUpdateRsp extends MessageData {
|
||||
this.rollingStock = buf.readByte();
|
||||
buf.readBytes(this.driverId);
|
||||
this.routeId = buf.readShort();
|
||||
this.optTime = buf.readInt();
|
||||
this.optTime = buf.readUnsignedInt();
|
||||
this.mode = buf.readInt();
|
||||
buf.readBytes(this.arriveTime);
|
||||
buf.readBytes(this.departTime);
|
||||
|
Loading…
Reference in New Issue
Block a user