From a7ab44bca33c0bfc85b301f6edc7398aecb74a81 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 14 九月 2023 17:03:13 +0800 Subject: [PATCH] 主界面添加1280*1024显示 --- springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java index cc0f805..72d5cc8 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java @@ -21,7 +21,7 @@ // JSONObject jsonObject = new JSONObject(); // jsonObject.append("params", new short[]{1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0}); - List<Boolean> paramlist = S7control.getinstance().ReadBits("DB2.DBX0.0 ", 26); + List<Boolean> paramlist = S7control.getinstance().ReadBits("DB2.0.0 ", 26); // Boolean[] values = {true, true,true, true,true, true,true, true,true, true,true, true,true, true,true, true,true, true,true, true,true, true,true, true,false, true}; // List<Boolean> paramlist = new ArrayList<>(Arrays.asList(values)); if (paramlist == null) { -- Gitblit v1.8.0