using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace parkMonitor.model {
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
}
}