From 8059e6ec4eee8b7e11f729303d1bbe205633d618 Mon Sep 17 00:00:00 2001 From: lxw Date: Fri, 21 Jun 2024 14:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E4=BD=8D=20byte->=20short?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/Api/Resp/SwapVehicleResp.cs | 2 +- Service/Execute/Model/Tbox/CarStatus.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Entity/Api/Resp/SwapVehicleResp.cs b/Entity/Api/Resp/SwapVehicleResp.cs index b6ee309..cb6bd07 100644 --- a/Entity/Api/Resp/SwapVehicleResp.cs +++ b/Entity/Api/Resp/SwapVehicleResp.cs @@ -45,7 +45,7 @@ public class SwapVehicleResp /// /// 车辆档位 最小值:-1,最大值 14 ,0x0F表示无效,-1 代表倒档 R;0 代表空挡 N;大于 0 代表前进档 D; /// - public byte? Gear { get; set; } + public short? Gear { get; set; } /// /// 刹车状态 "0:未拉手刹1:已拉手刹 其它值无效" diff --git a/Service/Execute/Model/Tbox/CarStatus.cs b/Service/Execute/Model/Tbox/CarStatus.cs index 23d9977..cfc6ffc 100644 --- a/Service/Execute/Model/Tbox/CarStatus.cs +++ b/Service/Execute/Model/Tbox/CarStatus.cs @@ -5,7 +5,7 @@ public class CarStatus /// /// 车辆档位 最小值:-1,最大值 14 ,0x0F表示无效,-1 代表倒档 R;0 代表空挡 N;大于 0 代表前进档 D; /// - public byte? Gear { get; set; } + public short? Gear { get; set; } /// /// 刹车状态 "0:未拉手刹1:已拉手刹 其它值无效"