From fc198eb74b44689c1843648a367911c1028c4109 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 26 Dec 2023 14:13:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../club/joylink/xiannccda/mock/message/occ/MockOccServer.java | 2 ++ 1 file changed, 2 insertions(+) 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); } }