using SafeCampus.Application.Services.Business.Warn.Dto;

namespace SafeCampus.Application.Services.Business.Warn.Service;

public interface IWarnInfoService:IApiBaseInterface<WarnInfoDto, WarnInfoList, WarnInfoSearch>
{
    /// <summary>
    /// 处理预警
    /// </summary>
    /// <param name="id"></param>
    /// <param name="remark"></param>
    /// <returns></returns>
    Task<bool> HandWarn(HandWarnInput input);
    /// <summary>
    /// 获取列表不分页
    /// </summary>
    /// <returns></returns>
    Task<List<WarnInfoList>> GetListNoPage(WarnInfoSearch search);
    /// <summary>
    /// 获取告警分离列表
    /// </summary>
    /// <returns></returns>
    Task<List<WarnType>> GetWarnType();
}