You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

154 lines
4.9 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HybirdFrameworkServices
{
public class CMD110
{
/// <summary>
/// 预留
/// </summary>
public ushort Reserved1 { get; set; }
/// <summary>
/// 预留
/// </summary>
public ushort Reserved2 { get; set; }
/// <summary>
/// 充电桩编码 32
/// </summary>
public string ASCIINum { get; set; }
/// <summary>
/// 充电枪号
/// </summary>
public byte ChargGunNum { get; set; }
/// <summary>
/// 充电失败原因 0成功
/// </summary>
public uint ChargeFail { get; set; }
/// <summary>
/// 发送此报文原因
/// </summary>
public ushort SendMessage { get; set; }
/// <summary>
/// 预留
/// </summary>
public ushort Reserved3 { get; set; }
/// <summary>
/// 预留
/// </summary>
public uint Reserved4 { get; set; }
/// <summary>
/// BRM-BMS 通讯协议版本号 3
/// </summary>
public string 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-电池组生厂日期:年
/// 如 0x07 0xdf 表示 2015
/// </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 Reserved5 { get; set; }
/// <summary>
/// BRM-车辆识别码 vin 17
/// </summary>
public string BRMVINID { get; set; }
/// <summary>
/// BRM-BMS 软件版本号
///
/// Byte1 表示版本流水号:
/// 0x01~0xfe
/// byte2 表示日0x01 表示 1日
/// byte30x01 表示 1 月;
/// byte4 和 byte5 表示年:0x07
/// 0xdf 表示 2015 年;
/// Byte6和byte7、byte8预留
/// 填 0xffffff
/// </summary>
public string BRMBMSSoftVerNum { get; set; }
/// <summary>
/// BCP-单体动力蓄电池最高允许充电电压
/// </summary>
public float MaxChargVoltage { get; set; }
/// <summary>
/// BCP-最高允许充电电流
/// </summary>
public float MaxChargCurrent { get; set; }
/// <summary>
/// BCP-动力蓄电池标称总能量
/// </summary>
public float TotalEnergy { get; set; }
/// <summary>
/// BCP-最高允许充电总电压
/// </summary>
public float MaxTotalVoltage { get; set; }
/// <summary>
/// BCP-最高允许温度
/// </summary>
public byte MaxTemp { get; set; }
/// <summary>
/// BCP-整车动力蓄电池荷电状态
/// </summary>
public float ChargeState { get; set; }
/// <summary>
/// BCP-整车动力蓄电池当前电池电压
/// </summary>
public float CellVoltage { get; set; }
/// <summary>
/// 充电流水号 32
/// </summary>
public string ChargSerialNum { get; set; }
}
}