连锁控实训

This commit is contained in:
DU 2021-02-03 10:12:32 +08:00
parent acec4fcddc
commit fcce73733a
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ public class ControlGeneratorNew implements GeneratorNew {
station.setControlMode(Station.ControlMode.None); station.setControlMode(Station.ControlMode.None);
break; break;
case CM_Surrender_Control: case CM_Surrender_Control:
case CM_Interlock_Control:
if(BusinessConsts.MapPrd.PrdType.Type01.equals(config.getPrdType())){ if(BusinessConsts.MapPrd.PrdType.Type01.equals(config.getPrdType())){
station.setControlMode(Station.ControlMode.Local); station.setControlMode(Station.ControlMode.Local);
} }

View File

@ -207,6 +207,8 @@ public class Operation {
CM_Receive_Control(), CM_Receive_Control(),
/** 交出控制权 */ /** 交出控制权 */
CM_Surrender_Control(), CM_Surrender_Control(),
/** 连锁控 */
CM_Interlock_Control(),
//--------------------------- 集中车站 --------------------------- //--------------------------- 集中车站 ---------------------------
/** 设置折返策略 */ /** 设置折返策略 */