| | |
| | | map.put("J-1107",114);map.put("J-1108",113); |
| | | map.put("J-1109",118);map.put("J-1110",117); |
| | | map.put("J-1111",122);map.put("J-1112",121); |
| | | |
| | | map.put("H-1101",305);map.put("H-1102",300); |
| | | // 根据输送线plc遍历 |
| | | for (DevpSlave devp : slaveProperties.getDevp()) { |
| | | // 获取入库站信息 |
| | |
| | | }else { |
| | | if (staProtocol.isLoading() && !staProtocol.isCar() && workNo == 0){ |
| | | //AGV入库完成以后 |
| | | staProtocol.setWorkNo((short) 9998); |
| | | staProtocol.setWorkNo((short) 9999); |
| | | staProtocol.setStaNo(inSta.getStaNo().shortValue()); |
| | | boolean result = MessageQueue.offer(SlaveType.Devp, devp.getId(), new Task(2, staProtocol)); |
| | | if (result) { |
| | |
| | | map.put(115,4); |
| | | map.put(119,5); |
| | | map.put(123,6); |
| | | map.put(300,7); |
| | | //map.put(301,7); |
| | | // 根据输送线plc遍历 |
| | | for (DevpSlave devp : slaveProperties.getDevp()) { |
| | | // 遍历入库口 |
| | |
| | | } |
| | | Short workNo = staProtocol.getWorkNo(); |
| | | if (workNo == 0 && !staProtocol.isLoading()){ |
| | | if (Cools.isEmpty(map.get(inSta.getStaNo()))){ |
| | | continue; |
| | | } |
| | | list.add(map.get(inSta.getStaNo())); |
| | | } |
| | | } |