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.
27 lines
771 B
C#
27 lines
771 B
C#
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);
|
|
|
|
List<WorkerRankResponse> GetWorkerRank(DateTime startDate, DateTime endDate, int top);
|
|
|
|
List<dynamic> GetProductionTrend(int days);
|
|
|
|
object GetMachineStatusDistribution();
|
|
|
|
List<AlertListItem> GetRecentAlerts(int count);
|
|
}
|
|
}
|