From 1e3eeec2d3a470d066d21900586b912dfef58c91 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期四, 17 四月 2025 15:07:41 +0800 Subject: [PATCH] 优化代码 --- pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml new file mode 100644 index 0000000..b81f162 --- /dev/null +++ b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/resources/Config.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<config> + <server name="mwTest娴嬭瘯鎺у埗绔�" showStartInfo="true" company="http://www.dyjs.com"/> + <!-- + 鍩烘湰閰嶇疆 + rtuAddrStart: 妯℃嫙瀹㈡埛鐨凴tuAddr璧峰鍙� + rtuAddrEnd: 妯℃嫙瀹㈡埛鐨凴tuAddr鎴鍙� + rtuAddrsPerMwTest: 姣忎釜mwTest鍒嗛厤鐨凴tuAddr鏁� + tcpServerIp: 閫氫俊涓棿浠禝P + tcpServerPort: 閫氫俊涓棿浠剁鍙� + sendInterval锛氬彂閫佹暟鎹棿闅� 绉� + heartbeatTimes锛氭瘡涓�杞鍙戦�佹暟鎹紝鍏朵腑鍖呮嫭蹇冭烦鍙戦�佹鏁� + sendTimes锛氬彂閫佹暟鎹鏁� + sendOverThenCloseConnect:鍙戦�佸畬鏁版嵁鍚庯紝鏄惁鍏抽棴TCP杩炴帴锛�1鏄紝0鍚� + --> + <base + rtuAddrStart="5323280000" + rtuAddrEnd="5323289999" + rtuAddrPerMwTest="1" + tcpServerIp="127.0.0.1" + tcpServerPort="60000" + sendInterval="2" + heartbeatTimes="3" + sendTimes="1" + sendOverThenCloseConnect="0" + /> + + <!-- + port锛歳mi鏈嶅姟绔彛鍙� + context锛歳mi鏈嶅姟涓婁笅鏂� + --> + <rmi enable="true" + port="12345" + context="mwTestSv" + /> + +</config> \ No newline at end of file -- Gitblit v1.8.0