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.

68 lines
2.3 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
8 months ago
namespace HybirdFrameworkServices
{
public class CMD207
{
/// <summary>
/// 预留
/// </summary>
public ushort Reserved1 { get; set; }
/// <summary>
/// 预留
/// </summary>
public ushort Reserved2 { get; set; }
/// <summary>
/// 充电桩编码(ASCII 编码)
/// </summary>
public string ASCIINum { get; set; }
/// <summary>
/// 充电枪号
/// </summary>
public ushort ChargGunNum { get; set; }
/// <summary>
/// 车辆 VIN 码(ASCII 编码)
/// </summary>
public string VINNum { get; set; }
/// <summary>
/// 车辆 VIN 绑定账号(ASCII 编码,可以是卡号/账号等,如无则填 0xff. 离线充电则由桩填写空)
/// </summary>
public string VINBindAccount { get; set; }
/// <summary>
/// 充电流水号(ASCII 编码,验证通过平台应下发本次充电的流水号,离线的话由桩本地生成流水号。)
/// </summary>
public string ChargSerialNum { get; set; }
/// <summary>
/// 验证结果
/// <para>1:成功可启动充电。</para>
/// <para>2:失败停止充电。</para>
/// </summary>
public byte VerifyResult { get; set; }
/// <summary>
/// 验证原因
/// 当字段 7 为 2此字段有意义
/// <para>1:余额不足</para>
/// <para>2:车辆被冻结 </para>
/// <para>3:黑名单车辆 </para>
/// <para>4:未知车辆</para>
/// <para>5:当前车辆不允许 VIN 充电,</para>
/// <para>6:其他原因</para>
/// </summary>
public byte VerifyCause { get; set; }
/// <summary>
/// 可充电余额
/// </summary>
public uint RechBalance { get; set; }
/// <summary>
/// 屏幕停机密码
/// (ASIIC 编码,密码纯数字。当桩即插即充启动成功后,
/// 可以在屏幕上输入此密码进行停机,如果没有则填 0xff。)
/// </summary>
public ulong StopCode { get; set; }
}
}