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/PlcHold.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java b/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java
index 54de033..fda114a 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java
@@ -29,7 +29,7 @@
         // \\ TODO Auto-generated catch block
         e.printStackTrace();
       }
-      if (S7control.getinstance().CheckConnected() == false) {
+      // if (S7control.getinstance().CheckConnected() == false) {
         spianService = WebSocketServer.applicationContext.getBean(SpianService.class);
         spianMapper = WebSocketServer.applicationContext.getBean(SpianMapper.class);
         jdbcConnections = WebSocketServer.applicationContext.getBean(JdbcConnections.class);
@@ -165,7 +165,7 @@
         // 鏌ヨ鏁版嵁搴�
         // 鎺ㄩ�佸埌鍓嶇
 
-      }
+      // }
     }
   }
 

--
Gitblit v1.8.0