using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlnMesnac.Rfid.NewRFIDConnect.entity
{
    public class Base03HENtity
    {
        /// <summary>
        /// 超时时间
        /// </summary>
        public byte[] TimeOut { get; set; }
        
        /// <summary>
        /// 访问密码
        /// </summary>
        public byte[] AccessPassword { get; set; }

        /// <summary>
        /// 选择区域，01 EPC, 02 TID, 03 User
        /// </summary>
        public byte SelectBank { get; set; }
        
        /// <summary>
        /// 选择地址
        /// </summary>
        public byte[] SelectAddress { get; set; }
        
        /// <summary>
        /// 选择匹配数据长度
        /// </summary>
        public byte SelectLength { get; set; }
        
        /// <summary>
        /// 选择匹配数据
        /// </summary>
        public byte[] SelectData { get; set; }

        /// <summary>
        /// 写入标签区域，00 Reserved, 01 EPC, 02 TID, 03 User 
        /// </summary>
        public byte WriteBank { get; set; }
        
        /// <summary>
        /// 写入地址（word）
        /// </summary>
        public byte[] WriteAddress { get; set; }
        
        /// <summary>
        /// 写入数据量(word)
        /// </summary>
        public byte WordCount { get; set; }
        
        /// <summary>
        /// 写入数据
        /// </summary>
        public byte[] WriteData { get; set; }
    }
}
