using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HybirdFrameworkEntity { public class CMD402 { /// /// 预留 /// public ushort Reserved1 { get; set; } /// /// 预留 /// public ushort Reserved2 { get; set; } /// /// 充电桩编码 32byte ASCLL 编码 /// public string ASCIINum { get; set; } /// /// 充电桩位置类型 /// 1-直流 2-交流 /// public byte PosType { get; set; } /// /// 充电枪口 /// public byte ChargGun { get; set; } /// /// 充电卡号 32byte ASCLL /// public string ChargCardID { get; set; } /// /// 充电开始时间 标准时间 /// public string ChargStartTime { get; set; } /// /// 充电结束时间 标准时间 /// public string ChargEndTime { get; set; } /// /// 4byte 单位秒 /// public uint ChargTimeLength { get; set; } /// /// 开始SOC /// public byte SOCStart { get; set; } /// /// 结束SOC /// public byte SOCEnd { get; set; } /// /// 充电结束原因 4byte /// public string ChargEndReason { get; set; } /// /// 本次充电电量 /// 命令 402 报文此字段单位是0.01kWh/bit /// 命令 422 报 文 此 字 段 单 位 是0.001kWh/bit /// public string ChargCapacity { get; set; } /// /// 充电前电表读数 /// public uint SAmmeterValue { get; set; } /// /// 充电后电表读数 /// public uint EAmmeterValue { get; set; } /// /// 本次充电金额 /// public uint ChargeAmount { get; set; } /// /// 内部索引号 /// 每一条充电记录都唯一编号有符号整形,-1 表示查询失败 /// public uint IndexNum { get; set; } /// /// 充电之前卡余额 /// 只有在刷卡启动及卡里有金额的应用模式才有效 /// public uint InitialBalance { get; set; } /// /// 当前充电记录索引 /// public uint ChargRecordIndex { get; set; } /// /// 总充电记录条目 /// public uint TotalChargeRecord { get; set; } /// /// 预留 /// public byte Reserved3 { get; set; } /// /// 充电策略 /// 0-充满为止 、1-时间控制充电 、2-金额控制充电 、3-电量控制充电 /// public byte ChargStrategy { get; set; } /// /// 充电策略参数 /// 时间单位为1秒 /// 金额单位为0.01元 /// 电量时单位为0.01kw /// public string ChargStrategyPara { get; set; } /// /// 车辆VIN 直流桩上传,没有填’\0’ /// public string VINCar { get; set; } /// /// 车牌号 /// public string CarID { get; set; } /// /// 时段 1 充电电量 /// 48 时段费率模型(1103)生效:[00:00:00~00:30:00] /// 分时段费率模型(1105)生效:时段 1 /// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit /// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit /// public string ChargCapacity01 { get; set; } /// /// 时段 2 充电电量 /// 48 时段费率模型(1103)生效:[00:30:00~01:00:00] /// 分时段费率模型(1105)生效:时段 2 /// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit /// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit /// public string ChargCapacity02 { get; set; } /// /// 时段 3 充电电量 /// 48 时段费率模型(1103)生效: [01:00:00~01:30:00] /// 分时段费率模型(1105)生效:时段 3 /// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit /// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit /// public string ChargCapacity03 { get; set; } /// /// 时段 4 充电电量 /// 48 时段费率模型(1103)生效: [01:30:00~02:00:00] /// 分时段费率模型(1105)生效:时段 4 /// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit /// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit /// public string ChargCapacity04 { get; set; } /// /// 时段 5 充电电量 /// 48 时段费率模型(1103)生效:[02:00:00~02:30:00] /// 分时段费率模型(1105)生效:时段 5 /// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit /// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit /// public string ChargCapacity05 { get; set; } /// /// 时段 6 充电电量 /// 48 时段费率模型(1103)生效: [02:30:00~03:00:00] /// 分时段费率模型(1105)生效:时段 6 /// public string ChargCapacity06 { get; set; } /// /// 48 时段费率模型(1103)生效:[03:00:00~03:30:00] /// 分时段费率模型(1105)生效:时段 7 /// public string ChargCapacity07 { get; set; } /// /// 48 时段费率模型(1103)生效:[03:30:00~04:00:00] /// 分时段费率模型(1105)生效:时段 8 /// public string ChargCapacity08 { get; set; } /// /// 48 时段费率模型(1103)生效:[04:00:00~04:30:00] /// 分时段费率模型(1105)生效:时段 9 /// public string ChargCapacity09 { get; set; } /// /// 48 时段费率模型(1103)生效: [04:30:00~05:00:00] /// 分时段费率模型(1105)生效:时段 10 /// public string ChargCapacity10 { get; set; } /// /// 48 时段费率模型(1103)生效:[05:00:00~05:30:00] /// 分时段费率模型(1105)生效:时段 11 /// public string ChargCapacity11 { get; set; } /// /// 48 时段费率模型(1103)生效: [05:30:00~06:00:00] /// 分时段费率模型(1105)生效:时段 12(分时段最大时段数) /// public string ChargCapacity12 { get; set; } /// /// 48 时段费率模型(1103)生效:[06:00:00~06:30:00] /// public string ChargCapacity13 { get; set; } /// /// 48 时段费率模型(1103)生效:[06:30:00~07:00:00] /// public string ChargCapacity14 { get; set; } /// /// 48 时段费率模型(1103)生效:半小时一个时段 /// public string ChargCapacity15 { get; set; } public string ChargCapacity16 { get; set; } public string ChargCapacity17 { get; set; } public string ChargCapacity18 { get; set; } public string ChargCapacity19 { get; set; } public string ChargCapacity20 { get; set; } public string ChargCapacity21 { get; set; } public string ChargCapacity22 { get; set; } public string ChargCapacity23 { get; set; } public string ChargCapacity24 { get; set; } public string ChargCapacity25 { get; set; } public string ChargCapacity26 { get; set; } public string ChargCapacity27 { get; set; } public string ChargCapacity28 { get; set; } public string ChargCapacity29 { get; set; } public string ChargCapacity30 { get; set; } public string ChargCapacity31 { get; set; } public string ChargCapacity32 { get; set; } public string ChargCapacity33 { get; set; } public string ChargCapacity34 { get; set; } public string ChargCapacity35 { get; set; } public string ChargCapacity36 { get; set; } public string ChargCapacity37 { get; set; } public string ChargCapacity38 { get; set; } public string ChargCapacity39 { get; set; } public string ChargCapacity40 { get; set; } public string ChargCapacity41 { get; set; } public string ChargCapacity42 { get; set; } public string ChargCapacity43 { get; set; } public string ChargCapacity44 { get; set; } public string ChargCapacity45 { get; set; } public string ChargCapacity46 { get; set; } public string ChargCapacity47 { get; set; } /// /// [23:30:00~00:00:00] /// public string ChargCapacity48 { get; set; } /// /// 启动方式 0-本地刷卡启动 、1-后台启动 、2-本地管理员启动 /// public byte StartMode { get; set; } /// /// 充电流水号 /// public string SerialNum { get; set; } /// /// 充电服务费 /// public uint ChargServiceCost { get; set; } /// /// 千分位电量 /// 如平台不对电量第三位小数做强检要求可忽略本字段。 /// 如本字段为:0x09,千分位电量为 0.009Kw* h /// public string KilElectricity { get; set; } /// /// 并充标志 /// 0/1-单枪充电 /// 2-单机柜双枪并充充电 /// 3-双机柜双枪并充充电 /// public byte ParallelMark { get; set; } } }