From 3bb00a2b157f21f76b809b5d47a02e2e4a5419a3 Mon Sep 17 00:00:00 2001 From: CZ Date: Tue, 6 Aug 2024 10:22:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E9=80=81=E5=85=85=E7=94=B5=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OutCharger/Req/PileChargeCompleteReq.cs | 24 ++++++++++++------- .../Msg/Charger/Req/FinishStopCharging.cs | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Service/Charger/Msg/Charger/OutCharger/Req/PileChargeCompleteReq.cs b/Service/Charger/Msg/Charger/OutCharger/Req/PileChargeCompleteReq.cs index f0b80cb..e67125e 100644 --- a/Service/Charger/Msg/Charger/OutCharger/Req/PileChargeCompleteReq.cs +++ b/Service/Charger/Msg/Charger/OutCharger/Req/PileChargeCompleteReq.cs @@ -79,7 +79,7 @@ public class PileChargeCompleteReq : ASDU ///动力蓄电池最高温度(ºC) /// [Property(112, 8, PropertyReadConstant.Bit, 1, 0, 50)] - public byte MaximumTemperatureOfTractionBattery { get; set; } + public float MaximumTemperatureOfTractionBattery { get; set; } /// ///接收SPN2560=0x00 的充电机辨识报文超时 @@ -123,51 +123,57 @@ public class PileChargeCompleteReq : ASDU [Property(132, 2)] public byte TimeReceiveChargingStatisticsMessageOfCharger { get; set; } + /// + ///BMS 检测到的其他错误 + /// + [Property(134, 6)] + public byte OtherErrorsDetectedByBms6 { get; set; } + /// ///接收BMS和车辆的辨识报文超时 /// - [Property(134, 2)] + [Property(140, 2)] public byte TimeoutReceivingIdentificationMessageBms { get; set; } /// ///接收电池充电参数报文超时 /// - [Property(136, 2)] + [Property(142, 2)] public byte TimeoutReceivingBatteryChargingParameterMessage { get; set; } /// ///接收 BMS完成充电准备报文超时 /// - [Property(138, 2)] + [Property(144, 2)] public byte TimeoutReceivingBmsChargingPreparationMessage { get; set; } /// ///接收电池充电要求报文超时 /// - [Property(140, 2)] + [Property(146, 2)] public byte TimeoutReceivingBatteryChargingMessage { get; set; } /// ///接收电池充电总状态报文超时 /// - [Property(142, 2)] + [Property(148, 2)] public byte TimeoutReceivingBatteryChargingTotalStatusMessage { get; set; } /// ///接收BMS中止充电报文超时 /// - [Property(144, 2)] + [Property(150, 2)] public byte TimeoutReceivingBmsChargingSuspensionMessage { get; set; } /// ///接收BMS充电统计报文超时 /// - [Property(146, 2)] + [Property(152, 2)] public byte TimeoutReceivingBmsChargingStatisticsMessage { get; set; } /// ///充电机检测到的其他错误 /// - [Property(148, 6)] + [Property(154, 6)] public byte OtherErrorsDetectedByTheCharger { get; set; } } \ No newline at end of file diff --git a/Service/Charger/Msg/Charger/Req/FinishStopCharging.cs b/Service/Charger/Msg/Charger/Req/FinishStopCharging.cs index 1a56d54..7c9e61b 100644 --- a/Service/Charger/Msg/Charger/Req/FinishStopCharging.cs +++ b/Service/Charger/Msg/Charger/Req/FinishStopCharging.cs @@ -71,7 +71,7 @@ namespace Service.Charger.Msg.Charger.Req ///动力蓄电池最高温度(ºC) /// [Property(104, 8, PropertyReadConstant.Bit, 1, 0, 50)] - public byte MaximumTemperatureOfTractionBattery { get; set; } + public float MaximumTemperatureOfTractionBattery { get; set; } /// ///接收SPN2560=0x00 的充电机辨识报文超时