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