|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace BatCharging.Model
|
|
|
{
|
|
|
public class CMD402
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public UInt16 reserved1 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public UInt16 reserved2 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电桩编码 32byte ASCLL 编码
|
|
|
/// </summary>
|
|
|
public string chargingStationCode { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电桩位置类型
|
|
|
/// 1-直流 2-交流
|
|
|
/// </summary>
|
|
|
public byte chargingLocationType { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电枪口
|
|
|
/// </summary>
|
|
|
|
|
|
public byte chargingMuzzle { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电卡号 32byte ASCLL
|
|
|
/// </summary>
|
|
|
public string chargingCardName { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电开始时间 标准时间
|
|
|
/// </summary>
|
|
|
public string chargingStartTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电结束时间 标准时间
|
|
|
/// </summary>
|
|
|
public string chargingEndTime { get; set; }
|
|
|
/// <summary>
|
|
|
/// 4byte 单位秒
|
|
|
/// </summary>
|
|
|
public UInt32 chargingTimeLen { get; set; }
|
|
|
/// <summary>
|
|
|
/// 开始SOC
|
|
|
/// </summary>
|
|
|
public byte startSoc { get; set; }
|
|
|
/// <summary>
|
|
|
/// 结束SOC
|
|
|
/// </summary>
|
|
|
public byte endSoc { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电结束原因 4byte
|
|
|
/// </summary>
|
|
|
public string chargingEndReason { get; set; }
|
|
|
/// <summary>
|
|
|
/// 本次充电电量
|
|
|
/// 命令 402 报文此字段单位是0.01kWh/bit
|
|
|
/// 命令 422 报 文 此 字 段 单 位 是0.001kWh/bit
|
|
|
/// </summary>
|
|
|
public string currentChargingLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电前电表读数
|
|
|
/// </summary>
|
|
|
public UInt32 beforeChargingElectMeter { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电后电表读数
|
|
|
/// </summary>
|
|
|
public UInt32 behindChargingElectMeter { get; set; }
|
|
|
/// <summary>
|
|
|
/// 本次充电金额
|
|
|
/// </summary>
|
|
|
public UInt32 currentChargingMoney { get; set; }
|
|
|
/// <summary>
|
|
|
/// 内部索引号
|
|
|
/// 每一条充电记录都唯一编号有符号整形,-1 表示查询失败
|
|
|
/// </summary>
|
|
|
public UInt32 insertIndexNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电之前卡余额
|
|
|
/// 只有在刷卡启动及卡里有金额的应用模式才有效
|
|
|
/// </summary>
|
|
|
public UInt32 beforeChargingCardBalance { get; set; }
|
|
|
/// <summary>
|
|
|
/// 当前充电记录索引
|
|
|
/// </summary>
|
|
|
public UInt32 currentChargingRecordIndex { get; set; }
|
|
|
/// <summary>
|
|
|
/// 总充电记录条目
|
|
|
/// </summary>
|
|
|
public UInt32 allCharingRecordEntry { get; set; }
|
|
|
/// <summary>
|
|
|
/// 预留
|
|
|
/// </summary>
|
|
|
public byte reserved3 { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电策略
|
|
|
/// 0-充满为止 、1-时间控制充电 、2-金额控制充电 、3-电量控制充电
|
|
|
/// </summary>
|
|
|
public byte chargingStrategy { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电策略参数
|
|
|
/// 时间单位为1秒
|
|
|
/// 金额单位为0.01元
|
|
|
/// 电量时单位为0.01kw
|
|
|
/// </summary>
|
|
|
public string chargingStrategyPara { get; set; }
|
|
|
/// <summary>
|
|
|
/// 车辆VIN 直流桩上传,没有填’\0’
|
|
|
/// </summary>
|
|
|
public string carVin { get; set; }
|
|
|
/// <summary>
|
|
|
/// 车牌号
|
|
|
/// </summary>
|
|
|
public string carNum { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 时段 1 充电电量
|
|
|
/// 48 时段费率模型(1103)生效:[00:00:00~00:30:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 1
|
|
|
/// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit
|
|
|
/// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval1ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 时段 2 充电电量
|
|
|
/// 48 时段费率模型(1103)生效:[00:30:00~01:00:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 2
|
|
|
/// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit
|
|
|
/// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval2ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 时段 3 充电电量
|
|
|
/// 48 时段费率模型(1103)生效: [01:00:00~01:30:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 3
|
|
|
/// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit
|
|
|
/// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval3ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 时段 4 充电电量
|
|
|
/// 48 时段费率模型(1103)生效: [01:30:00~02:00:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 4
|
|
|
/// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit
|
|
|
/// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval4ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 时段 5 充电电量
|
|
|
/// 48 时段费率模型(1103)生效:[02:00:00~02:30:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 5
|
|
|
/// 命令 402 报文此字段是 2 字节,单位是 0.01kWh/bit
|
|
|
/// 命令 422 报文此字段是 4 字节,单位是 0.001kWh/bit
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval5ChargingElectLevel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 时段 6 充电电量
|
|
|
/// 48 时段费率模型(1103)生效: [02:30:00~03:00:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 6
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval6ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效:[03:00:00~03:30:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 7
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval7ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效:[03:30:00~04:00:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 8
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval8ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效:[04:00:00~04:30:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 9
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval9ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效: [04:30:00~05:00:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 10
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval10ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效:[05:00:00~05:30:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 11
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval11ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效: [05:30:00~06:00:00]
|
|
|
/// 分时段费率模型(1105)生效:时段 12(分时段最大时段数)
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval12ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效:[06:00:00~06:30:00]
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval13ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效:[06:30:00~07:00:00]
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval14ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 48 时段费率模型(1103)生效:半小时一个时段
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval15ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval16ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval17ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval18ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval19ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval20ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval21ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval22ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval23ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval24ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval25ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval26ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval27ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval28ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval29ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval30ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval31ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval32ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval33ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval34ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval35ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval36ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval37ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval38ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval39ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval40ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval41ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval42ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval43ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval44ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval45ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval46ChargingElectLevel { get; set; }
|
|
|
public string timeUInt32erval47ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// [23:30:00~00:00:00]
|
|
|
/// </summary>
|
|
|
public string timeUInt32erval48ChargingElectLevel { get; set; }
|
|
|
/// <summary>
|
|
|
/// 启动方式 0-本地刷卡启动 、1-后台启动 、2-本地管理员启动
|
|
|
/// </summary>
|
|
|
public byte startWay { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电流水号
|
|
|
/// </summary>
|
|
|
public string chargingSerialNum { get; set; }
|
|
|
/// <summary>
|
|
|
/// 充电服务费
|
|
|
/// </summary>
|
|
|
public UInt32 chargingServiceCharge { get; set; }
|
|
|
/// <summary>
|
|
|
/// 千分位电量
|
|
|
/// 如平台不对电量第三位小数做强检要求可忽略本字段。
|
|
|
/// 如本字段为:0x09,千分位电量为 0.009Kw* h
|
|
|
/// </summary>
|
|
|
public string millennialpowerConsumption { get; set; }
|
|
|
/// <summary>
|
|
|
/// 并充标志
|
|
|
/// 0/1-单枪充电
|
|
|
/// 2-单机柜双枪并充充电
|
|
|
/// 3-双机柜双枪并充充电
|
|
|
/// </summary>
|
|
|
public byte parallelChargingMark { get; set; }
|
|
|
}
|
|
|
}
|