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.Socket.Adapter
|
|
|
|
|
|
* 唯一标识:91905957-7469-4287-944D-6EEC9EED327C
|
|
|
|
|
|
*
|
|
|
|
|
|
* 创建者:WenJY
|
|
|
|
|
|
* 电子邮箱:
|
|
|
|
|
|
* 创建时间:2026-04-24 10:57:42
|
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
|
* 描述:
|
|
|
|
|
|
*
|
|
|
|
|
|
*--------------------------------------------------------------------
|
|
|
|
|
|
* 修改人:
|
|
|
|
|
|
* 时间:
|
|
|
|
|
|
* 修改说明:
|
|
|
|
|
|
*
|
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
|
*--------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
#endregion << 版 本 注 释 >>
|
|
|
|
|
|
|
|
|
|
|
|
using TouchSocket.Core;
|
|
|
|
|
|
using TouchSocket.Sockets;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sln.IntelliBelt.Socket.Adapter;
|
|
|
|
|
|
|
|
|
|
|
|
public class BufferRequestInfo:IRequestInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 帧头
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public byte header { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 终端类型
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public byte terminalType { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 终端地址
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string terminalAddr { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 指令序号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int serialNumber { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 功能标识码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int identCode { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 对象类别:0 - 控制终端本体;1 - 1#RFID读写器;2 - 2#RFID读写器
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int objType { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 数据内容区的数据长度
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int contentLen { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 数据内容区
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string content { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 内容体
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public byte[] body { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 校验位
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public byte checkBit { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 帧尾
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public byte tail { get; internal set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 原始Buffer
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public ByteBlock buffer { get; internal set; }
|
|
|
|
|
|
}
|