应急调度日志

This commit is contained in:
tiger_zhou 2023-06-06 16:01:34 +08:00
parent c9c8c75be3
commit ba5ec61c5e

View File

@ -31,7 +31,7 @@ public class TrainPositionService {
public void initTrainOrUpdate(String mapName, String json) { public void initTrainOrUpdate(String mapName, String json) {
TrainPosition tp = JsonUtils.read(json, TrainPosition.class); TrainPosition tp = JsonUtils.read(json, TrainPosition.class);
tp.setReceiveTime(System.currentTimeMillis()); tp.setReceiveTime(System.currentTimeMillis());
log.info(json); log.debug(json);
// SocketMessageVO<TrainPosition> vo = SocketMessageFactory.buildBasic(WebSocketMessageType.YJDDZH_TRAIN_POSITION,tp); // SocketMessageVO<TrainPosition> vo = SocketMessageFactory.buildBasic(WebSocketMessageType.YJDDZH_TRAIN_POSITION,tp);
// this.messageService.send(vo); // this.messageService.send(vo);
this.timeOverService.addTrainAccept(mapName, tp); this.timeOverService.addTrainAccept(mapName, tp);