You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
899 B
C#

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
{
/// <summary>
/// 信息
/// </summary>
public string Message { get; set; }
//
public SocketClient Client { get; set; }
}
}