| | |
| | | // 获取叉车站点 |
| | | StaProtocol staProtocol = devpThread.getStation().get(staNo); |
| | | if (null == staProtocol || null == staProtocol.getWorkNo() || 0 == staProtocol.getWorkNo() || !staProtocol.isLoading()) { |
| | | MessageQueue.offer(SlaveType.Led, led.getId(), new Task(3, "")); |
| | | continue; |
| | | } else { |
| | | staProtocol = staProtocol.clone(); |
| | |
| | | // 获取工作档数据 |
| | | WrkMast wrkMast = wrkMastMapper.selectById(staProtocol.getWorkNo()); |
| | | if (null == wrkMast) { |
| | | MessageQueue.offer(SlaveType.Led, led.getId(), new Task(3, "")); |
| | | continue; |
| | | } |
| | | ArrayList<MatDto> matDtos = new ArrayList<>(); |