*
L
2 天以前 e2a14112a81740481623dc16bbd1301432ce34b0
src/main/java/com/zy/core/thread/SiemensCrnThread.java
@@ -286,6 +286,7 @@
            DeviceErrorService deviceErrorService = SpringUtils.getBean(DeviceErrorService.class);
            deviceErrorService.addDeviceError("crnWriteIng", slave.getId(), "巷道号"+command.getLaneNo()+";堆垛机待下发指令:"+JSON.toJSONString(command.getNowTask()));
        } catch (Exception e){
            log.error("crnWriteIng新增异常");
        }
        try{
@@ -320,7 +321,7 @@
        try{
            Thread.sleep(50L);
        } catch (Exception e){}
        } catch (Exception e){log.error("延时异常324行");}
        log.info("堆垛机任务写100.0:值:array crnWrite-317行;array:"+JSON.toJSONString(array));
        OperateResult result = siemensNet.Write("DB100.0", array);
@@ -330,8 +331,8 @@
            i++;
            //堆垛机任务写入后,回读一次,看是否成功
            try{
                Thread.sleep(100L);
            } catch (Exception e){}
                Thread.sleep(50L);
            } catch (Exception e){log.error("延时异常335行");}
            log.info("堆垛机任务读100.0:值:20 crnWrite-317行;");
            OperateResultExOne<byte[]> resultRead = siemensNet.Read("DB100.0", (short) 20);