From 1337b825194a8ddd3304b9d67e748badf49b6338 Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期日, 31 三月 2024 12:41:40 +0800
Subject: [PATCH] 更新
---
springboot-vue3/src/main/java/com/example/springboot/component/PLCAutoMes.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutoMes.java b/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutoMes.java
index cced744..0263afd 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutoMes.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutoMes.java
@@ -13,7 +13,7 @@
public class PLCAutoMes extends Thread {
// 鐢ㄤ簬瀛樺偍搴旂敤绋嬪簭鐨勯厤缃俊鎭�
- private Configuration config;
+
private static InitUtil initUtil;
// public static PlcParameterObject PlcMesObject;
// public static PlcParameterObject PlcReadObject;
@@ -50,7 +50,7 @@
// 绉佹湁鏋勯�犲嚱鏁�
public PLCAutoMes() throws IOException {
- config = new Configuration("config.properties");
+ //config = new Configuration("config.properties");
initUtil = new InitUtil();
}
--
Gitblit v1.8.0