EquipmentStatus.cs
1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using System.ComponentModel;
namespace HHECS.DAQShared.Common.Enums
{
/// <summary>
/// 设备状态
/// </summary>
/// <remarks>所有设备的通用状态</remarks>
public enum EquipmentStatus
{
/// <summary>
/// 无数据,默认值
/// </summary>
[Description("无数据")]
None = 0,
/// <summary>
/// 离线
/// </summary>
/// <remarks>设备状态超过5分钟未更新视为离线</remarks>
[Description("离线")]
Offline,
/// <summary>
/// 故障
/// </summary>
[Description("故障")]
Failure,
/// <summary>
/// 待机/空闲
/// </summary>
[Description("待机")]
Free,
/// <summary>
/// 运行/工作
/// </summary>
[Description("运行")]
Running,
/// <summary>
/// 保养
/// </summary>
/// <remarks>IOT云平台处理,这里不使用</remarks>
[Description("保养")]
Maintenance,
/// <summary>
/// 手动状态
/// </summary>
/// <remarks>手动状态不记录故障,此状态认为设备是空闲</remarks>
[Description("手动")]
Manual,
}
}