【删除多余代码】

This commit is contained in:
weizhihong 2022-05-19 17:03:51 +08:00
parent f654df112d
commit 4b095b6d92
2 changed files with 0 additions and 17 deletions

View File

@ -572,11 +572,6 @@ public class Operation {
* 分路不良大铁
*/
Station_Set_Defective_Shunting,
/**
* 上电解锁大铁
*/
Station_Power_On_Unlock_Railroad,
//--------------------------- 列车 ---------------------------
/**
* 在指定区段加载一辆计划列车本地开发使用

View File

@ -318,16 +318,4 @@ public class StationOperateHandler {
public void specialStationControl(Simulation simulation, SimulationMember fromMember, String stationCode, Integer pressDown) {
atsStationService.specialStationControl(simulation, fromMember, stationCode, pressDown);
}
/**
* 上电解锁大铁
*
* @param simulation 仿真实体
* @param stationCode 车站编码
*/
@OperateHandlerMapping(type = Operation.Type.Station_Power_On_Unlock_Railroad)
public void powerOnUnlockRailroad(Simulation simulation, String stationCode) {
SimulationDataRepository repository = simulation.getRepository();
ciApiService.powerOnUnlock(simulation, repository.getByCode(stationCode, Station.class));
}
}