#
luxiaotao1123
2022-12-20 148e47c978faa35fc2e47c837e4ee319822b9f56
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -173,10 +173,10 @@
        // 外形检测 - 102
        Thread.sleep(50);
        OperateResultExOne<byte[]> result4 = siemensS7Net.Read("DB102.129.", (short)1);
        OperateResultExOne<byte[]> result4 = siemensS7Net.Read("DB102.129", (short)1);
        if (result4.IsSuccess) {
            boolean[] status = siemensS7Net.getByteTransform().TransBool(result4.Content, 0, 1);
            StaProtocol staProtocol = station.get(2);   // 102
            StaProtocol staProtocol = station.get(102);
            staProtocol.setFrontErr(status[0]);
            staProtocol.setBackErr(status[1]);
            staProtocol.setHighErr(status[2]);
@@ -187,10 +187,10 @@
        }
        // 外形检测 - 203
        Thread.sleep(50);
        OperateResultExOne<byte[]> result5 = siemensS7Net.Read("DB102.130.", (short)1);
        OperateResultExOne<byte[]> result5 = siemensS7Net.Read("DB102.130", (short)1);
        if (result5.IsSuccess) {
            boolean[] status = siemensS7Net.getByteTransform().TransBool(result5.Content, 0, 1);
            StaProtocol staProtocol = station.get(25);   // 203
            StaProtocol staProtocol = station.get(203);
            staProtocol.setFrontErr(status[0]);
            staProtocol.setBackErr(status[1]);
            staProtocol.setHighErr(status[2]);