using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace HxEnum.SocketS { /// /// Socket消息类型 /// public class InfoTypeEnum { /// /// 信息类型 /// public enum InfoTypeEnum_Enum { /// /// 向服务端发送数据 /// [Description("向服务端发送数据")] SendServiceData = 0, /// /// 发送心跳连接 /// [Description("发送心跳连接")] SendHeartbeatConnect = 1, /// /// 向客户端发送数据 /// [Description("向客户端发送数据")] SendClientData = 2, /// /// 暂停实验 /// [Description("暂停实验")] SuspendExperiment = 3, /// /// 继续实验 /// [Description("继续实验")] ContinueExperiment = 4, /// /// 启动实验 /// [Description("启动实验")] StartExperiment = 5, /// /// 终止实验 /// [Description("终止实验")] TerminationExperiment = 6, /// /// 发送错误信息给客户端 /// [Description("发送错误信息给客户端")] SendErrorClientData = 7, /// /// 客户端Socket调试 /// [Description("客户端Socket调试")] DebuggingBySocket = 8, /// /// 系统报错后重试 /// [Description("系统报错后重试")] SysErrorRetry = 9, /// /// 检查设备连接状态 /// [Description("检查设备连接状态")] CheckDeviceConnectState = 10, /// /// 服务连接 /// [Description("服务连接")] ServiceConnect = 11, /// /// 设备状态(是否忙碌 1空闲、2忙碌) /// [Description("设备状态")] EquipmentStatus = 12, /// /// 设备点位数据同步 /// [Description("设备点位数据同步")] EquipmentPointSyncData = 13, /// /// 客户端Modbus调试 /// [Description("客户端Modbus调试")] DebuggingByModbus = 14, /// /// 工作站传挑菌数据过来 /// [Description("工作站传挑菌数据过来")] XHandlerTransferData = 15, /// /// 紫外灯 /// [Description("紫外灯")] UltravioletLamp = 16, /// /// FFU /// [Description("FFU")] FFU = 17, /// /// 照明灯 /// [Description("照明灯")] Floodlight = 18, /// /// 客户端SocketNonstandard调试 /// [Description("客户端SocketNonstandard调试")] DebuggingBySocketNonstandard = 19, /// /// 客户端SerialPort调试 /// [Description("客户端SerialPort调试")] DebuggingBySerialPort = 20, } } }