18 lines
434 B
C#
18 lines
434 B
C#
// using System;
|
|
// using System.Collections.Generic;
|
|
|
|
|
|
|
|
// public interface IAlarmService : IService
|
|
// {
|
|
// event Action<AlarmEvent> OnAlarmRaised;
|
|
// bool IsMuted { get; }
|
|
// void Mute(bool mute);
|
|
// void Mute(bool mute, int durationInMinutes);
|
|
// void RaiseAlarm(AlarmPriority priority, string reason);
|
|
// IReadOnlyList<AlarmEvent> GetRecords(int maxCount = 100);
|
|
// void ClearRecords(); // 添加清空记录方法
|
|
// }
|
|
|
|
|