| | |
| | | null, // 结束时间 |
| | | null, // 工作状态 |
| | | null, // 入出库类型 |
| | | crn.getId(), // 堆垛机 |
| | | null, // plc |
| | | crnProtocol.getLaneNo(), // 堆垛机 |
| | | crn.getId(), // plc |
| | | null, // 目标库位 |
| | | null, // 目标站 |
| | | null, // 源站 |
| | |
| | | if (staProtocol.getSiteId() == 1004 || staProtocol.getSiteId()==1020){ |
| | | // 判断是否满足取货条件 |
| | | if (!staProtocol.isLoading()) { |
| | | devpThread.setErrorDev(staProtocol.getSiteId(), "无物"); |
| | | return null; |
| | | } |
| | | if (!staProtocol.isInEnable()) { |
| | | devpThread.setErrorDev(staProtocol.getSiteId(), "等待可入信号"); |
| | | return null; |
| | | } |
| | | if (!staProtocol.isStaOk()) { |
| | | devpThread.setErrorDev(staProtocol.getSiteId(), "等待链条就绪"); |
| | | return null; |
| | | } |
| | | // 尺寸检测异常 |
| | |
| | | } |
| | | return null; |
| | | } |
| | | return null; |
| | | } |
| | | return taskWrk; |
| | | } |