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.1 KiB

This file contains ambiguous Unicode characters!

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 BatCharging.Model
{
public class CMD1301
{
/// <summary>
/// 预留1 长度2byte
/// </summary>
public UInt16 reserved1 { get; set; }
/// <summary>
/// 预留2 长度2byte
/// </summary>
public UInt16 reserved2 { get; set; }
/// <summary>
/// 充电桩编码 32
/// </summary>
public string chargingStationCode { get; set; }
/// <summary>
/// 白名单类型
/// 1-充电卡号 2-VIN 码
/// </summary>
public byte whitelistType { get; set; }
/// <summary>
/// 操作
/// 0 增加 2 清空 4:查询白名单版本号(7.8 字段不需要)
/// </summary>
public byte operation { get; set; }
/// <summary>
/// 白名单版本号
/// 当前下发的名单版本号。服务器向充电系统发送的版本号为0 时则充电系统将清空白名单。
/// </summary>
public UInt32 whitelistVersionNum { get; set; }
/// <summary>
/// 下发的白名单条数
/// </summary>
public UInt32 DistributeWhitelistNum { get; set; }
/// <summary>
/// 车辆VIN/充电卡号
/// 卡号不足 32 位的,在尾部填’\0字段 4 类型为充电卡时,此字段为 32字节
/// 类型为 VIN 时,此字段为 32 字节
/// </summary>
public string carVinOrChargCardNum01 { get; set; }
public string carVinOrChargCardNum02 { get; set; }
public string carVinOrChargCardNum03 { get; set; }
public string carVinOrChargCardNum04 { get; set; }
public string carVinOrChargCardNum05 { get; set; }
public string carVinOrChargCardNum06 { get; set; }
public string carVinOrChargCardNum07 { get; set; }
public string carVinOrChargCardNum08 { get; set; }
public string carVinOrChargCardNum09 { get; set; }
public string carVinOrChargCardNum10 { get; set; }
}
}