From 7242faec9cf2574a845e7ce28923f03121c15ff0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 19 十一月 2024 08:59:17 +0800
Subject: [PATCH] 1、Rtu模拟器编码实现不启动web服务; 2、修改ym:ugTaskSendUrl配置为测试下发远程升级任务; 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