From 0431c6943c1a61df0e9e4feb61f3333dd3622d21 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 28 五月 2025 15:16:48 +0800 Subject: [PATCH] 1、表阀一体:查询日记录数据中金额数据小数位是4位,相应除以10000.00; 2、表阀一体:所以命令结果VO实现指定接口,以数据库中保存命令日志。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/parse/HexFileVo.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/parse/HexFileVo.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/parse/HexFileVo.java index ff9c96b..47e576b 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/parse/HexFileVo.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/parse/HexFileVo.java @@ -19,6 +19,7 @@ public byte[] bytes ; public List<byte[]> listByte512 ; public long totalBytes512 ; + public Integer bytesCrc16 ; public List<String> errors ; public HexFileVo() { @@ -27,6 +28,7 @@ bytes = new byte[0] ; listByte512 = new ArrayList<>() ; totalBytes512 = 0 ; + bytesCrc16 = 0 ; errors = new ArrayList<>() ; } @@ -35,6 +37,7 @@ + "\ncalculateBytes:" + calculateBytes + "\nrealBytes:" + realBytes + "\ntotalBytes512:" + totalBytes512 + + "\nbytesCrc16:" + bytesCrc16 + "\nerrors:" + errors ; if(listByte512.size() > 0){ int counter = 0 ; -- Gitblit v1.8.0