From 9ad6b0179be4d351105f1507779d4f41a3a41953 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期六, 07 九月 2024 16:57:40 +0800
Subject: [PATCH] 1、完善代码; 2、江海协议时标(tp)实现中的bug修改。

---
 pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java |   52 +++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 41 insertions(+), 11 deletions(-)

diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java
index c3affa5..065e784 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java
@@ -8,12 +8,18 @@
 	//妯℃嫙瀹㈡埛鐨処MEI鍙锋埅姝㈠彿
 	public Long rtuAddrEnd = 0L ;
 	//鏈嶅姟绔疘P
-	public String serverIp = "" ;
+	public String tcpServerIp = "" ;
 	//鏈嶅姟绔笂涓嬫枃
-	public Integer serverPort = 0 ;
+	public Integer tcpServerPort = 0 ;
+	//鍙戦�佹暟鎹棿闅�
+	public Integer sendInterval = 2 ;//绉�
+	//姣忎竴杞鍙戦�佹暟鎹紝鍏朵腑鍖呮嫭蹇冭烦鍙戦�佹鏁�
+	public Integer heartbeatTimes = 3 ;
 	//鍙戦�佹暟鎹鏁�
 	public Integer sendTimes = 0 ;
-	
+	//鍙戦�佸畬鏁版嵁鍚庯紝鏄惁鍏抽棴TCP杩炴帴锛�1鏄紝0鍚�
+	public Integer sendOverThenCloseConnect = 0 ;
+
 	/**
 	 * 瀵硅薄杞垚json
 	 * @return 瀵硅薄json
@@ -58,20 +64,36 @@
 		this.rtuAddrEnd = rtuAddrEnd;
 	}
 
-	public String getServerIp() {
-		return serverIp;
+	public String getTcpServerIp() {
+		return tcpServerIp;
 	}
 
-	public void setServerIp(String serverIp) {
-		this.serverIp = serverIp;
+	public void setTcpServerIp(String tcpServerIp) {
+		this.tcpServerIp = tcpServerIp;
 	}
 
-	public Integer getServerPort() {
-		return serverPort;
+	public Integer getTcpServerPort() {
+		return tcpServerPort;
 	}
 
-	public void setServerPort(Integer serverPort) {
-		this.serverPort = serverPort;
+	public void setTcpServerPort(Integer tcpServerPort) {
+		this.tcpServerPort = tcpServerPort;
+	}
+
+	public Integer getSendInterval() {
+		return sendInterval;
+	}
+
+	public void setSendInterval(Integer sendInterval) {
+		this.sendInterval = sendInterval;
+	}
+
+	public Integer getHeartbeatTimes() {
+		return heartbeatTimes;
+	}
+
+	public void setHeartbeatTimes(Integer heartbeatTimes) {
+		this.heartbeatTimes = heartbeatTimes;
 	}
 
 	public Integer getSendTimes() {
@@ -81,4 +103,12 @@
 	public void setSendTimes(Integer sendTimes) {
 		this.sendTimes = sendTimes;
 	}
+
+	public Integer getSendOverThenCloseConnect() {
+		return sendOverThenCloseConnect;
+	}
+
+	public void setSendOverThenCloseConnect(Integer sendOverThenCloseConnect) {
+		this.sendOverThenCloseConnect = sendOverThenCloseConnect;
+	}
 }

--
Gitblit v1.8.0