初始化
This commit is contained in:
29
Commonlib/ReceiverContext.cs
Normal file
29
Commonlib/ReceiverContext.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
using RCUHost.Protocols;
|
||||
|
||||
namespace RCUHost.Implement
|
||||
{
|
||||
public class ReceiverContext
|
||||
{
|
||||
private byte[] orginData;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="orginData"></param>
|
||||
/// <param name="remoteEndPoint"></param>
|
||||
/// <param name="customer">自定义序号:用于推送通讯命令</param>
|
||||
public ReceiverContext(byte[] orginData)
|
||||
{
|
||||
this.orginData = orginData;
|
||||
}
|
||||
|
||||
public byte[] Data { get { return this.orginData; } }
|
||||
|
||||
public SystemHeader? SystemHeader { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user