| | |
| | | if (basJarMastList.size() != jarMaxLoc){ |
| | | return false; |
| | | } |
| | | if (basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),5)!=0&&(basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),5)!=7)){ |
| | | if (basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),5)!=0 |
| | | && basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),5)!=7 |
| | | && basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),5)!=14){ |
| | | return false; |
| | | } |
| | | |
| | |
| | | if (basJarMastList10.size()==jarMaxLoc){ |
| | | return false; |
| | | } |
| | | if (basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),4)!=0){ |
| | | if (basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),4)!=0 && basJarMastService.selectJarMastOperation(jarSlave.getJarOtherId(),4)!=7){ |
| | | return false; |
| | | } |
| | | |
| | |
| | | return false; |
| | | } |
| | | |
| | | //临时 |
| | | if (basJar.getJarCode()==1){ |
| | | JarThread jarOtherThread = (JarThread) SlaveConnection.get(SlaveType.Jar, jarSlave.getJarOtherId()); |
| | | JarProtocol jarOtherProtocol = jarOtherThread.getJarProtocol(); |
| | | if (jarOtherProtocol == null) { |
| | | return false; |
| | | } |
| | | |
| | | if (!jarOtherProtocol.isAutoing() || jarOtherProtocol.jarErr!=0 |
| | | || !jarOtherProtocol.isLeftDoor() || !jarOtherProtocol.isRightDoor() |
| | | || jarOtherProtocol.leftDoorOpen==1 || jarOtherProtocol.leftDoorClose==1 || jarOtherProtocol.rightDoorOpen==1 || jarOtherProtocol.rightDoorClose==1){ |
| | | log.error("{}号硫化罐查询设备不满足前往冷却池条件,代号2硫化罐门没开!!!",jarOtherProtocol.getJarNo()); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | //门作业 无 |
| | | // if (jarProtocol.isAutoing() && jarProtocol.statusType == JarStatusType.WAITING4 && jarProtocol.jarErr==0 |
| | | if (jarProtocol.isAutoing() && jarProtocol.jarErr==0 |