wuyouming666
2023-11-29 b6eb0edc58567aca4d303f4928389bf25fe025ba
springboot-vue3/src/main/java/com/example/springboot/component/Plcstate.java
@@ -70,10 +70,10 @@
      Integer Plccount = this.count;
      // System.out.println(PlcAddress);
      // List<Short> plclist = S7control.getinstance().ReadWord("DB103.0", 10);
      Short[] values = { 0, 1, 1, 0, 1, 0, 1, 0,
          1, 0, };
      List<Short> plclist = new ArrayList<>(Arrays.asList(values));
List<Short> plclist = S7control.getinstance().ReadWord("DB103.0", 10);
//      Short[] values = { 0, 1, 1, 0, 1, 0, 1, 0,
//          1, 0, };
//      List<Short> plclist = new ArrayList<>(Arrays.asList(values));
      if (plclist != null) {
        List<String> Intlist = new ArrayList<>();