初始化CRICS
This commit is contained in:
33
RCUHost/Protocols/CommandData.cs
Normal file
33
RCUHost/Protocols/CommandData.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
|
||||
namespace RCUHost.Protocols
|
||||
{
|
||||
public class CommandData
|
||||
{
|
||||
public IPEndPoint RemoteEndPoint { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 帧序号
|
||||
/// </summary>
|
||||
public ushort FrameNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命令数据
|
||||
/// </summary>
|
||||
public byte[] Data { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生存时间
|
||||
/// </summary>
|
||||
public int TTL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 重发次数
|
||||
/// </summary>
|
||||
public int ResendTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user