From a91f50ce8ce976743c11de98f9e3ed574bb3f78e Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期三, 28 五月 2025 19:35:10 +0800
Subject: [PATCH] 添加海康威视实时监控对接功能

---
 ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPWarnMsgAdptInfo.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPWarnMsgAdptInfo.java b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPWarnMsgAdptInfo.java
index 5fd888b..4a1a6f5 100644
--- a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPWarnMsgAdptInfo.java
+++ b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPWarnMsgAdptInfo.java
@@ -237,17 +237,17 @@
 			//纬度
 			this.latitude = byteBuf.readInt();
 			//海拔高度
-			this.altitude = byteBuf.readUnsignedShort();
+			this.altitude = byteBuf.readShort();
 			//行车速度
-			this.speed = byteBuf.readUnsignedShort();
+			this.speed = byteBuf.readShort();
 			//行驶记录速度
-			this.vec2 = byteBuf.readUnsignedShort();
+			this.vec2 = byteBuf.readShort();
 			//报警状态
 			this.status = byteBuf.readByte();
 			//方向
-			this.direction = byteBuf.readUnsignedShort();
+			this.direction = byteBuf.readShort();
 			//报警数据长度
-			this.infoLength = byteBuf.readUnsignedShort();
+			this.infoLength = byteBuf.readShort();
 			//报警信息内容
 			this.infoContent = Jtt809Util.readGBKString(byteBuf,this.infoLength);
 		}catch (Exception e){

--
Gitblit v1.7.1