| | |
| | | if (Cools.isEmpty(taskWrk1)){ |
| | | continue; |
| | | } |
| | | if (taskWrk1.getIoType() == 3 && taskWrk1.getWrkSts()<3){ |
| | | if (taskWrk1.getIoType() == 1 && taskWrk1.getWrkSts()<3){ |
| | | taskWrk = taskWrk1; |
| | | break; |
| | | } |
| | |
| | | } |
| | | |
| | | // 判断堆垛机出库站状态 |
| | | if (staProtocol.isAutoing() && staDetl.getCanouting() != null && staDetl.getCanouting().equals("Y")) { |
| | | if (staProtocol.isAutoing() && !staProtocol.isLoading() && staDetl.getCanouting() != null && staDetl.getCanouting().equals("Y")) { |
| | | // 堆垛机控制过滤 |
| | | if (!crnProtocol.getStatusType().equals(CrnStatusType.IDLE)) { |
| | | devpThread.setErrorDev(staProtocol.getSiteId(), "堆垛机非空闲"); |