using System;
namespace BatCharging.Model
{
public class StopCharging: ASDU
{
///
/// 成功标识
///
public byte Result { get; set; }
///
//失败原因
///
public byte FailReason { get; set; }
///
//BMS 中止充电原因
//
public byte SuspendingChargingReason { get; set; }
///
//BMS 充电故障原因
///
public UInt16 CauseOfChargingFault { get; set; }
///
//BMS 中止错误原因
///
public byte AbortErrorReason { get; set; }
///
//中止荷电状态 SOC(%)
///
public byte SuspendTheStateOfCharge { get; set; }
///
//动力蓄电池单体最低电压(V)
///
public UInt16 MinimumVoltageOfTractionBattery { get; set; }
///
//动力蓄电池单体最高电压(V)
///
public UInt16 MaximumVoltageOfTractionBattery { get; set; }
///
//动力蓄电池最低温度(ºC)
///
public byte MinimumTemperatureOfTractionBattery { get; set; }
///
//动力蓄电池最高温度(ºC)
///
public byte MaximumTemperatureOfTractionBattery { get; set; }
///
//接收SPN2560=0x00 的充电机辨识报文超时
///
public UInt16 XOOIdentificationMessageTimeout { get; set; }
///
//接收SPN2560=0xAA 的充电机辨识报文超时
///
public UInt16 XAAIdentificationMessageTimeout { get; set; }
///
//接收充电机的时间同步和充电机最大输出能力报文超时
///
public UInt16 TimeSyncAndMaxOutCapTimeout { get; set; }
///
//接收充电机完成充电准备报文超时
///
public UInt16 ReceiveFinishPrepareChargeTimeout { get; set; }
///
//接收充电机充电状态报文超时
///
public UInt16 TimeReceiveChargerStatusMessage { get; set; }
///
//接收充电机中止充电报文超时
///
public UInt16 TimeReceiveChargingSuspensionMessage { get; set; }
//
//接收充电机充电统计报文超时
///
public UInt16 TimeReceiveChargingStatisticsMessageOfCharger { get; set; }
///
//BMS 检测到的其他错误
///
public byte OtherErrorsDetectedByBms6 { get; set; }
///
//接收BMS和车辆的辨识报文超时
///
public UInt16 TimeoutReceivingIdentificationMessageBms { get; set; }
///
//接收电池充电参数报文超时
///
public UInt16 TimeoutReceivingBatteryChargingParameterMessage { get; set; }
///
//接收 BMS完成充电准备报文超时
///
public UInt16 TimeoutReceivingBmsChargingPreparationMessage { get; set; }
///
//接收电池充电要求报文超时
///
public UInt16 TimeoutReceivingBatteryChargingMessage { get; set; }
///
//接收电池充电总状态报文超时
///
public UInt16 TimeoutReceivingBatteryChargingTotalStatusMessage { get; set; }
///
//接收BMS中止充电报文超时
///
public UInt16 TimeoutReceivingBmsChargingSuspensionMessage { get; set; }
///
//接收BMS充电统计报文超时
///
public UInt16 TimeoutReceivingBmsChargingStatisticsMessage { get; set; }
///
//充电机检测到的其他错误
///
public UInt16 OtherErrorsDetectedByTheCharger { get; set; }
public StopCharging()
{
this.FrameTypeNo = 45;
//this.SetReason(3);
this.MsgBodyCount = 1;
//this.RecordType = 3;
}
}
}