lty
2025-03-28 d2b000d74d23f5c70e9f1414b57cab892c2b6eec
src/main/java/com/zy/core/thread/SiemensCrnThread.java
@@ -370,7 +370,7 @@
    /**
     * 写入数据
     */
    private boolean write5(CrnCommand command) throws InterruptedException {
    private synchronized boolean write5(CrnCommand command) throws InterruptedException {
        String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
        if (null == command) {
@@ -419,6 +419,7 @@
                    log.error("堆垛机命令地址写入后回读失败[id:{}]>>>>重写[{}] >>>>> 写入[{}],===>>回读[{}]", slave.getId(), i,JSON.toJSON(command),JSON.toJSON(one));
                    result = siemensNet.Write("DB100.0", array);
                }else{
                    result = siemensNet.Write("DB100.18", (short) 0);
                    i=5;
                }
            }