1
zhang
2025-08-02 1105178c4105d6b81edc809d309f223c17b74998
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -360,8 +360,8 @@
     * 读取状态 ====> 整块plc
     */
    private void readsanqi() throws InterruptedException {
        ArrayList<Integer> staNos = getStaNo();
        int staNoSize = staNos.size();
        ArrayList<Integer> staNos = staNos3;
        int staNoSize = staNos3.size();
        //
        OperateResultExOne<byte[]> resultsanqi = siemensS7Net.Read("DB101.120", (short) (staNoSize * 8));
@@ -400,7 +400,7 @@
        OperateResultExOne<byte[]> resultErrsanqi = siemensS7Net.Read("DB101.160", (short) 8);
        if (resultErrsanqi.IsSuccess) {
            boolean[] status = siemensS7Net.getByteTransform().TransBool(resultErrsanqi.Content, 0, 1);
            StaProtocol staProtocol = station.get(304);
            StaProtocol staProtocol = station.get(311);
            staProtocol.setFrontErr(status[0]);
            staProtocol.setBackErr(status[1]);
            staProtocol.setHighErr(status[2]);