修改:IBP盘蜂鸣器bug
This commit is contained in:
parent
2339952cae
commit
d350f15260
@ -100,6 +100,7 @@ public class VirtualRealityIbpService implements IVirtualRealityIbpService {
|
||||
case JJTC:
|
||||
element.setOn(true);
|
||||
stands.forEach(stand -> ciApiService.standEC(simulation, stand));
|
||||
ibp.query(VirtualRealityIbp.Mean.ALARM, element.getUp()).forEach(alarm -> alarm.setOn(true));
|
||||
break;
|
||||
case QXJJTC:
|
||||
element.setOn(true);
|
||||
@ -265,9 +266,7 @@ public class VirtualRealityIbpService implements IVirtualRealityIbpService {
|
||||
case KM:
|
||||
case AXLE_RESET:
|
||||
case PRERESET_Z:
|
||||
break;
|
||||
case ALARM:
|
||||
element.setOn(stands.stream().anyMatch(Stand::isEmergencyClosed));
|
||||
break;
|
||||
case kcLight:
|
||||
element.setOn(stands.stream().anyMatch(Stand::isIbpHoldTrain));
|
||||
|
Loading…
Reference in New Issue
Block a user