初步添加报警功能
This commit is contained in:
16
DMS.Core/Interfaces/Repositories/IAlarmHistoryRepository.cs
Normal file
16
DMS.Core/Interfaces/Repositories/IAlarmHistoryRepository.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using DMS.Core.Models;
|
||||
|
||||
namespace DMS.Core.Interfaces.Repositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 报警历史记录仓库接口
|
||||
/// </summary>
|
||||
public interface IAlarmHistoryRepository : IBaseRepository<AlarmHistory>
|
||||
{
|
||||
// 可以添加特定于报警历史记录的查询方法
|
||||
// 例如:
|
||||
// Task<IEnumerable<AlarmHistory>> GetUnacknowledgedAlarmsAsync();
|
||||
// Task<IEnumerable<AlarmHistory>> GetAlarmsByVariableIdAsync(int variableId);
|
||||
// Task AcknowledgeAlarmAsync(int alarmId, string acknowledgedBy);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user