#
yxFwq
2024-07-20 b5c365b59c5711d94dbca2fdbb883646faabfdd2
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -5625,6 +5625,26 @@
                    return false;
                }
                // 获取硫化罐信息
                JarThread jarThreadOther = (JarThread) SlaveConnection.get(SlaveType.Jar, SteAndJarUtil.getRgvJarNo(jarProtocol.getJarNo()));
                JarProtocol jarProtocolOther = jarThreadOther.getJarProtocol();
                if (jarProtocolOther == null) {
                    return false;
                }
                if (jarProtocolOther.modeType != JarModeType.AUTO){
                    return false;
                }
                BasJar basJarOther = basJarMapper.selectById(jarProtocolOther.getJarNo());
                if (Cools.isEmpty(basJarOther)){
                    log.error("{}号硫化罐查询设备档案无信息!!!",jarProtocolOther.getJarNo());
                    return false;
                }
                if (!jarProtocolOther.isRightDoor()){
                    return false;
                }
                //门作业  无
                if (jarProtocol.isAutoing() && jarProtocol.jarErr==0){
                    //冷却完成上输送线