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.
37 lines
720 B
C#
37 lines
720 B
C#
using Mesnac.Communication;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Mesnac.Compressor.Entity
|
|
{
|
|
public class SocketEqiup
|
|
{
|
|
public string IP { get; set; }
|
|
public string Port { get; set; }
|
|
|
|
public SocketClient Socket { get; set; }
|
|
|
|
public EquipType EquipType { get; set; }
|
|
}
|
|
public enum EquipType
|
|
{
|
|
//RFIDsocket
|
|
RFIDSocket,
|
|
//服务器端Socket
|
|
ServerSocket
|
|
}
|
|
|
|
public class SocketMessage
|
|
{
|
|
/// <summary>
|
|
/// 信息
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
//
|
|
public SocketClient Client { get; set; }
|
|
}
|
|
}
|