Browse Source

需求更新

master
张江玮 2 years ago
parent
commit
424d1e76b2
  1. 7
      hd/nladmin-system/src/main/java/org/nl/hand/andxy/service/impl/NdxyHandServiceImpl.java

7
hd/nladmin-system/src/main/java/org/nl/hand/andxy/service/impl/NdxyHandServiceImpl.java

@ -915,11 +915,8 @@ public class NdxyHandServiceImpl implements NdxyHandService {
// 获取驱动
NdxySpecialDeviceDriver driver = (NdxySpecialDeviceDriver) deviceObj.getDeviceDriver();
// 只有在设备为空且无故障无选择的情况下才是绿灯
int hasGoods = driver.getHasGoods();// 是否有货
int error = driver.getError();// 是否故障
int actoin = driver.getActoin();// 是否允许取放
if (hasGoods == 0 && error == 0 && actoin == 1) {
// 判断是否允许取放
if (driver.getActoin() == 1) {
deviceStatus.put("status", "1");
}
}

Loading…
Cancel
Save