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

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 CMD204
{
/// <summary>
/// 预留
/// </summary>
public UInt16 value01 { get; set; }
/// <summary>
/// 预留
/// </summary>
public UInt16 value02 { get; set; }
/// <summary>
/// 充电桩编码
/// </summary>
public string value03 { get; set; }
/// <summary>
/// 充电卡号 32
///
/// ASCII 码,不足补’\0
/// 默认卡号是固定 16 位不足会在前面补0如卡号
/// “12233445566”默认是上传“0000112233445566”
/// </summary>
public string value04{get;set; }
/// <summary>
/// 充电卡余额
/// </summary>
public UInt32 value05 { get; set; }
/// <summary>
/// 充电卡黑白名单标志
/// <para>0x00-正常卡</para>
/// <para>0x01-黑卡</para>
/// </summary>
public byte value06 { get; set; }
/// <summary>
/// 用户充电卡密码 32
/// 用户输入密码(约定 6 位)后,对密码进
/// 行 MD5 32 位加密的密文
/// 用户选择无密码时,每个字节均为 0x00
/// </summary>
public string value07 { get;set; }
/// <summary>
/// 卡扇区数据随机数
/// </summary>
public string value08 { get; set; }
/// <summary>
/// M1 卡序号
/// </summary>
public UInt32 value09 { get; set; }
/// <summary>
/// 认证方式
/// <para>0:刷卡认证</para>
/// <para>1密码充电认证</para>
/// </summary>
public byte value10 { get; set; }
/// <summary>
/// 充电枪号
/// </summary>
public byte value11 { get; set; }
}
}