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

namespace HighWayIot.Rfid.Entity
{
    /// <summary>
    /// 接收数据基础类
    /// </summary>
    public class BaseReciveDataEntity
    {
        /// <summary>
        /// 数据长度2
        /// </summary>
        public byte DataLength { get; set; }

        /// <summary>
        /// 指令编号
        /// </summary>
        public byte Code { get; set; }

        /// <summary>
        /// 状态码
        /// </summary>
        public byte Status { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public byte[] Data { get; set; }

        /// <summary>
        /// 校验位
        /// </summary>
        public byte Xor { get; set; }
    }
}
