From c40d049233f2706dd23aadf327dbf86ba0008a12 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 01 十二月 2023 15:04:16 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/rmiClient/ResConfigVo.java | 42 +++++++++++++++++++++++++++++++----------- 1 files changed, 31 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..59df2ce 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,16 @@ //妯℃嫙瀹㈡埛鐨処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 ; - + /** * 瀵硅薄杞垚json * @return 瀵硅薄json @@ -58,20 +62,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() { -- Gitblit v1.8.0