wuyouming666
2023-09-07 0b6ddf2bf0d6c70867611b730ac445a242a89931
springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java
@@ -3,7 +3,9 @@
import cn.hutool.json.JSONObject;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Plcaction extends Thread {
  private static final long SEND_INTERVAL = 2000; // 发送消息的时间间隔
@@ -74,6 +76,7 @@
          }
        }
        // 将消息值转换为布尔列表
        List<Boolean> messageBooleans = new ArrayList<>();
        for (Integer value : messageValues) {