diff --git a/src/main/java/club/joylink/xiannccda/mock/message/occ/MockOccServer.java b/src/main/java/club/joylink/xiannccda/mock/message/occ/MockOccServer.java index 2af6991..e456eb5 100644 --- a/src/main/java/club/joylink/xiannccda/mock/message/occ/MockOccServer.java +++ b/src/main/java/club/joylink/xiannccda/mock/message/occ/MockOccServer.java @@ -148,6 +148,8 @@ public class MockOccServer { } else if (messageId == MessageId.TRAIN_INDICATION_UPDATE) { MockTrainUpdateReq req = new MockTrainUpdateReq(messageId, lineId, rtuId_.shortValue(), di.getDeviceType(), di.getDeviceName(), md.deviceStatus()); req.setTime(Instant.ofEpochMilli(System.currentTimeMillis()).getEpochSecond()); + req.setGroup_id(md.getGroupId()); + req.setGlobal_id(md.getGroupId()); list.add(req); } }