Junjie
2023-11-24 5fc260239018e529deb7b15064cb916842bebeb8
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -233,6 +233,11 @@
        for (Integer staNo : outInAlarmStaNos) {
            OperateResultExOne<byte[]> result5 = siemensS7Net.Read("DB" + staNo + ".20.0", (short) 2);
            if (result5.IsSuccess) {
                if (staNo == 101 || staNo == 201) {
                    staNo--;
                }else {
                    staNo++;
                }
                StaProtocol staProtocol = station.get(staNo);
                boolean[] status = siemensS7Net.getByteTransform().TransBool(result5.Content, 0, 2);
                staProtocol.setBarcodeErr(status[4]);//扫码失败