diff --git a/src/main/java/club/joylink/xiannccda/ats/message/MessageId.java b/src/main/java/club/joylink/xiannccda/ats/message/MessageId.java index b48723d..4415ead 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/MessageId.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/MessageId.java @@ -114,7 +114,7 @@ public enum MessageId { /** * 断点续传结束 */ - Resume_END_ACK(0x0026, null), + Resume_END_ACK(0x0026, ()->new ResumeEndAckResponse()), /** * 查询无结果消息 */ diff --git a/src/main/java/club/joylink/xiannccda/ats/message/line3/ResumeDataResponse.java b/src/main/java/club/joylink/xiannccda/ats/message/line3/ResumeDataResponse.java index c44340f..0b9ad16 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/line3/ResumeDataResponse.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/line3/ResumeDataResponse.java @@ -29,7 +29,7 @@ public class ResumeDataResponse extends MessageResponse { */ private Short msgCnt; /** - * 补传的消息。消息格式、内容和本接口协议定义的消息格式一致,时间戳保持与实时发送时的一致 + * 补传的消息(全部为响应类消息)。消息格式、内容和本接口协议定义的消息格式一致,时间戳保持与实时发送时的一致 */ private List messageData; @@ -41,8 +41,8 @@ public class ResumeDataResponse extends MessageResponse { this.msgCnt = buf.readShort(); this.messageData = new ArrayList<>(this.msgCnt); // - for(int i=0;i