| | |
| | | |
| | | public synchronized void autoEmptyOut() { |
| | | SiemensDevpThread devpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, 1); |
| | | StaProtocol staProtocol1 = devpThread.getStation().get(103); |
| | | if (staProtocol1.isAutoing()&&staProtocol1.isLoading()){ |
| | | return; |
| | | } |
| | | List<Integer> list = new ArrayList<>(); |
| | | list.add(101); |
| | | list.add(103);//空托盘出库目标站集合 |
| | | Map<Integer, Integer> map = new HashMap<>(); |
| | | map.put(101, 102); |
| | | map.put(103, 103); |
| | | for (Integer site : list) { |
| | | WrkMast wrkMast = wrkMastService.selectOne(new EntityWrapper<WrkMast>().eq("sta_no", map.get(site))); |
| | | if (!Cools.isEmpty(wrkMast)) { |