59 lines
1.8 KiB
C#
59 lines
1.8 KiB
C#
using Model;
|
|
using Model.Dto.Inspection;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Service.Interface
|
|
{
|
|
/// <summary>
|
|
/// 统计报表 服务接口
|
|
/// </summary>
|
|
public interface IStatisticsReportService
|
|
{
|
|
/// <summary>
|
|
/// 设备统计概览(总数/在用/闲置/报废等)
|
|
/// </summary>
|
|
Task<Result<DeviceStatisticsDto>> GetDeviceStatisticsAsync();
|
|
|
|
/// <summary>
|
|
/// 按分类统计设备数量
|
|
/// </summary>
|
|
Task<Result<List<CategoryStatisticsDto>>> GetCategoryStatisticsAsync();
|
|
|
|
/// <summary>
|
|
/// 按部门统计设备数量
|
|
/// </summary>
|
|
Task<Result<List<DepartmentStatisticsDto>>> GetDepartmentStatisticsAsync();
|
|
|
|
/// <summary>
|
|
/// 设备维护统计(校准/保养及时率、超期数量等)
|
|
/// </summary>
|
|
Task<Result<MaintenanceStatisticsDto>> GetMaintenanceStatisticsAsync();
|
|
|
|
/// <summary>
|
|
/// 维护超期设备明细
|
|
/// </summary>
|
|
Task<Result<List<MaintenanceOverdueDetailDto>>> GetMaintenanceOverdueDetailsAsync();
|
|
|
|
/// <summary>
|
|
/// 维修统计概览
|
|
/// </summary>
|
|
Task<Result<RepairStatisticsDto>> GetRepairStatisticsAsync();
|
|
|
|
/// <summary>
|
|
/// 故障类型分布
|
|
/// </summary>
|
|
Task<Result<List<FaultTypeDistributionDto>>> GetFaultTypeDistributionAsync();
|
|
|
|
/// <summary>
|
|
/// 维修工时分析
|
|
/// </summary>
|
|
Task<Result<List<RepairHoursAnalysisDto>>> GetRepairHoursAnalysisAsync();
|
|
|
|
/// <summary>
|
|
/// 维修记录明细列表
|
|
/// </summary>
|
|
Task<Result<List<RepairRecordDetailDto>>> GetRepairRecordDetailsAsync();
|
|
}
|
|
}
|