diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionService.java b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionService.java index 43fd6986c..2cdd98b1c 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionService.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionService.java @@ -30,7 +30,7 @@ public class TrainPositionService { public void initTrainOrUpdate(String mapName,String json){ TrainPosition tp = JsonUtils.read(json, TrainPosition.class); tp.setReceiveTime(System.currentTimeMillis()); - log.info(json); + log.debug(json); // SocketMessageVO vo = SocketMessageFactory.buildBasic(WebSocketMessageType.YJDDZH_TRAIN_POSITION,tp); // this.messageService.send(vo); this.timeOverService.addTrainAccept(mapName,tp); diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionTimeOverService.java b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionTimeOverService.java index 3582a96b6..bf0b65099 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionTimeOverService.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionTimeOverService.java @@ -103,7 +103,7 @@ public class TrainPositionTimeOverService { } if(tp.receiveTimeOver(this.receiveTimeOver)){ if(Objects.isNull(tp.getGroupNum())){ - log.error("错误的数据:" + tp); + log.debug("错误的数据:" + tp); continue; } if(checkExist(key,simulation)){ @@ -120,7 +120,7 @@ public class TrainPositionTimeOverService { List
sectionList = findDirectionAllSection(simulation,tp.getRoadType()); Section section = this.findSecion(sectionList,tp); if(Objects.isNull(section)){ - log.error("未找到对应的区段 param:{}",tp); + log.debug("未找到对应的区段 param:{}",tp); continue; } this.newAtsTrainLoadService.loadTripNumberTrain(simulation,tp,section);