EnumStatusType.cs
1.81 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
using Hh.Mes.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Hh.Mes.POJO.EnumEntitys
{
/** **********************定义的枚举如果需要输出到网页视图 头部新增SysPublicEnum 特性**********************/
public enum EnumAction
{
/// <summary>
/// 新增,isDelete=1
/// </summary>
I,
/// <summary>
/// 修改,isDelete=1
/// </summary>
U,
/// <summary>
/// 删除,isDelete=0
/// </summary>
D
}
public enum EnumDeleteOrAdd
{
新增或更新 = 1,
删除 = 0
}
/// <summary>
/// 项目工程表-项目状态-记录项目的当前状态
/// </summary>
[SysPublicEnum]
public enum EnumProjectStatus
{
进行中 = 10,
已完成 = 20,
已取消 = 30,
}
/// <summary>
/// 设备状态
/// </summary>
public enum EquipmentStatus
{
/// <summary>
/// 运行
/// </summary>
Running = 10,
/// <summary>
/// 空闲
/// </summary>
Free = 20,
/// <summary>
/// 故障
/// </summary>
Failure = 30,
/// <summary>
/// 故障
/// </summary>
Error = 60,
/// <summary>
/// 离线
/// </summary>
Offline = 40
}
/// <summary>
/// 设备部件 保养状态
/// </summary>
public enum MaintainStatus
{
/// <summary>
/// 待保养
/// </summary>
ToBeMaintain = 10,
/// <summary>
/// 已保养
/// </summary>
Maintained = 20,
/// <summary>
/// 逾期
/// </summary>
OverTime = 30,
}
}