using System;
using System.Collections.Generic;
using System.Text;

namespace SlnMesnac.TouchSocket.Entity
{
    public class TcpVisionEntity
    {
        /// <summary>
        /// 序列号
        /// </summary>
        public byte[] SN {  get; set; }

        /// <summary>
        /// 时间戳
        /// </summary>
        public byte[] Timestamp { get; set; }

        /// <summary>
        /// 命令字
        /// </summary>
        public byte Command { get; set; }

        /// <summary>
        /// 数据长度
        /// </summary>
        public byte DataLength { get; set; }

        /// <summary>
        /// 数据位
        /// </summary>
        public byte[]? DataBytes { get; set; }

        /// <summary>
        /// 校验和
        /// </summary>
        public byte Checksum { get; set; }
     }
}
