From 6d31770c150bcaf17a5814bc2aff8b9754f89525 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 16 五月 2024 17:31:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'git-pipIrr/master'
---
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_5C_Up.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_5C_Up.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_5C_Up.java
index 359696b..ddbb100 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_5C_Up.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_5C_Up.java
@@ -99,15 +99,15 @@
String yy = ByteUtil.BCD2String_BE(bs, index, index) ;
cdData.dt = "20" + yy + "-" + MM + "-" + dd + " " + HH ;
- int meterAmountDay = ByteUtil.BCD2Int_BE(bs, index, index + 3) ;
+ Long meterAmountDay = ByteUtil.BCD2Long_LE(bs, index, index + 3) ;
cdData.meterAmountDay = meterAmountDay/100.0D;
index += 4 ;
- int farmerAmountDay = ByteUtil.BCD2Int_BE(bs, index, index + 3) ;
+ Long farmerAmountDay = ByteUtil.BCD2Long_LE(bs, index, index + 3) ;
cdData.farmerAmountDay = farmerAmountDay/100.0D;
index += 4 ;
- int lossAmountDay = ByteUtil.BCD2Int_BE(bs, index, index + 3) ;
+ Long lossAmountDay = ByteUtil.BCD2Long_LE(bs, index, index + 3) ;
cdData.lossAmountDay = lossAmountDay/100.0D;
return cdData ;
--
Gitblit v1.8.0