|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace HybirdFrameworkEntity
|
|
|
{
|
|
|
public class CMD302
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public ushort Reserved1 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public ushort Reserved2 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 报文次序计数
|
|
|
/// </summary>
|
|
|
public ushort MessageOrderNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电枪号
|
|
|
/// </summary>
|
|
|
public ushort ChargGunNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电桩编码 32
|
|
|
/// </summary>
|
|
|
public string ASCIINum { get; set; }
|
|
|
/// <summary>
|
|
|
/// 工作状态
|
|
|
/// <para>0-空闲中</para>
|
|
|
/// <para>1-正准备开始充电</para>
|
|
|
/// <para>2-充电进行中</para>
|
|
|
/// <para>3-充电结束</para>
|
|
|
/// <para>4-启动失败</para>
|
|
|
/// <para>5-预约状态</para>
|
|
|
/// <para>6-系统故障(不能给汽车充电)</para>
|
|
|
/// </summary>
|
|
|
public byte WorkState { get; set; }
|
|
|
/// <summary>
|
|
|
/// 车连接状态
|
|
|
/// <para>0-断开</para>
|
|
|
/// <para>1-半连接</para>
|
|
|
/// <para>2-连接</para>
|
|
|
/// </summary>
|
|
|
public byte connectState { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-BMS 通讯协议版本号
|
|
|
/// </summary>
|
|
|
public byte BRMBMSVersionNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池类型
|
|
|
/// <para>0x01-铅酸电池,</para>
|
|
|
/// <para>0x02-镍氢电池,</para>
|
|
|
/// <para>0x03-磷酸铁锂电池,</para>
|
|
|
/// <para>0x04-锰酸锂电池,</para>
|
|
|
/// <para>0x05-钴酸锂电池,</para>
|
|
|
/// <para>0x06-三元次料电池,</para>
|
|
|
/// <para>0x07-聚合物锂离子电池,</para>
|
|
|
/// <para>0x08-钛酸锂电池,</para>
|
|
|
/// <para>0xff-其他电池</para>
|
|
|
/// </summary>
|
|
|
public byte BRMBatteryType { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-整车动力蓄电池系统额定容量/Ah
|
|
|
/// </summary>
|
|
|
public uint BRMRatedCapacity { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-整车动力蓄电池系统额定总电压/V
|
|
|
/// </summary>
|
|
|
public uint BRMRatedVoltage { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池生产厂商
|
|
|
/// </summary>
|
|
|
public uint BRMBatteryManu { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组序号
|
|
|
/// </summary>
|
|
|
public uint BRMBatteryPackID { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组生厂日期:年
|
|
|
/// </summary>
|
|
|
public ushort BRMDateYear { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组生厂日期:月
|
|
|
/// </summary>
|
|
|
public byte BRMDateMonth { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组生厂日期:日
|
|
|
/// </summary>
|
|
|
public byte BRMDateDay { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组充电次数
|
|
|
/// </summary>
|
|
|
public uint BRMChargeCount { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组产权标识
|
|
|
/// <para>0X01-表示租赁</para>
|
|
|
/// <para>0x01 表示车自有</para>
|
|
|
/// </summary>
|
|
|
public byte BRMTitleMark { get; set; }
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public byte Reserved3 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-车辆识别码 vin 17
|
|
|
/// </summary>
|
|
|
public string BRMVINID { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-BMS 软件版本号
|
|
|
/// Byte1 表示版本流水号:0x01~0xfe;
|
|
|
/// byte2 表示日:0x01 表示 1 日;
|
|
|
/// byte3:0x01 表示 1 月;
|
|
|
/// byte4 和 byte5 表示年:0x07 0xdf 表示2015 年;
|
|
|
/// Byte6 和 byte7、byte8 预留,填 0xffffff
|
|
|
/// </summary>
|
|
|
public ulong BRMBMSSoftVerNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-单体动力蓄电池最高允许充电电压
|
|
|
/// </summary>
|
|
|
public uint MaxChargVoltage { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-最高允许充电电流
|
|
|
/// </summary>
|
|
|
public uint MaxChargCurrent { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-动力蓄电池标称总能量
|
|
|
/// </summary>
|
|
|
public uint TotalEnergy { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-最高允许充电总电压
|
|
|
/// </summary>
|
|
|
public uint MaxTotalVoltage { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-最高允许温度
|
|
|
/// </summary>
|
|
|
public byte MaxTemp { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-整车动力蓄电池荷电状态
|
|
|
/// </summary>
|
|
|
public ushort ChargeState { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-整车动力蓄电池当前电池电压
|
|
|
/// </summary>
|
|
|
public uint CellVoltage { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRO-BMS 是否充电准备好
|
|
|
/// </summary>
|
|
|
public byte ChargePrepared { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCL-电压需求
|
|
|
/// </summary>
|
|
|
public uint BCLVoltage { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCL-电流需求
|
|
|
/// </summary>
|
|
|
public uint BCLCurrent { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCL-充电模式
|
|
|
/// </summary>
|
|
|
public byte BCLChargMode { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-充电电压测量值
|
|
|
/// </summary>
|
|
|
public uint BCSVoltageValue { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-充电电流测量值
|
|
|
/// </summary>
|
|
|
public uint BCSCurrentValue { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-最高单体动力蓄电池电压
|
|
|
/// </summary>
|
|
|
public uint BCSVoltageMAX { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-最高单体动力蓄电池组号
|
|
|
/// </summary>
|
|
|
public byte BCSBatteryNumMAX { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-当前荷电状态soc%
|
|
|
/// </summary>
|
|
|
public ushort BCSChargState { get; set; }
|
|
|
/// <summary>
|
|
|
/// 估算剩余充电时间
|
|
|
/// </summary>
|
|
|
public uint ReChargeTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最高单体动力蓄电池电压所在编号
|
|
|
/// </summary>
|
|
|
public byte BSMNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最高动力蓄电池温度
|
|
|
/// </summary>
|
|
|
public byte BSMMaxTemp { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最高温度检测点编号
|
|
|
/// </summary>
|
|
|
public byte MaxTempPointNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最低动力蓄电池温度
|
|
|
/// </summary>
|
|
|
public byte MinBatteryTemp { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最低动力蓄电池温度检测点编号
|
|
|
/// </summary>
|
|
|
public byte MinTempPointNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-单体动力蓄电池电压过高或过低
|
|
|
/// <para>0x00-正常</para>
|
|
|
/// <para>0x01-过高</para>
|
|
|
/// <para>0x10-过低</para>
|
|
|
/// </summary>
|
|
|
public byte voltageHighLow { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-整车动力蓄电池荷电状态 soc 过高或过低
|
|
|
/// </summary>
|
|
|
public byte ChargStateHighLow { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池充电过电流
|
|
|
/// </summary>
|
|
|
public byte BmsOvercurrent { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池温度过高
|
|
|
/// </summary>
|
|
|
public byte TempHigh { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池绝缘状态
|
|
|
/// </summary>
|
|
|
public byte InsulatState { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池组输出连接器连接状态
|
|
|
/// </summary>
|
|
|
public byte ConnectState { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-允许充电
|
|
|
/// </summary>
|
|
|
public byte AllowCharge { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-BMS 达到所需求的SOC 目标值
|
|
|
/// </summary>
|
|
|
public byte SOCTargetValue { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-BMS 达到总电压的设定值
|
|
|
/// </summary>
|
|
|
public byte SumVoltageSetValue { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-达到单体电压的设定值
|
|
|
/// </summary>
|
|
|
public byte VoltageSetValue { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-充电机主动终止
|
|
|
/// </summary>
|
|
|
public byte ChargeEnd { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-绝缘故障
|
|
|
/// </summary>
|
|
|
public byte InsulatFault { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-输出连接器过温故障1
|
|
|
/// </summary>
|
|
|
public byte OvertempFault { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-BMS 元件,输出连接器过温10x00-正常,0x01-故障,0x10-不可信状态
|
|
|
/// </summary>
|
|
|
public byte Overtemp { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-充电连接器故障
|
|
|
/// </summary>
|
|
|
public byte ConnectorFault { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-电池组温度过高故障
|
|
|
/// </summary>
|
|
|
public byte ChargOvertempFault { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-高压继电器故障
|
|
|
/// </summary>
|
|
|
public byte HVoltageFault { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-检测点 2 电压检测故障
|
|
|
/// </summary>
|
|
|
public byte VoltageSenseFault { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-其他故障
|
|
|
/// </summary>
|
|
|
public byte OtherFault { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-电流过大
|
|
|
/// </summary>
|
|
|
public byte Overcurrent { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-电压异常
|
|
|
/// </summary>
|
|
|
public byte VoltageAnomaly { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-终止荷电状态 soc
|
|
|
/// </summary>
|
|
|
public ushort EndChargState { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池单体最低电压
|
|
|
/// </summary>
|
|
|
public uint MinVoltage { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池单体最高电压
|
|
|
/// </summary>
|
|
|
public uint MaxVoltage { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池最低温度
|
|
|
/// </summary>
|
|
|
public byte MinChargTemp { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池最高温度
|
|
|
/// </summary>
|
|
|
public byte MaxChargTemp { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收SPN2560=0x00 的充电机辨识报文超时
|
|
|
/// </summary>
|
|
|
public byte ReceiveTimeout1 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收SPN2560=0xaa 的充电机辨识报文超时
|
|
|
/// </summary>
|
|
|
public byte ReceiveTimeout2 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机的时间同步和最大输出能力报文超时
|
|
|
/// </summary>
|
|
|
public byte ReceiveTimeout3 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机完成充电准备报文超时
|
|
|
/// </summary>
|
|
|
public byte ReceiveTimeout4 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机充电状态报文超时
|
|
|
/// </summary>
|
|
|
public byte ReceiveTimeout5 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机终止充电报文超时
|
|
|
/// </summary>
|
|
|
public byte ReceiveTimeout6 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机充电统计报文超时
|
|
|
/// </summary>
|
|
|
public byte ReceiveTimeout7 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-其他
|
|
|
/// </summary>
|
|
|
public byte Other { get; set; }
|
|
|
|
|
|
}
|
|
|
}
|