30 lines
713 B
C#
30 lines
713 B
C#
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|