增加报警

This commit is contained in:
2025-01-01 17:41:48 +08:00
parent f26bf28181
commit 7b5df5877d
16 changed files with 896 additions and 122 deletions

View 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,
}
}