using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace parkMonitor.model {
public enum HandleType {
///
/// PLC句柄
///
PLC,
///
/// 远端数据库
///
remoteDB,
///
/// 本地数据库
///
localDB,
///
/// 屏显
///
allInOneMachine,
///
/// 号牌机
///
numMachine,
///
/// 本地web接口
///
webServer,
///
/// 广告管理器
///
advertManager,
}
public enum DeviceType {
/// 未知
Unknown,
/// Web Server
WebServer,
/// 手机端
Mobile,
/// 中控
Central,
/// PLC
PLC,
/// 号牌机
NumMachine,
/// 激光
Laser,
/// 托盘
Tray,
/// 抓手
Robot,
/// 光栅
Raster,
/// 超声波
Ultrasonic,
/// 传感器
Sensor,
/// 车库
Garage,
/// 车辆
Car,
/// 其他物体
OrtherObject,
/// 其他设备
OrtherDevice,
}
/// 设备状态
public enum ComInfoStatus {
/// 无状态
None,
/// 离线
Offline,
/// 正常
Normal,
/// 警告
Warning,
/// 错误
Error,
/// 待机
Wait,
/// 工作中
Working,
/// 维护
Maintain,
}
/// 报警状态
public enum AlarmStatus {
/// 无状态
None,
/// 正常
Normal,
/// 离线
Offline,
/// 信息
Info,
/// 复位
Reset,
/// 警告
Warning,
/// 错误
Error
}
///
/// 提示信息颜色
///
public enum TextColor {
/// 日志,灰色
Log,
/// 提示,白色
Info,
/// 警告,黄色
Warning,
/// 错误,红色
Error
}
}