【回库BUG】
This commit is contained in:
parent
4de0b5e0e8
commit
8cb9d9bb84
|
@ -552,7 +552,7 @@ public class ATPService {
|
|||
public void inbound(Simulation simulation, String groupNumber) {
|
||||
VirtualRealityTrain train = simulation.getRepository().getOnlineTrainBy(groupNumber);
|
||||
Section headSection = train.getHeadPosition().getSection();
|
||||
if (headSection.isTurnBackTrack() && train.isStop()) { //列车停在折返轨
|
||||
if (headSection.isTransferTrack() && train.isStop()) { //列车停在转换轨
|
||||
SimulationDataRepository repository = simulation.getRepository();
|
||||
TrainInfo trainInfo = repository.getSupervisedTrainByGroup(train.getGroupNumber());
|
||||
List<RoutePath> routePathList = repository.queryRoutePathsByEnd(headSection);
|
||||
|
|
Loading…
Reference in New Issue