修改:换端逻辑的循环条件
This commit is contained in:
parent
02e961d5fa
commit
c39648bd59
@ -59,7 +59,7 @@ public class ATPLogicLoop {
|
|||||||
this.onboardLogicRun2(simulation, train);
|
this.onboardLogicRun2(simulation, train);
|
||||||
SimulationMember member = simulation
|
SimulationMember member = simulation
|
||||||
.findMemberByRoleAndDeviceCode(SimulationMember.Type.DRIVER, train.getGroupNumber());
|
.findMemberByRoleAndDeviceCode(SimulationMember.Type.DRIVER, train.getGroupNumber());
|
||||||
if (Objects.nonNull(member) && member.isRobot()) {
|
if (Objects.nonNull(member) && train.isAtoOn()/*&& member.isRobot()*/) {
|
||||||
this.driveLogicRun(simulation, train);
|
this.driveLogicRun(simulation, train);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user