wuyouming666
2023-11-30 8dfb37b10ffb2fcb41c85b3fa266d1ef2874aebc
springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java
@@ -65,13 +65,13 @@
        e.printStackTrace();
      }
      this.readValue();
      String PlcAddress = this.name;
      Integer Plccount = this.count;
//      this.readValue();
//      String PlcAddress = this.name;
//      Integer Plccount = this.count;
      // System.out.println(PlcAddress);
      List<Boolean> plclist = S7control.getinstance().ReadBits(PlcAddress, Plccount);
      // List<Boolean> plclist2 = S7control.getinstance().ReadBits("DB102.5.5", 13);
//      List<Boolean> plclist = S7control.getinstance().ReadBits(PlcAddress, Plccount);
       List<Boolean> plclist = S7control.getinstance().ReadBits("DB102.0.0", 64);
      // Boolean[] values = { true, true, true, true, true, false, true, false,
      // true, false, true, false, true, false,