DCS/ruiyiweiUX/Assets/Scripts/Services/IAlarmService.cs

18 lines
434 B
C#
Raw Normal View History

2026-06-09 13:59:11 +08:00
// 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(); // 添加清空记录方法
// }