whycq
2022-05-27 4f47d0af9617511e475879eff74e7788a429d9fd
src/main/java/com/zy/core/thread/MelsecCrnThread.java
@@ -161,6 +161,7 @@
            if (result.IsSuccess) {
                if (null == crnProtocol) {
                    crnProtocol = new CrnProtocol();
                    crnProtocol.setCrnNo(slave.getId());
                }
                crnProtocol.setMode(melsecMcNet.getByteTransform().TransInt16(result.Content, 0));
                crnProtocol.setTaskNo(melsecMcNet.getByteTransform().TransInt16(result.Content, 2));