| | |
| | | |
| | | //气调状态,不能操作窗户、空调、通风口、混流风机、轴流风机 |
| | | String msg = "当前仓库状态为:气调中,禁止执行通风等操作,请联系管理员。"; |
| | | if (DepotStatus.STATUS_05.getCode().equals(depot.getDepotStatus())) { |
| | | if (DepotStatus.STATUS_31.getCode().equals(depot.getDepotStatus())) { |
| | | for (ExeDevice device : deviceList) { |
| | | if (DeviceType.TYPE_01.getCode().equals(device.getType())) return msg; |
| | | |
| | |
| | | |
| | | //温控状态,不能操作窗户、通风口、混流风机、轴流风机 |
| | | msg = "当前仓库状态为:温控中,禁止执行通风等操作,请联系管理员。"; |
| | | if (DepotStatus.STATUS_09.getCode().equals(depot.getDepotStatus())) { |
| | | if (DepotStatus.STATUS_34.getCode().equals(depot.getDepotStatus())) { |
| | | for (ExeDevice device : deviceList) { |
| | | if (DeviceType.TYPE_01.getCode().equals(device.getType())) return msg; |
| | | |
| | |
| | | |
| | | //熏蒸状态,所有设备均不支持操作 |
| | | msg = "当前仓库状态为:熏蒸中,禁止所有远程操作,请联系管理员。"; |
| | | if (DepotStatus.STATUS_06.getCode().equals(depot.getDepotStatus())) { |
| | | if (DepotStatus.STATUS_32.getCode().equals(depot.getDepotStatus())) { |
| | | return msg; |
| | | } |
| | | |