| | |
| | | wrkMast.setUpdMk("Y"); |
| | | wrkMastMapper.updateById(wrkMast); |
| | | // 生成工作档,将浅库位移转到新的库位中 |
| | | moveLocForDeepLoc(slave, shallowLoc); |
| | | try{ |
| | | moveLocForDeepLoc(slave, shallowLoc); |
| | | } catch (Exception e){ |
| | | log.error("{}任务出库失败,浅库位堵塞!异常", wrkMast.getWrkNo(), e); |
| | | log.error("{}任务出库失败,浅库位堵塞!浅库位号:{}", wrkMast.getWrkNo(), shallowLocNo); |
| | | continue; |
| | | } |
| | | } |
| | | log.error("{}任务出库失败,浅库位堵塞!浅库位号:{}", wrkMast.getWrkNo(), shallowLocNo); |
| | | continue; |
| | |
| | | break; |
| | | } |
| | | if (count>0){ |
| | | if (jarOtherProtocol.getJarTemperature()<jarTemperature){ |
| | | if (jarOtherProtocol.getJarTemperature()<jarTemperature && jarOtherProtocol.modeType == JarModeType.AUTO){ |
| | | break; |
| | | } |
| | | } |
| | |
| | | // if (jarOtherProtocol == null) { |
| | | // break; |
| | | // } |
| | | if (jarOtherProtocol.getJarTemperature()>jarTemperature){ |
| | | if (jarOtherProtocol.getJarTemperature()>jarTemperature || jarOtherProtocol.modeType != JarModeType.AUTO){ |
| | | log.info("{}号硫化罐查询设备温度过高,等待降温....先执行入罐任务!!!",jarOtherProtocol.getJarNo()); |
| | | } else { |
| | | if (basJarMastService.getJarMastByJarIdCount(jarSlave.getId())>0){ |
| | |
| | | public synchronized void stackingCompletionDriveTray2() { |
| | | SiemensDevpThread devpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, 2); |
| | | StaProtocol staProtocol = devpThread.getStation().get(518); |
| | | if (Cools.isEmpty(staProtocol)) { |
| | | return; |
| | | } |
| | | String barcode = staProtocol.getBarcode(); |
| | | if (!Cools.isEmpty(barcode)) { |
| | | if ("NG".endsWith(barcode) || "NoRead".equals(barcode) || "00000000".equals(barcode) || !CodeDetectionUtil.barcodeDetection(barcode)) { |