From 7f5d914898c9d05942705ce7d80c0d14a8174df8 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 19 十二月 2023 15:57:14 +0800
Subject: [PATCH] 1、common模块优化代码; 2、通信中间件优化代码,队列遍历由递归调用改为while循环,原因是队列数据量大时递归调易产生栈溢出,HashTable多线程应用时仍有线程安全问题,改为HashMap+同步锁; 3、RTU模拟器和模拟器控制服务增加report命令
---
pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/forRmi/MwTestClientStatus.java | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/forRmi/MwTestClientStatus.java b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/forRmi/MwTestClientStatus.java
index 71af287..bb4cd7d 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/forRmi/MwTestClientStatus.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/forRmi/MwTestClientStatus.java
@@ -4,7 +4,9 @@
public MwConfigVo confVo ;
- public ResStartVo startVo ;
+ public ResStartTcpConnectVo startVo ;
+
+ public ResStartRtuReportVo reportVo ;
public Integer count ;//mwTest涓婃姤鏁版嵁鏁伴噺
@@ -22,11 +24,11 @@
this.confVo = confVo;
}
- public ResStartVo getStartVo() {
+ public ResStartTcpConnectVo getStartVo() {
return startVo;
}
- public void setStartVo(ResStartVo startVo) {
+ public void setStartVo(ResStartTcpConnectVo startVo) {
this.startVo = startVo;
}
@@ -53,6 +55,20 @@
public void setSeconds(Long seconds) {
this.seconds = seconds;
}
-
-
+
+ public ResStartRtuReportVo getReportVo() {
+ return reportVo;
+ }
+
+ public void setReportVo(ResStartRtuReportVo reportVo) {
+ this.reportVo = reportVo;
+ }
+
+ public Integer getOverCount() {
+ return overCount;
+ }
+
+ public void setOverCount(Integer overCount) {
+ this.overCount = overCount;
+ }
}
--
Gitblit v1.8.0