From 03fb68d76a52a9927940db790277de757655abcf Mon Sep 17 00:00:00 2001 From: lxw Date: Tue, 11 Jun 2024 22:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E5=85=85?= =?UTF-8?q?=E7=94=B5=E6=9C=BA=E6=98=AF=E5=90=A6=E9=89=B4=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/Dto/Resp/BinInfoResp.cs | 6 ++++++ Service/Station/BinInfoService.cs | 1 + 2 files changed, 7 insertions(+) diff --git a/Entity/Dto/Resp/BinInfoResp.cs b/Entity/Dto/Resp/BinInfoResp.cs index a290780..a4ebc3d 100644 --- a/Entity/Dto/Resp/BinInfoResp.cs +++ b/Entity/Dto/Resp/BinInfoResp.cs @@ -259,4 +259,10 @@ public partial class BinInfoResp /// Nullable: /// public DateTime? ChargingStopTime { get; set; } + + + /// + /// 是否鉴权 + /// + public bool IsAuthed { get; set; } } \ No newline at end of file diff --git a/Service/Station/BinInfoService.cs b/Service/Station/BinInfoService.cs index e13164f..7db25e1 100644 --- a/Service/Station/BinInfoService.cs +++ b/Service/Station/BinInfoService.cs @@ -51,6 +51,7 @@ public class BinInfoService : BaseServices binInfoResp.CellTemperatureMin = chargerClient.BatteryPackDataVoltage.CellTemperatureMin; binInfoResp.ChargingStartTime = chargerClient.ChargingStartTime; binInfoResp.ChargingStopTime = chargerClient.ChargingStopTime; + binInfoResp.IsAuthed = chargerClient.IsAuthed; } }