|  |  | 
 |  |  |                     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 (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 |