From 33e1f47419d28736b17d6947bb15ccc290b2905a Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 26 二月 2025 17:42:45 +0800
Subject: [PATCH] 1、代码完善; 2、江海协议解析不正确处修改,如金额是4位小数; 3、根据江海协议,新建RTU模拟器模块,可以上报心跳、开阀、关阀数据。

---
 pipIrr-platform/pipIrr-mw/pom.xml |   33 +++++++++++++++++++++++++++------
 1 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/pipIrr-platform/pipIrr-mw/pom.xml b/pipIrr-platform/pipIrr-mw/pom.xml
index 9ce1ec9..a4afe51 100644
--- a/pipIrr-platform/pipIrr-mw/pom.xml
+++ b/pipIrr-platform/pipIrr-mw/pom.xml
@@ -15,7 +15,9 @@
     <description>姝ゆā鍧椾负鍏朵粬涓棿浠舵ā鍧楃殑鐖剁骇妯″潡锛屽彧瀹氫箟渚濊禆</description>
 
     <modules>
-        <module>pipIrr-mw-accept</module>
+        <module>pipIrr-mw-rtu</module>
+        <module>pipIrr-mw-simulate-rtu</module>
+        <module>pipIrr-mw-simulate-rtu202404</module>
         <module>pipIrr-mwTest-server</module>
         <module>pipIrr-mwTest-client</module>
     </modules>
@@ -25,7 +27,11 @@
             <groupId>com.dy</groupId>
             <artifactId>pipIrr-common</artifactId>
             <version>1.0.0</version>
-            <scope>provided</scope>
+            <!--
+            scope涓嶈兘鐢╬rovided锛屽惁鍒橲erver.java鐨勮繍琛屼笉璧锋潵
+            scope涓嶈兘鐢╮untime锛屽惁鍒欎笉鑳界紪杈�
+            -->
+            <scope>compile</scope>
             <optional>true</optional>
             <exclusions>
                 <exclusion>
@@ -39,7 +45,7 @@
             <groupId>com.dy</groupId>
             <artifactId>pipIrr-global</artifactId>
             <version>1.0.0</version>
-            <scope>provided</scope>
+            <scope>compile</scope>
             <optional>true</optional>
             <exclusions>
                 <exclusion>
@@ -76,9 +82,8 @@
             <artifactId>jackson-dataformat-yaml</artifactId>
             <exclusions>
                 <exclusion>
-                    <!-- 鎺掗櫎鎺変緷璧� -->
-                    <groupId>com.fasterxml.jackson.core</groupId>
-                    <artifactId>jackson-databind</artifactId>
+                    <groupId>*</groupId>
+                    <artifactId>*</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
@@ -119,6 +124,22 @@
             <artifactId>jdom2</artifactId>
         </dependency>
 
+        <!-- 鑾峰緱绯荤粺淇℃伅 -->
+        <dependency>
+            <groupId>com.github.oshi</groupId>
+            <artifactId>oshi-core</artifactId>
+            <version>6.6.2</version>
+        </dependency>
+        <dependency>
+            <groupId>net.java.dev.jna</groupId>
+            <artifactId>jna</artifactId>
+            <version>5.12.1</version>
+        </dependency>
+        <dependency>
+            <groupId>net.java.dev.jna</groupId>
+            <artifactId>jna-platform</artifactId>
+            <version>5.12.1</version>
+        </dependency>
 
         <!-- 娴嬭瘯 -->
         <dependency>

--
Gitblit v1.8.0