修改bug

This commit is contained in:
joylink_zhangsai 2021-05-27 18:22:14 +08:00
parent cd5adce755
commit bcf133e5f7

View File

@ -744,13 +744,13 @@ public class CommandBO {
return buildDriverAtoOpenOperationStep(train.getGroupNumber());
}
//---站台停车升级检测---
if (train.isParking()) {
step.finish();
if (!DriveMode.CM.equals(train.getDriveMode())) { //如果列车不是CM/BM/SM模式
return buildDriverDriveModeChangeOperationStep(train.getGroupNumber(), DriveMode.CM);
}
}
// //---站台停车升级检测---
// if (train.isParking()) {
// step.finish();
// if (!DriveMode.CM.equals(train.getDriveMode())) { //如果列车不是CM/BM/SM模式
// return buildDriverDriveModeChangeOperationStep(train.getGroupNumber(), DriveMode.CM);
// }
// }
//---越信号机升级检测暂时改为列车级别为ITC/CBTC检测---
if (RunLevel.ITC.equals(train.getRunLevel()) || RunLevel.CBTC.equals(train.getRunLevel())) {
step.finish();