pang.jiabao
2026-04-26 7ed8a3db0115b19349cbdad55c91c353a0e8e300
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -125,6 +125,8 @@
     */
    public IoModeType ioModeOf101 = IoModeType.NONE;
    private int pathStatus  = 0;
    public SiemensDevpThread(DevpSlave slave) {
        this.slave = slave;
    }
@@ -348,6 +350,12 @@
        }
    }
    public void updatePathStatus(int status) {
        if (this.pathStatus == status) return;
        this.pathStatus = status;
        siemensS7Net.Write("DB100.1", (short) status);
    }
    /**
     * 写入 ID+目标站 =====> 单站点写入
     */