修改:IBP盘试灯按钮逻辑修改
This commit is contained in:
parent
4a39c9bf89
commit
85091f8af6
@ -272,8 +272,9 @@ public class VirtualRealityIbpService implements IVirtualRealityIbpService {
|
||||
List<VirtualRealityIbp.IbpElement> sdList = vrIbp.queryByMean(VirtualRealityIbp.Mean.SD);
|
||||
boolean sd = false;
|
||||
if (!CollectionUtils.isEmpty(sdList)) {
|
||||
VirtualRealityIbp.SquareButton sdButton = (VirtualRealityIbp.SquareButton) sdList.get(0);
|
||||
sd = sdButton.isOn();
|
||||
sd = sdList.stream().anyMatch(VirtualRealityIbp.IbpElement::isOn);
|
||||
// VirtualRealityIbp.SquareButton sdButton = (VirtualRealityIbp.SquareButton) sdList.get(0);
|
||||
// sd = sdButton.isOn();
|
||||
}
|
||||
for (VirtualRealityIbp.IbpElement element : vrIbp.getElementList()) {
|
||||
List<Stand> stands = chooseStands(station, element, config);
|
||||
|
Loading…
Reference in New Issue
Block a user