代码调整
This commit is contained in:
parent
0a70258a3c
commit
fc198eb74b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user