运行至前方站步骤参数修改
This commit is contained in:
parent
730e245985
commit
01b39f4129
@ -184,7 +184,7 @@ public class CommandBO {
|
||||
Step driveStep = steps.get(0);
|
||||
if (!train.isStopAtThePosition(driveStep.getTargetPosition())) { //如果列车没停到目标位置
|
||||
if (!train.isStop())
|
||||
return buildDriverForceChangeOperationStep(train.getGroupNumber(), -100);
|
||||
return buildDriverForceChangeOperationStep(train.getGroupNumber(), -1);
|
||||
if (!DriveMode.RM.equals(train.getDriveMode()))
|
||||
return buildDriverDriveModeChangeOperationStep(train.getGroupNumber(), DriveMode.RM);
|
||||
return driveStep;
|
||||
|
Loading…
Reference in New Issue
Block a user