Lius
2024-08-22 f59452ac384766a21500857e89928a8abc0e75b5
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
27
28
29
30
31
32
33
34
35
36
37
package org.jeecg.modules.mdc.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.mdc.dto.CurrentElectricHistoryDto;
import org.jeecg.modules.mdc.dto.MachineXYZHistoryDto;
import org.jeecg.modules.mdc.entity.CurrentXYZHistory;
 
import java.util.Date;
 
/**
 * @Description: 设备坐标值表
 * @Author: lius
 * @Date: 2024-07-18
 * @Version: V1.0
 */
public interface ICurrentXYZHistoryService extends IService<CurrentXYZHistory> {
 
    /**
     * 获取数据的最小时间
     *
     * @param equipmentId
     * @return
     */
    Date getMinDate(String equipmentId);
 
    /**
     * 获取某台设备某个坐标的最大电流
     *
     * @param equipmentId
     * @param axisType
     * @param startDate
     * @param endDate
     * @return
     */
    CurrentElectricHistoryDto getMaxElectric(String equipmentId, Integer axisType, Date startDate, Date endDate);
 
}