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+目标站 =====> 单站点写入 */