【删除多余代码】
This commit is contained in:
parent
f654df112d
commit
4b095b6d92
@ -572,11 +572,6 @@ public class Operation {
|
||||
* 分路不良(大铁)
|
||||
*/
|
||||
Station_Set_Defective_Shunting,
|
||||
|
||||
/**
|
||||
* 上电解锁(大铁)
|
||||
*/
|
||||
Station_Power_On_Unlock_Railroad,
|
||||
//--------------------------- 列车 ---------------------------
|
||||
/**
|
||||
* 在指定区段加载一辆计划列车(本地开发使用)
|
||||
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user