From 6f6c6a480d02b7c91e72821e29a937d5927e38cc Mon Sep 17 00:00:00 2001 From: Administrator <zhubaomin> Date: 星期三, 19 六月 2024 17:48:21 +0800 Subject: [PATCH] 2024-06-19 朱宝民 迁移4个微信小程序接口 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_22_Down.java | 4 +--- 1 files changed, 1 insertions(+), 3 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..def9fdb 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 @@ -63,7 +63,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 +86,6 @@ bs[index++] = 0 ; } - index += 4 ; strTemp = "" + (Double.valueOf(cvo.limitLevel * 100)).longValue() ; bTemp = ByteUtil.string2BCD_LE(strTemp) ; bTempLen = bTemp.length ; @@ -102,7 +101,6 @@ bs[index++] = 0 ; } - index ++ ; GlCreate.createPw(bs, index); index += 2 ; -- Gitblit v1.8.0