gaoluyang
8 天以前 7bd10d34e8a8dc2437ec8551eb511e37634d7306
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package cn.iocoder.yudao.module.mes.service.dv.statistics;
 
import cn.iocoder.yudao.module.mes.controller.admin.dv.statistics.vo.MesDvMachineryStatisticsRespVO;
 
import java.time.LocalDateTime;
import java.util.List;
 
/**
 * MES 设备统计分析 Service 接口
 *
 * @author 超级管理员
 */
public interface MesDvStatisticsService {
 
    /**
     * 统计设备使用率与故障频次
     *
     * @param beginTime 统计开始时间(含)
     * @param endTime   统计结束时间(含)
     * @param machineryId 设备编号,可为空(为空则统计全部)
     * @return 设备统计列表
     */
    List<MesDvMachineryStatisticsRespVO> getMachineryStatistics(LocalDateTime beginTime, LocalDateTime endTime,
                                                                Long machineryId);
 
}