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.
|
|
|
|
|
#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;
|
|
|
|
|
|
|
|
|
|
|
|
}
|