using System;
using System.ComponentModel;
namespace SWRIS.Enums
{
///
/// 设备运行状态(支持位运算组合状态)
///
[Flags]
public enum RunningStatus
{
///
/// 0 - 停止检测
///
[Description("停止检测")]
Stopped = 0,
///
/// 1 - 检测中且正常
///
[Description("检测中")]
RunningNormal = 1,
///
/// 2 - 传感器故障
///
[Description("传感器故障")]
SensorFault = 2,
///
/// 4 - 预警(黄色预警)
///
[Description("黄色预警")]
YellowAlert = 4,
///
/// 8 - 报警(红色报警)
///
[Description("红色报警")]
RedAlert = 8,
///
/// 16 - 预停止
///
[Description("预停止")]
PreStop = 16,
///
/// 32 - 预运行
///
[Description("预运行")]
PreRunning = 32,
///
/// 64 - 预标定
///
[Description("预标定")]
PreCalibration = 64
}
}