using DMS.Application.DTOs;
using DMS.Core.Events;
namespace DMS.Application.Interfaces
{
public interface IAlarmService
{
///
/// 检查变量是否触发报警
///
/// 变量DTO
/// 是否触发报警
bool CheckAlarm(VariableDto variable);
///
/// 警报事件
///
event EventHandler OnAlarmTriggered;
}
}