From 67c9118cffb7d7407668bbbad4c64f9aaf21ba0d Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期二, 18 三月 2025 10:06:37 +0800
Subject: [PATCH] 看板能耗管理
---
JiuMuMesParent/common/servicebase/src/main/java/com/mes/service/ModbusTcp.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/JiuMuMesParent/common/servicebase/src/main/java/com/mes/service/ModbusTcp.java b/JiuMuMesParent/common/servicebase/src/main/java/com/mes/service/ModbusTcp.java
index 0d053ca..335a30a 100644
--- a/JiuMuMesParent/common/servicebase/src/main/java/com/mes/service/ModbusTcp.java
+++ b/JiuMuMesParent/common/servicebase/src/main/java/com/mes/service/ModbusTcp.java
@@ -46,7 +46,7 @@
public void connect(){
try {
this.socket=new Socket(Ip,Port);
- this.socket.setSoTimeout(2000);
+ this.socket.setSoTimeout(1000);
}catch (Exception e) {
log.info("The IP address of the host cannot be determined:{}",e.getMessage());
}
--
Gitblit v1.8.0