using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BatCharging.Model { public class CMD7 { /// /// 预留 /// public UInt16 value01 { get; set; } /// /// 预留 /// public UInt16 value02 { get; set; } /// /// 充电枪口 /// public byte value03 { get; set; } /// /// 充电生效类型 /// 0:即时充电 /// 1:定时启动充电 /// 2:预约充电 /// public UInt32 value04 { get; set; } /// /// 界面充电停止密码 /// 此字段为整数形字段建议为用户卡号最后 4 位, /// 若服务器没有下发此字段, /// 桩默认取充电卡号的最后 4 /// 位 , 如 卡 号 /// “1122334455667788”,其 /// 最后 4 位是“7788”,而不 /// 是 0,若后台不下发此字段, /// 默认使用 0 填充,此数为 0 /// 时桩自动取字段10的未 4/6 /// 位当做停止充电密码。 /// public UInt32 value05 { get; set; } /// /// 充电策略 /// 0:充满为止 /// 1:按时间充电 /// 2:按金额充电 /// 3:按电量充电 /// public UInt32 value06 { get; set; } /// /// 充电策略参数 /// 时间单位为 1 秒 /// 金额单位为 0.01 元 /// 电量时单位为 0.01kw /// public UInt32 value07 { get; set; } /// /// 预约/定时启动时间(标准时间) /// public UInt64 value08 { get; set; } /// /// 预约超时时间(单位分钟) /// public byte value09 { get; set; } /// /// 用户卡号/用户识别号(内容只能”0~9、A~Z、a~z 字符 ASCII 码,不够长度填’\0’) /// public UInt32 value10 { get; set; } /// /// 断网充电标志 /// 0-不允许 /// 1-允许 /// public byte value11 { get; set; } /// /// 离线时本次最大可充电总电量 /// 分辨率 0.01kw若字段 11、12 都是 0,表示不限制离线可充电量,即允许客户在桩离线时充满电 /// public UInt32 value12 { get; set; } /// /// 充电流水号 32 /// public string value13 { get; set; } /// /// BMS 辅源电压 /// public byte value14 { get; set; } /// /// 用户账号余额 /// public UInt32 value15 { get; set; } /// /// 充放电标志 /// public byte value16 { get; set; } } }