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; private IPEndPoint remoteEndPoint; private long customer; /// /// 监控ID /// public string MessageID=""; public bool IsMonitor = false; /// /// /// /// /// /// 自定义序号:用于推送通讯命令 public ReceiverContext(byte[] orginData, IPEndPoint remoteEndPoint, long customer) { this.orginData = orginData; this.remoteEndPoint = remoteEndPoint; this.customer = customer; } public byte[] Data { get { return this.orginData; } } public IPEndPoint RemoteEndPoint { get { return this.remoteEndPoint; } } public SystemHeader? SystemHeader { get; set; } /// /// 自定义序号:用于推送通讯命令 /// public long Customer { get { return this.customer; } } } }