|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace BatCharging.Model
|
|
|
{
|
|
|
public class CMD302
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public UInt16 value01 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public UInt16 value02 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 报文次序计数
|
|
|
/// </summary>
|
|
|
public UInt16 value03 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电枪号
|
|
|
/// </summary>
|
|
|
public UInt16 value04 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电桩编码 32
|
|
|
/// </summary>
|
|
|
public string value05 { 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 value06 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 车连接状态
|
|
|
/// <para>0-断开</para>
|
|
|
/// <para>1-半连接</para>
|
|
|
/// <para>2-连接</para>
|
|
|
/// </summary>
|
|
|
public byte value07 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-BMS 通讯协议版本号
|
|
|
/// </summary>
|
|
|
public byte value08 { 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 value09 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-整车动力蓄电池系统额定容量/Ah
|
|
|
/// </summary>
|
|
|
public UInt32 value10 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-整车动力蓄电池系统额定总电压/V
|
|
|
/// </summary>
|
|
|
public UInt32 value11 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池生产厂商
|
|
|
/// </summary>
|
|
|
public UInt32 value12 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组序号
|
|
|
/// </summary>
|
|
|
public UInt32 value13 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组生厂日期:年
|
|
|
/// </summary>
|
|
|
public UInt16 value14 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组生厂日期:月
|
|
|
/// </summary>
|
|
|
public byte value15 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组生厂日期:日
|
|
|
/// </summary>
|
|
|
public byte value16 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组充电次数
|
|
|
/// </summary>
|
|
|
public UInt32 value17 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-电池组产权标识
|
|
|
/// <para>0X01-表示租赁</para>
|
|
|
/// <para>0x01 表示车自有</para>
|
|
|
/// </summary>
|
|
|
public byte value18 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public byte value19 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRM-车辆识别码 vin 17
|
|
|
/// </summary>
|
|
|
public string value20 { 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 UInt64 value21 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-单体动力蓄电池最高允许充电电压
|
|
|
/// </summary>
|
|
|
public UInt32 value22 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-最高允许充电电流
|
|
|
/// </summary>
|
|
|
public UInt32 value23 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-动力蓄电池标称总能量
|
|
|
/// </summary>
|
|
|
public UInt32 value24 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-最高允许充电总电压
|
|
|
/// </summary>
|
|
|
public UInt32 value25 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-最高允许温度
|
|
|
/// </summary>
|
|
|
public byte value26 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-整车动力蓄电池荷电状态
|
|
|
/// </summary>
|
|
|
public UInt16 value27 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCP-整车动力蓄电池当前电池电压
|
|
|
/// </summary>
|
|
|
public UInt32 value28 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BRO-BMS 是否充电准备好
|
|
|
/// </summary>
|
|
|
public byte value29 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCL-电压需求
|
|
|
/// </summary>
|
|
|
public UInt32 value30 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCL-电流需求
|
|
|
/// </summary>
|
|
|
public UInt32 value31 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCL-充电模式
|
|
|
/// </summary>
|
|
|
public byte value32 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-充电电压测量值
|
|
|
/// </summary>
|
|
|
public UInt32 value33 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-充电电流测量值
|
|
|
/// </summary>
|
|
|
public UInt32 value34 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-最高单体动力蓄电池电压
|
|
|
/// </summary>
|
|
|
public UInt32 value35 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-最高单体动力蓄电池组号
|
|
|
/// </summary>
|
|
|
public byte value36 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BCS-当前荷电状态soc%
|
|
|
/// </summary>
|
|
|
public UInt16 value37 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 估算剩余充电时间
|
|
|
/// </summary>
|
|
|
public UInt32 value38 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最高单体动力蓄电池电压所在编号
|
|
|
/// </summary>
|
|
|
public byte value39 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最高动力蓄电池温度
|
|
|
/// </summary>
|
|
|
public byte value40 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最高温度检测点编号
|
|
|
/// </summary>
|
|
|
public byte value41 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最低动力蓄电池温度
|
|
|
/// </summary>
|
|
|
public byte value42 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-最低动力蓄电池温度检测点编号
|
|
|
/// </summary>
|
|
|
public byte value43 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-单体动力蓄电池电压过高或过低
|
|
|
/// <para>0x00-正常</para>
|
|
|
/// <para>0x01-过高</para>
|
|
|
/// <para>0x10-过低</para>
|
|
|
/// </summary>
|
|
|
public byte value44 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-整车动力蓄电池荷电状态 soc 过高或过低
|
|
|
/// </summary>
|
|
|
public byte value45 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池充电过电流
|
|
|
/// </summary>
|
|
|
public byte value46 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池温度过高
|
|
|
/// </summary>
|
|
|
public byte value47 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池绝缘状态
|
|
|
/// </summary>
|
|
|
public byte value48 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-动力蓄电池组输出连接器连接状态
|
|
|
/// </summary>
|
|
|
public byte value49 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSM-允许充电
|
|
|
/// </summary>
|
|
|
public byte value50 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-BMS 达到所需求的SOC 目标值
|
|
|
/// </summary>
|
|
|
public byte value51 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-BMS 达到总电压的设定值
|
|
|
/// </summary>
|
|
|
public byte value52 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-达到单体电压的设定值
|
|
|
/// </summary>
|
|
|
public byte value53 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-充电机主动终止
|
|
|
/// </summary>
|
|
|
public byte value54 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-绝缘故障
|
|
|
/// </summary>
|
|
|
public byte value55 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-输出连接器过温故障1
|
|
|
/// </summary>
|
|
|
public byte value56 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-BMS 元件,输出连接器过温10x00-正常,0x01-故障,0x10-不可信状态
|
|
|
/// </summary>
|
|
|
public byte value57 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-充电连接器故障
|
|
|
/// </summary>
|
|
|
public byte value58 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-电池组温度过高故障
|
|
|
/// </summary>
|
|
|
public byte value59 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-高压继电器故障
|
|
|
/// </summary>
|
|
|
public byte value60 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-检测点 2 电压检测故障
|
|
|
/// </summary>
|
|
|
public byte value61 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-其他故障
|
|
|
/// </summary>
|
|
|
public byte value62 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-电流过大
|
|
|
/// </summary>
|
|
|
public byte value63 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BST-电压异常
|
|
|
/// </summary>
|
|
|
public byte value64 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-终止荷电状态 soc
|
|
|
/// </summary>
|
|
|
public UInt16 value65 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池单体最低电压
|
|
|
/// </summary>
|
|
|
public UInt32 value66 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池单体最高电压
|
|
|
/// </summary>
|
|
|
public UInt32 value67 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池最低温度
|
|
|
/// </summary>
|
|
|
public byte value68 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BSD-动力蓄电池最高温度
|
|
|
/// </summary>
|
|
|
public byte value69 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收SPN2560=0x00 的充电机辨识报文超时
|
|
|
/// </summary>
|
|
|
public byte value70 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收SPN2560=0xaa 的充电机辨识报文超时
|
|
|
/// </summary>
|
|
|
public byte value71 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机的时间同步和最大输出能力报文超时
|
|
|
/// </summary>
|
|
|
public byte value72 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机完成充电准备报文超时
|
|
|
/// </summary>
|
|
|
public byte value73 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机充电状态报文超时
|
|
|
/// </summary>
|
|
|
public byte value74 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机终止充电报文超时
|
|
|
/// </summary>
|
|
|
public byte value75 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-接收充电机充电统计报文超时
|
|
|
/// </summary>
|
|
|
public byte value76 { get; set; }
|
|
|
/// <summary>
|
|
|
/// BEM-其他
|
|
|
/// </summary>
|
|
|
public byte value77 { get; set; }
|
|
|
|
|
|
}
|
|
|
}
|