获取仓位数据接口增加4个充电接口温度字段

master
xjl 4 months ago
parent cf87502608
commit 717a905e74

@ -1,4 +1,6 @@
namespace Entity.Dto.Resp;
using HybirdFrameworkCore.Autofac.Attribute;
namespace Entity.Dto.Resp;
public partial class BinInfoResp
{
@ -271,4 +273,20 @@ public partial class BinInfoResp
/// Nullable:
/// </summary>
public int Exists { get; set; }
/// <summary>
/// 充电接口温度探头 1
/// </summary>
public Int16 ChargingInterfaceDetectionOneTemp { get; set; }
/// <summary>
/// 充电接口温度探头 2
/// </summary>
public Int16 ChargingInterfaceDetectionTwoTemp { get; set; }
/// <summary>
/// 充电接口温度探头 3
/// </summary>
public Int16 ChargingInterfaceDetectionTheTemp { get; set; }
/// <summary>
/// 充电接口温度探头 4
/// </summary>
public Int16 ChargingInterfaceDetectionFourTemp { get; set; }
}

@ -52,6 +52,12 @@ public class BinInfoService : BaseServices<BinInfo>
binInfoResp.ChargingStartTime = chargerClient.ChargingStartTime;
binInfoResp.ChargingStopTime = chargerClient.ChargingStopTime;
binInfoResp.IsAuthed = chargerClient.IsAuthed;
binInfoResp.ChargingInterfaceDetectionOneTemp = chargerClient.UploadTelemetryData.ChargingInterfaceDetectionOneTemp;
binInfoResp.ChargingInterfaceDetectionTwoTemp = chargerClient.UploadTelemetryData.ChargingInterfaceDetectionTwoTemp;
binInfoResp.ChargingInterfaceDetectionTheTemp = chargerClient.UploadTelemetryData.ChargingInterfaceDetectionTheTemp;
binInfoResp.ChargingInterfaceDetectionFourTemp = chargerClient.UploadTelemetryData.ChargingInterfaceDetectionFourTemp;
}
}

Loading…
Cancel
Save