springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java
@@ -70,7 +70,7 @@ // 将消息值转换为布尔列表 List<Boolean> messageBooleans = new ArrayList<>(); for (Integer value : messageValues) { messageBooleans.add(value == 0 ? true : false); messageBooleans.add(value == 1 ? true : false); } // 将布尔列表写入 PLC