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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HybirdFrameworkEntity
{
public class CMD204
{
/// <summary>
/// 预留
/// </summary>
public ushort Reserved1 { get; set; }
/// <summary>
/// 预留
/// </summary>
public ushort Reserved2 { get; set; }
/// <summary>
/// 充电桩编码
/// </summary>
public string ASCIINum { get; set; }
/// <summary>
/// 充电卡号 32
///
/// ASCII 码,不足补’\0
/// 默认卡号是固定 16 位不足会在前面补0如卡号
/// “12233445566”默认是上传“0000112233445566”
/// </summary>
public string ChargID { get; set; }
/// <summary>
/// 充电卡余额
/// </summary>
public uint Balance { get; set; }
/// <summary>
/// 充电卡黑白名单标志
/// <para>0x00-正常卡</para>
/// <para>0x01-黑卡</para>
/// </summary>
public byte BlacklistSign { get; set; }
/// <summary>
/// 用户充电卡密码 32
/// 用户输入密码(约定 6 位)后,对密码进
/// 行 MD5 32 位加密的密文
/// 用户选择无密码时,每个字节均为 0x00
/// </summary>
public string ChargCardPassword { get; set; }
/// <summary>
/// 卡扇区数据随机数
/// </summary>
public string RandomData { get; set; }
/// <summary>
/// M1 卡序号
/// </summary>
public uint M1CardID { get; set; }
/// <summary>
/// 认证方式
/// <para>0:刷卡认证</para>
/// <para>1密码充电认证</para>
/// </summary>
public byte Auth { get; set; }
/// <summary>
/// 充电枪号
/// </summary>
public byte ChargGunNum { get; set; }
}
}