| | |
| | | |
| | | 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(103);//空托盘出库目标站集合 |
| | | Map<Integer, Integer> map = new HashMap<>(); |
| | |
| | | // if ((crnProtocol.getCrnNo()==1 || crnProtocol.getCrnNo()==2) && crnProtocol.getBay()==1 && crnProtocol.getLevel() == 1) { |
| | | // continue; |
| | | // } |
| | | if (crnProtocol.getCrnNo()==1 && crnProtocol.getBay()==1 && crnProtocol.getLevel() == 1) { |
| | | if (crnProtocol.getBay()==1 && crnProtocol.getLevel() == 1) { |
| | | continue; |
| | | } |
| | | Page<BasCrnOpt> basCrnOptPage = crnOptService.selectPage(new Page<>(1, 1), new EntityWrapper<BasCrnOpt>().eq("crn_no", crn.getId()).orderBy("send_time", false)); |