From 4fe7ea4fbdc0c45f14d1d8de77e3424f826ba909 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 28 六月 2024 21:39:12 +0800
Subject: [PATCH] 1、靳总协议上行数据处理修改完善; 2、上行数据处理任务修改完善.

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

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_22_Down.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_22_Down.java
index f9970b2..ac723e9 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_22_Down.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_22_Down.java
@@ -5,11 +5,9 @@
 import com.dy.common.mw.protocol.*;
 import com.dy.common.mw.protocol.p206V202404.CodeV202404;
 import com.dy.common.mw.protocol.p206V202404.ParseParamsForDownV202404;
-import com.dy.common.mw.protocol.p206V202404.downVos.ComCd16Vo;
 import com.dy.common.mw.protocol.p206V202404.downVos.ComCd22Vo;
 import com.dy.common.mw.protocol.p206V202404.parse.global.GlCreate;
 import com.dy.common.util.ByteUtil;
-import com.dy.common.util.ByteUtilUnsigned;
 
 @AnnotationCodeDown(ifAny={
         CodeV202404.cd_22
@@ -63,7 +61,7 @@
                 throw new Exception("姘翠綅涓嬮檺鍊煎繀椤绘槸0~9999.99鑼冨洿鍐呯殑鏁存暟") ;
             }
 
-            byte[] bs = new byte[17] ;
+            byte[] bs = new byte[16] ;
             int index = 0 ;
             bs[index] = (byte)(Integer.parseInt(cvo.controllerType, 16));
 
@@ -86,7 +84,6 @@
                 bs[index++] = 0 ;
             }
 
-            index += 4 ;
             strTemp = "" + (Double.valueOf(cvo.limitLevel * 100)).longValue() ;
             bTemp = ByteUtil.string2BCD_LE(strTemp) ;
             bTempLen = bTemp.length ;
@@ -102,7 +99,6 @@
                 bs[index++] = 0 ;
             }
 
-            index ++ ;
             GlCreate.createPw(bs, index);
 
             index += 2 ;

--
Gitblit v1.8.0