From ea46f28356e2acb3bc7cc69b9af3c52fab38c0b0 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期四, 18 一月 2024 16:56:47 +0800
Subject: [PATCH] 终止任务功能测试

---
 springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSettingReview.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSettingReview.java b/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSettingReview.java
index c9d5b49..31a404a 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSettingReview.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSettingReview.java
@@ -26,10 +26,10 @@
         this.storageCageService = storageCageService;
         this.plcParameterObject = new PlcParameterObject();
         this.plcBitObject = new PlcBitObject();
-        String jsonFilePath = "JsonFile/PlcParameter.json";
-        InitUtil.initword(jsonFilePath); // 鍒濆鍖� PlcParameterObject
-        String jsonFilePath2 = "JsonFile/PlcSign.json";
-        InitUtil.initbit(jsonFilePath2); // 鍒濆鍖� PlcSign
+        // String jsonFilePath = "JsonFile/PlcParameter.json";
+        // InitUtil.initword(jsonFilePath); // 鍒濆鍖� PlcParameterObject
+        // String jsonFilePath2 = "JsonFile/PlcSign.json";
+        // InitUtil.initbit(jsonFilePath2); // 鍒濆鍖� PlcSign
 
 
     }
@@ -108,7 +108,7 @@
             JSONObject jsonObject = new JSONObject();
             // new short[]{1,1, 1, 1, 1, 1, 2, 33, 2,3, 4, 5}
             // new short[]{0,0, 0, 0, 0, 0, 0, 0, 0, 0}
-
+System.out.println(plcParameterObject.getPlcParameterValues(addresses));
             jsonObject.append("params",  plcParameterObject.getPlcParameterValues(addresses));
             jsonObject.append("dache1", plcParameterObject.getPlcParameter("A01A02TRAVELPOSVelocityAUTO").getValue());
             jsonObject.append("xiaoche", plcParameterObject.getPlcParameter("B01B02TRAVELPOSVelocityAUTO").getValue());

--
Gitblit v1.8.0