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.
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 CMD7
{
/// <summary>
/// 预留
/// </summary>
public ushort Reserved1 { get ; set ; }
/// <summary>
/// 预留
/// </summary>
public ushort Reserved { get ; set ; }
/// <summary>
/// 充电枪口
/// </summary>
public byte ChargMuzzle { get ; set ; }
/// <summary>
/// 充电生效类型
/// <para>0:即时充电</para>
/// <para>1:定时启动充电</para>
/// <para>2:预约充电</para>
/// </summary>
public uint ChargeType { get ; set ; }
/// <summary>
/// 界面充电停止密码
/// <para>此字段为整数形字段建议为用户卡号最后 4 位,
/// 若服务器没有下发此字段,
/// 桩默认取充电卡号的最后 4
/// 位 , 如 卡 号
/// “1122334455667788”, 其
/// 最后 4 位是“7788”, 而不
/// 是 0, 若后台不下发此字段,
/// 默认使用 0 填充,此数为 0
/// 时桩自动取字段10的未 4/6
/// 位当做停止充电密码。</para>
/// </summary>
public uint ChargeStopPassword { get ; set ; }
/// <summary>
/// 充电策略
/// <para>0:充满为止</para>
/// <para>1:按时间充电</para>
/// <para>2:按金额充电</para>
/// <para>3:按电量充电</para>
/// </summary>
public uint ChargStrategy { get ; set ; }
/// <summary>
/// 充电策略参数
/// <para>时间单位为 1 秒</para>
/// <para>金额单位为 0.01 元</para>
/// <para>电量时单位为 0.01kw</para>
/// </summary>
public uint ChargStrategyPara { get ; set ; }
/// <summary>
/// 预约/定时启动时间(标准时间)
/// </summary>
public ulong ScheduleStartupTime { get ; set ; }
/// <summary>
/// 预约超时时间(单位分钟)
/// </summary>
public byte OutTime { get ; set ; }
/// <summary>
/// 用户卡号/用户识别号(内容只能”0~9、A~Z、a~z 字符 ASCII 码,不够长度填’\0’ )
/// </summary>
public string CardNumber { get ; set ; }
/// <summary>
/// 断网充电标志
/// <para>0-不允许</para>
/// <para>1-允许</para>
/// </summary>
public byte NetOutageSign { get ; set ; }
/// <summary>
/// 离线时本次最大可充电总电量
/// <para>分辨率 0.01kw若字段 11、12 都是 0, 表示不限制离线可充电量, 即允许客户在桩离线时充满电</para>
/// </summary>
public uint MaxElectric { get ; set ; }
/// <summary>
/// 充电流水号 32
/// </summary>
public string SerialNum { get ; set ; }
/// <summary>
/// BMS 辅源电压
/// </summary>
public byte BMSVoltage { get ; set ; }
/// <summary>
/// 用户账号余额
/// </summary>
public uint Balance { get ; set ; }
/// <summary>
/// 充放电标志
/// </summary>
public byte DisOrChargeMark { get ; set ; }
}
}