using System;
using System.Collections.Generic;
using CncModels.Dto.Dashboard;
namespace CncRepository.Interface
{
///
/// 仪表盘统计查询仓储接口(跨表聚合)
///
public interface IDashboardRepository
{
DashboardSummaryResponse GetSummary();
List GetWorkshopProduction(DateTime startDate, DateTime endDate);
List GetMachineRank(DateTime startDate, DateTime endDate, int top);
List GetWorkerRank(DateTime startDate, DateTime endDate, int top);
List GetProductionTrend(int days);
object GetMachineStatusDistribution();
List GetRecentAlerts(int count);
}
}