From b3b17b231e2f2840332ce6eb96f791865fdec6d5 Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期一, 14 四月 2025 16:38:16 +0800
Subject: [PATCH] 代码优化
---
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