##
luxiaotao1123
2020-12-30 986aca08c6202596ec8bfbbc220b9957904eec3f
src/main/java/com/zy/core/thread/MelsecCrnThread.java
@@ -147,8 +147,7 @@
        melsecMcNet.ConnectClose();
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
        }
        } catch (InterruptedException ignore) {}
        return result;
    }
@@ -223,6 +222,7 @@
        }
        if (command.getAckFinish() == 1) {
            command.setTaskSend((short) 0);
            command.setTaskNo((short) 0);
        } else if (command.getAckFinish() == 0) {
            command.setTaskSend((short) 1);
        }