需求更新

This commit is contained in:
张江玮
2022-10-08 16:37:50 +08:00
parent f29b6c12f5
commit 424d1e76b2

View File

@@ -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");
}
}