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.
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 MiniExcelLibs.Attributes ;
using System ;
namespace SlnMesnac.RfidUpload.Model
{
/// <summary>
/// 指令信息
/// </summary>
public class InstructionInfo
{
/// <summary>
///
/// </summary>
[ExcelColumn(Name = "stx",Index = 0),ExcelColumnWidth(23)]
public string stx { get ; set ; }
/// <summary>
/// 报文长度,包含帧头、校验
/// </summary>
[ExcelColumn(Name = "len", Index = 1), ExcelColumnWidth(23)]
public int len { get ; set ; }
/// <summary>
/// 报文类型0x31
/// </summary>
[ExcelColumn(Name = "cmd", Index = 2), ExcelColumnWidth(23)]
public byte cmd { get ; set ; }
/// <summary>
/// 擦除状态: 0-成功; 1-失败
/// </summary>
[ExcelColumn(Name = "status", Index = 3), ExcelColumnWidth(23)]
public int status { get ; set ; }
/// <summary>
/// 数据
/// </summary>
[ExcelColumn(Name = "data", Index = 4), ExcelColumnWidth(53)]
public string data { get ; set ; }
/// <summary>
/// 异或和校验, 10进制
/// </summary>
[ExcelColumn(Name = "xor", Index = 5), ExcelColumnWidth(23)]
public byte xor { get ; set ; }
/// <summary>
/// 记录时间
/// </summary>
[ExcelColumn(Name = "recordtime", Index = 6), ExcelColumnWidth(23)]
public DateTime recordtime { get ; set ; }
}
}