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.

80 lines
1.8 KiB
C#

This file contains ambiguous Unicode characters!

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.

#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* 版权所有 (c) 2026 WenJY 保留所有权利。
* CLR版本4.0.30319.42000
* 机器名称Mr.Wen's MacBook Pro
* 命名空间Sln.IntelliBelt.Business.base
* 唯一标识9BFE21E6-EF9F-46F6-A473-E67E1B9359B0
*
* 创建者WenJY
* 电子邮箱:
* 创建时间2026-04-24 16:13:50
* 版本V1.0.0
* 描述:
*
*--------------------------------------------------------------------
* 修改人:
* 时间:
* 修改说明:
*
* 版本V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.IntelliBelt.Business.@base;
public class ResponsePack
{
/// <summary>
/// 帧头
/// </summary>
public byte header = 0x68 ;
/// <summary>
/// 终端类型
/// </summary>
public byte terminalType = 0x52 ;
/// <summary>
/// 终端地址
/// </summary>
public byte[] terminalAddr {get; set;}
/// <summary>
/// 指令序号
/// </summary>
public byte serialNumber = 0x01 ;
/// <summary>
/// 功能标识码
/// </summary>
public byte identCode {get; set;}
/// <summary>
/// 对象类别0 - 控制终端本体1 - 1#RFID读写器2 - 2#RFID读写器
/// </summary>
public byte objType = 0x00 ;
/// <summary>
/// 数据内容区的数据长度
/// </summary>
public byte contentLen {get; set;}
/// <summary>
/// 数据内容区
/// </summary>
public byte[] content {get; set;}
/// <summary>
/// 校验位
/// </summary>
public byte checkBit {get; set;}
/// <summary>
/// 帧尾
/// </summary>
public byte tail = 0x16;
}