forked from wenjy/HighWayIot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
821 B
C#
40 lines
821 B
C#
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; }
|
|
}
|
|
}
|