From 07b344e51076a0307c1ac1be52d59436abb32fbf Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期五, 18 九月 2026 14:14:36 +0800
Subject: [PATCH] 添加了 从芯跃智联 api获取定位数据和电压
---
src/modules/push/entity/vehiclegps.ts | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/modules/push/entity/vehiclegps.ts b/src/modules/push/entity/vehiclegps.ts
index 3f21e07..f2fd90c 100644
--- a/src/modules/push/entity/vehiclegps.ts
+++ b/src/modules/push/entity/vehiclegps.ts
@@ -47,4 +47,20 @@
@Column({ comment: '瀹氫綅绮惧害' })
status: string;
+
+ @Column({
+ comment: '鐢靛帇(V)锛岃姱璺冨畾浣嶅櫒鍚屾锛涜悿鐭充簯鎺ㄩ�佸彲绌�',
+ type: 'decimal',
+ precision: 8,
+ scale: 2,
+ nullable: true,
+ })
+ voltage: number;
+
+ @Column({
+ comment: '鐢甸噺鐧惧垎姣旓紝鑺穬瀹氫綅鍣ㄥ悓姝ワ紱钀ょ煶浜戞帹閫佸彲绌�',
+ type: 'int',
+ nullable: true,
+ })
+ batteryPercent: number;
}
\ No newline at end of file
--
Gitblit v1.9.1