From 4209a352833999d7fbd1f44aa4da20ea729bea79 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 23 五月 2024 08:53:05 +0800
Subject: [PATCH] 与王工(江海)联调,并修改问题,完善协议实现代码。

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_87_Up.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_87_Up.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_87_Up.java
index cbcbfbf..c5c4369 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_87_Up.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_87_Up.java
@@ -73,10 +73,10 @@
         short portLen = ByteUtilUnsigned.byte2Byte(bs, index) ;
 
         index++ ;
-        cdData.domain = ByteUtil.bytes2String_LE(bs, index, index + domainLen - 1) ;
+        cdData.domain = ByteUtil.bytes2String_BE(bs, index, index + domainLen - 1) ;
 
         index += domainLen ;
-        cdData.port = Integer.parseInt(ByteUtil.bytes2String_LE(bs, index, index + portLen - 1)) ;
+        cdData.port = Integer.parseInt(ByteUtil.bytes2String_BE(bs, index, index + portLen - 1)) ;
     }
 
 }

--
Gitblit v1.8.0