From 27fc8b8d8be57be82f6e40c61642b7af8808e990 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Wed, 7 Jun 2023 09:42:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E6=B6=88=E6=81=AF2.7.2-2.7.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiannccda/ats/message/MessageId.java | 60 ++++++++++--------- 1 file changed, 33 insertions(+), 27 deletions(-) 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 b0bb203..edb1097 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/MessageId.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/MessageId.java @@ -1,6 +1,12 @@ package club.joylink.xiannccda.ats.message; import club.joylink.xiannccda.ats.message.line3.HeartBeatMsg; +import club.joylink.xiannccda.ats.message.rep.DepotPlanResponse; +import club.joylink.xiannccda.ats.message.rep.DeviceStatusBitmapResponse; +import club.joylink.xiannccda.ats.message.rep.DeviceStatusChangeResponse; +import club.joylink.xiannccda.ats.message.rep.NetworkAliveStatusResponse; +import club.joylink.xiannccda.ats.message.rep.SignalRouteStatusResponse; +import club.joylink.xiannccda.ats.message.req.LoadDeviceStatusRequest; public enum MessageId { UNKNOWN(0x0000, null), @@ -31,112 +37,112 @@ public enum MessageId { /** * 2.7.7 出入库派班计划消息 */ - DEPOT_PLAN(0x0007, () -> new DepotPlanResponse()); + DEPOT_PLAN(0x0007, () -> new DepotPlanResponse()), /** * 列车报点 */ - TRAIN_RECORD(0x0008,null), + TRAIN_RECORD(0x0008, null), /** * 列车信息全体 */ - TRAIN_INDICATION_INIT(0x0009,null), + TRAIN_INDICATION_INIT(0x0009, null), /** * 列车信息更新 */ - TRAIN_INDICATION_UPDATE(0x0010,null), + TRAIN_INDICATION_UPDATE(0x0010, null), /** * 列车信息删除 */ - TRAIN_INDICATION_REMOVE(0x0011,null), + TRAIN_INDICATION_REMOVE(0x0011, null), /** * 统计信息查询 */ - REPORT_ASK(0x0012,null), + REPORT_ASK(0x0012, null), /** * 车组运行里程报告 */ - GROUP_RUNNING_REPORT(0x0013,null), + GROUP_RUNNING_REPORT(0x0013, null), /** * 司机驾驶里程报告 */ - DRIVER_DISTANCE_REPORT(0x0014,null), + DRIVER_DISTANCE_REPORT(0x0014, null), /** * 调度日志报告 */ - DISPATCHER_REPORT(0x0015,null), + DISPATCHER_REPORT(0x0015, null), /** * 存备车报告 */ - GROUP_BAK_REPORT(0x0016,null), + GROUP_BAK_REPORT(0x0016, null), /** * 列车整备状态报告 */ - GROUP_STATUS_REPORT(0x0017,null), + GROUP_STATUS_REPORT(0x0017, null), /** * 事件及告警信息请求 */ - ALARM_ASK(0x0018,null), + ALARM_ASK(0x0018, null), /** * 操作命令 */ - ACTION_REPORT(0x0019,null), + ACTION_REPORT(0x0019, null), /** * 列车信息、系统事件 */ - ALARM_REPORT(0x0020,null), + ALARM_REPORT(0x0020, null), /** * 历史运行图申请 */ - LOAD_HISTORY_TG_DATA(0x0021,null), + LOAD_HISTORY_TG_DATA(0x0021, null), /** * 计划列车运行图消息 */ - INUSED_SCHEDULE(0x0022,null), + INUSED_SCHEDULE(0x0022, null), /** * 实际列车运行图消息 */ - HISTORY_SCHEDULE(0x0023,null), + HISTORY_SCHEDULE(0x0023, null), /** * 断电续传申请 */ - Resume_ASK(0x0024,null), + Resume_ASK(0x0024, null), /** * 断点续传开始 */ - Resume_Begin_ACK(0x0025,null), + Resume_Begin_ACK(0x0025, null), /** * 断点续传结束 */ - Resume_END_ACK(0x0026,null), + Resume_END_ACK(0x0026, null), /** * 查询无结果消息 */ - REPORT_NACK(0x0027,null), + REPORT_NACK(0x0027, null), /** * 查询结果开始消息 */ - REPORT_BEGIN(0x0028,null), + REPORT_BEGIN(0x0028, null), /** * 查询结果结束消息 */ - REPORT_END(0x0029,null), + REPORT_END(0x0029, null), /** * 断点续传数据消息 */ - Resume_DATA(0x0030,null), + Resume_DATA(0x0030, null), /** * 实时报警事件消息 */ - MESSAGE_ALARM(0x0031,null), + MESSAGE_ALARM(0x0031, null), /** * 列车阻塞消息 */ - TRAIN_BLOCK_INFO(0x0032,null), + TRAIN_BLOCK_INFO(0x0032, null), /** * 当天计划运行图参数消息 */ - INUSED_SCHEDULE_PARAMETER(0x0033,null), + INUSED_SCHEDULE_PARAMETER(0x0033, null), ; int val;