using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BatCharging.Model
{
public class APDUModel
{
///
/// 起始域
///
public byte OriginDomain1 { get; set; } = 0xAA;
///
/// 起始域2
///
public byte OriginDomain2 { get; set; } = 0xF5;
///
/// 长度域
///
public UInt16 LengthDomain { get; set; }
///
/// 信息域
/// bit0-3 当前协议是V2.6值填0x02
///
public byte infoDomain { get; set; }
///
/// 序列号域
///
public byte SerialNumberDomain { get; set; }
///
/// 命令代CMD
///
public UInt16 CMD { get; set; }
///
/// 数据域
///
public byte[] dataDomain = new byte[0];
///
/// 校验和域
///
public byte checksumDomain { get; set; }
}
}