diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/build/SimulationBuilder.java b/src/main/java/club/joylink/rtss/simulation/cbtc/build/SimulationBuilder.java index efd9fa1f6..ca191ea93 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/build/SimulationBuilder.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/build/SimulationBuilder.java @@ -87,13 +87,13 @@ public class SimulationBuilder { /** * 加载进出depot的route path */ - private static void loadDepotInOutRoutePath(Simulation simulation) { - final Map> srps = simulation.getRepository().getRoutePathMap(); + private static void loadDepotInOutRoutePath(Simulation simulation) { // 仿真车辆段站台停车轨列表 Map> parkingTracksMap = simulation.getRepository().getParkingTracksMap(); if (CollectionUtils.isEmpty(parkingTracksMap)) { return; } + final Map> srps = simulation.getRepository().getRoutePathMap(); parkingTracksMap.forEach((station, secs) -> { if (station.isDepot()) {// 车站为车辆段 List
transferList = station.getTransferList();// 转换轨列表