You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using System ;
using System.Collections.Generic ;
using CncModels.Dto.Dashboard ;
namespace CncRepository.Interface
{
/// <summary>
/// 仪表盘统计查询仓储接口(跨表聚合)
/// </summary>
public interface IDashboardRepository
{
DashboardSummaryResponse GetSummary ( ) ;
List < WorkshopProductionResponse > GetWorkshopProduction ( DateTime startDate , DateTime endDate ) ;
List < MachineRankResponse > GetMachineRank ( DateTime startDate , DateTime endDate , int top , string sortOrder = "desc" ) ;
List < WorkerRankResponse > GetWorkerRank ( DateTime startDate , DateTime endDate , int top , string sortOrder = "desc" ) ;
List < dynamic > GetProductionTrend ( int days ) ;
object GetMachineStatusDistribution ( ) ;
List < AlertListItem > GetRecentAlerts ( int count ) ;
/// <summary>NC程序产量排行TOP N</summary>
List < ProgramRankItem > GetProgramRank ( DateTime startDate , DateTime endDate , int top , string sortOrder = "desc" ) ;
/// <summary>NC程序产量分布( 饼图数据) </summary>
List < ProgramDistributionItem > GetProgramDistribution ( DateTime startDate , DateTime endDate , int top = 10 ) ;
}
}