| | |
| | | SteThread steThread = (SteThread) SlaveConnection.get(SlaveType.Ste, ste.getId()); |
| | | SteProtocol steProtocol = steThread.getSteProtocol(); |
| | | if (steProtocol == null) { continue; } |
| | | if (Cools.isEmpty(steProtocol.loca)) continue; |
| | | if (steProtocol.loca==0) continue; |
| | | if (steProtocol.getWaiting() && steProtocol.getTaskNo() == 0){ |
| | | News.info("ste[id={}] 收到等待WCS确认信号,但是任务号(地址V824)为0", steProtocol.getSteNo()); |
| | |
| | | staNos = new int[]{112,113,114}; |
| | | for (int staNo : staNos){ |
| | | StaProtocol staProtocol = devpThread.getStation().get(staNo); |
| | | if (Cools.isEmpty(staProtocol)) continue; |
| | | if (!staProtocol.isAutoing() || staProtocol.isLoading() || staProtocol.getWorkNo()>0){ |
| | | sign = false; |
| | | } |
| | |
| | | staNos = new int[]{212,213,214}; |
| | | for (int staNo : staNos){ |
| | | StaProtocol staProtocol = devpThread.getStation().get(staNo); |
| | | if (Cools.isEmpty(staProtocol)) continue; |
| | | if (!staProtocol.isAutoing() || staProtocol.isLoading()){ |
| | | sign = false; |
| | | } |