From d9765e031e100e1d8eea34e086cb9c81766e1a00 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 21 二月 2025 09:52:14 +0800
Subject: [PATCH] 针对王江海制定的协议: 1、优化相关注释; 2、优化代码; 3、协议中报警信息有变化:外门报警改为电池电压报警、增加阀门开关状态、增加阀门堵转报警等。

---
 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