using System.Collections.Generic;
using CncModels.Dto.Screen;
using CncModels.Dto.ScreenConfig;
using CncModels.Entity;

namespace CncService.Interface
{
    /// <summary>
    /// 大屏配置服务接口
    /// </summary>
    public interface IScreenService
    {
        /// <summary>获取大屏汇总数据</summary>
        ScreenSummaryResponse GetSummary();

        /// <summary>获取所有卡片配置</summary>
        List<ScreenConfig> GetConfigs();

        /// <summary>更新卡片配置</summary>
        bool UpdateConfig(ScreenConfig entity);

        /// <summary>获取筛选项列表</summary>
        List<ScreenFilter> GetFilters(string screenKey);

        /// <summary>创建筛选项</summary>
        int CreateFilter(ScreenFilter entity);

        /// <summary>更新筛选项</summary>
        bool UpdateFilter(ScreenFilter entity);

        /// <summary>删除筛选项</summary>
        bool DeleteFilter(int id);
    }
}
