运行至前方站步骤参数修改

This commit is contained in:
joylink_zhangsai 2020-12-22 13:25:52 +08:00
parent 730e245985
commit 01b39f4129

View File

@ -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;