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