pjb
20 小时以前 c4b2cfbdc4b31a6e37a9b51c5f69620bd5e7841f
src/main/java/com/zy/core/thread/SiemensCrnThread.java
@@ -111,6 +111,7 @@
            crnProtocol = new CrnProtocol();
        }
        crnProtocol.setMode((short) -1);
        crnProtocol.setCrnNo(slave.getId());
//        crnProtocol.setTaskNo((short)0);
        crnProtocol.setStatus((short)-1);
        crnProtocol.setBay((short)0);
@@ -366,6 +367,12 @@
                    }
                }while (writeCount2<5);
            }
        } else {
            BasCrnpService basCrnpService = SpringUtils.getBean(BasCrnpService.class);
            BasCrnp basCrnp = basCrnpService.selectById(slave.getId());
            basCrnp.setModiTime(new Date());
            basCrnpService.updateById(basCrnp);
//            log.info("更新{}号堆垛机执行任务完成复位时间",slave.getId());
        }
        try {