46 lines
786 B
C#
46 lines
786 B
C#
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,
|
|
}
|
|
}
|