增加报警
This commit is contained in:
45
CapMachine.Model/Alarm/AlarmLevel.cs
Normal file
45
CapMachine.Model/Alarm/AlarmLevel.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Model.Alarm
|
||||
{
|
||||
/// <summary>
|
||||
/// 报警等级
|
||||
/// </summary>
|
||||
public enum AlarmLevel
|
||||
{
|
||||
/// <summary>
|
||||
/// 一级
|
||||
/// </summary>
|
||||
Level1=1,
|
||||
|
||||
/// <summary>
|
||||
/// 二级
|
||||
/// </summary>
|
||||
Level2 = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 三级
|
||||
/// </summary>
|
||||
Level3 = 3,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 报警激活类型
|
||||
/// </summary>
|
||||
public enum ActiveType
|
||||
{
|
||||
/// <summary>
|
||||
/// 阀值
|
||||
/// </summary>
|
||||
Threshold = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 布尔类型
|
||||
/// </summary>
|
||||
Bool = 2,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user