From 8c4537b96ee0fad740770fc044e02251d080b101 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期四, 04 一月 2024 14:51:05 +0800 Subject: [PATCH] 增加翻译 --- springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java index 0cae2f5..bbff53e 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java @@ -174,7 +174,10 @@ //缁堟缁х画鎸夐挳 List<String> niuanaddressList3 = Arrays.asList(config.getProperty("Parameter2.stop").split(",")); List<Boolean> anniuread = S7control.getinstance().readBits(niuanaddressList3); - +// Boolean[] value4 = { false, false}; +// List<Boolean> anniuread = new ArrayList<>(Arrays.asList(value4)); +// Boolean[] value5 = { true}; +// List<Boolean> resets = new ArrayList<>(Arrays.asList(value5)); short[] anniuparams = new short[anniuread.size()]; for (int i = 0; i < anniuread.size(); i++) { boolean value = anniuread.get(i); @@ -188,7 +191,7 @@ resets2[i] = value ? (short) 1 : (short) 0; } -// System.out.println(resets); + System.out.println(resets); for (short number : resets2) { if (number == 1) { -- Gitblit v1.8.0