From 0c5f7c66f34b02c07c3a1bf9832ef402fa26339d Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期一, 06 五月 2024 10:18:11 +0800
Subject: [PATCH] 未回零显示问题
---
springboot-vue3/src/main/java/com/example/springboot/component/PlcManualonePosition.java | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PlcManualonePosition.java b/springboot-vue3/src/main/java/com/example/springboot/component/PlcManualonePosition.java
index fa3faf1..f7f6910 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/PlcManualonePosition.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/PlcManualonePosition.java
@@ -54,11 +54,7 @@
while (this != null) {
try {
Thread.sleep(500);
-
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- // this.readValue();
+ // this.readValue();
// String PlcAddress = this.name;
// Integer Plccount = this.count;
@@ -245,6 +241,11 @@
}
}
}
+
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
+
}
}
}
--
Gitblit v1.8.0