using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SocketProcess { public class SocketEqiup { public SocketEqiup() { this.IP = ""; this.Port = ""; Socket = null; IsConnect = false; } public string IP { get; set; } public string Port { get; set; } public SocketClient Socket { get; set; } public EquipType EquipType { get; set; } public bool IsConnect { get; set; } } public enum EquipType { //RFIDsocket RFIDSocket=1, //服务器端Socket ServerSocket=2 } public class SocketMessage { /// /// 信息 /// public string Message { get; set; } // public SocketClient Client { get; set; } } }