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.

61 lines
2.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
8 months ago
namespace HybirdFrameworkServices
{
public class CMD1301
{
/// <summary>
/// 预留1 长度2byte
/// </summary>
public ushort Reserved1 { get; set; }
/// <summary>
/// 预留2 长度2byte
/// </summary>
public ushort Reserved2 { get; set; }
/// <summary>
/// 充电桩编码 32
/// </summary>
public string ASCIINum { get; set; }
/// <summary>
/// 白名单类型
/// 1-充电卡号 2-VIN 码
/// </summary>
public byte WhitelistType { get; set; }
/// <summary>
/// 操作
/// 0 增加 2 清空 4:查询白名单版本号(7.8 字段不需要)
/// </summary>
public byte Operate { get; set; }
/// <summary>
/// 白名单版本号
/// 当前下发的名单版本号。服务器向充电系统发送的版本号为0 时则充电系统将清空白名单。
/// </summary>
public uint WhitelistVersioNum { get; set; }
/// <summary>
/// 下发的白名单条数
/// </summary>
public uint WhitelistNum { get; set; }
/// <summary>
/// 车辆VIN/充电卡号
/// 卡号不足 32 位的,在尾部填’\0字段 4 类型为充电卡时,此字段为 32字节
/// 类型为 VIN 时,此字段为 32 字节
/// </summary>
public string VINCarID01 { get; set; }
public string VINCarID02 { get; set; }
public string VINCarID03 { get; set; }
public string VINCarID04 { get; set; }
public string VINCarID05 { get; set; }
public string VINCarID06 { get; set; }
public string VINCarID07 { get; set; }
public string VINCarID08 { get; set; }
public string VINCarID09 { get; set; }
public string VINCarID10 { get; set; }
}
}