重启令解实训,背景给车站设置站控;列车经过【ARB】【进路锁闭】的区段之后,取消进路锁闭
This commit is contained in:
parent
a7acb9929d
commit
09d423a3f4
@ -277,6 +277,11 @@ public class StationGeneratorNew implements GeneratorNew {
|
||||
param.put("stationCode", station.getCode());
|
||||
atsOperationDispatcher.execute(simulation, member, operate, param);
|
||||
station.setInterlockMachineStarting(true);
|
||||
if(station.isCentralized()) {
|
||||
station.setControlMode(Station.ControlMode.Local);
|
||||
}else{
|
||||
station.getDeviceStation().setControlMode(Station.ControlMode.Local);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Station_Release: {
|
||||
|
@ -462,7 +462,7 @@ public class CiRouteService {
|
||||
Collections.reverse(logicList);
|
||||
}
|
||||
for (Section logic : logicList) {
|
||||
if (!logic.isOccupied() && !logic.isInvalid() && logic.isRouteLockOn(right)) {
|
||||
if (!logic.isOccupied() && /*!logic.isInvalid() &&*/ logic.isRouteLockOn(right)) {
|
||||
logic.routeUnlocking(route);
|
||||
logic.overlapUnlocking();
|
||||
} else if(logic.isOccupied() || logic.isInvalid()) {
|
||||
|
Loading…
Reference in New Issue
Block a user