From e6f7bba9aa14c8ff3fc154ccd5a26eb3c3f3d6f9 Mon Sep 17 00:00:00 2001 From: zhangyong <517047165@qq.com> Date: 星期日, 17 九月 2023 16:10:26 +0800 Subject: [PATCH] 增加PLC读写Byte类型数据 --- springboot-vue3/src/main/java/com/example/springboot/component/Plcstate.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plcstate.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plcstate.java index 0e063ea..e02e09a 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/Plcstate.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plcstate.java @@ -11,7 +11,7 @@ public void run() { while (this != null) { try { - Thread.sleep(10000); + Thread.sleep(500); } catch (InterruptedException e) { e.printStackTrace(); } -- Gitblit v1.8.0