From 9fa42490dbed12aba03be6af67deee8072ad7519 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期三, 13 九月 2023 14:23:53 +0800 Subject: [PATCH] 1、使用英文版 饿了么组件 全局生效 2、增加权限页面弹窗 提示等国际化语言 --- springboot-vue3/src/main/java/com/example/springboot/component/Plcaction.java | 4 ++-- 1 files changed, 2 insertions(+), 2 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 ee35614..cc0f805 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,8 +21,8 @@ // 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("DB100.DBW", 12); -// Boolean[] values = {false, true,false, true,false, true,false, true,false, true,false, true,false, true,false, true,false, true,false, true,false, true}; + List<Boolean> paramlist = S7control.getinstance().ReadBits("DB2.DBX0.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