【事故按下状态删除】
This commit is contained in:
parent
6122643c1f
commit
179edb07d0
@ -122,12 +122,11 @@ public class StationDirectionOperateHandler {
|
||||
* @param simulation 仿真数据
|
||||
* @param stationCode 车站编码
|
||||
* @param labelEnum 运行方向
|
||||
* @param pressDown 按下:1、抬起:0
|
||||
*/
|
||||
@OperateHandlerMapping(type = Operation.Type.ASSIST_PRESS_ACCIDENT)
|
||||
public void pressAccidentBtn(Simulation simulation, String stationCode, DirectionLabelEnum labelEnum, Integer pressDown) {
|
||||
public void pressAccidentBtn(Simulation simulation, String stationCode, DirectionLabelEnum labelEnum) {
|
||||
ButtonThenInterface thenInterface = stationDirectionService.getThenMethodByType(Operation.Type.ASSIST_PRESS_ACCIDENT);
|
||||
stationDirectionService.changeButtonAspect(simulation, stationCode, labelEnum
|
||||
, StationDirection.ButtonTypeEnum.ACCIDENT, (pressDown == 1), null, thenInterface);
|
||||
, StationDirection.ButtonTypeEnum.ACCIDENT, Boolean.TRUE, null, thenInterface);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user