ITDeviceReportDataService.java 2.33 KB
Newer Older
1 2 3
package com.zehong.system.service;

import java.util.List;
4 5

import com.github.pagehelper.PageInfo;
6
import com.zehong.system.domain.TDeviceReportData;
7 8
import com.zehong.system.domain.form.DeviceReportDataForm;
import com.zehong.system.domain.vo.DeviceReportDataVo;
9 10 11 12 13 14 15 16 17 18 19 20

/**
 * 设备监控Service接口
 * 
 * @author zehong
 * @date 2021-08-09
 */
public interface ITDeviceReportDataService 
{
    /**
     * 查询设备监控
     * 
王晓倩's avatar
王晓倩 committed
21
     * @param deviceId 设备ID
22 23
     * @return 设备监控
     */
王晓倩's avatar
王晓倩 committed
24
    public DeviceReportDataVo selectTDeviceReportDataByDeviceId(int deviceId) throws Exception;
25 26 27 28

    /**
     * 查询设备监控列表
     * 
29 30 31 32 33
     * @param deviceReportDataForm 设备监控
     * @return 设备监控集合
     */
    public List<DeviceReportDataVo> selectTDeviceReportDataList(DeviceReportDataForm deviceReportDataForm);

34 35 36 37 38 39 40 41
    /**
     * 查询设备监控列表
     *
     * @param deviceReportDataForm 设备监控
     * @return 设备监控集合
     */
    public PageInfo<DeviceReportDataVo> selectTDeviceReportDataPage(DeviceReportDataForm deviceReportDataForm);

42 43 44 45
    /**
     * 查询设备监控实时数据
     *
     * @param deviceReportDataForm 设备监控
46 47
     * @return 设备监控集合
     */
48
    public List<DeviceReportDataVo> selectRealtimeDataList(DeviceReportDataForm deviceReportDataForm);
49

50 51 52 53 54 55 56 57
    /**
     * 查询设备监控实时数据
     *
     * @param deviceReportDataForm 设备监控
     * @return 设备监控
     */
    public PageInfo<DeviceReportDataVo> selectRealtimeDataPage(DeviceReportDataForm deviceReportDataForm);

58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
    /**
     * 新增设备监控
     * 
     * @param tDeviceReportData 设备监控
     * @return 结果
     */
    public int insertTDeviceReportData(TDeviceReportData tDeviceReportData);

    /**
     * 修改设备监控
     * 
     * @param tDeviceReportData 设备监控
     * @return 结果
     */
    public int updateTDeviceReportData(TDeviceReportData tDeviceReportData);

    /**
     * 批量删除设备监控
     * 
     * @param deviceReportDataIds 需要删除的设备监控ID
     * @return 结果
     */
    public int deleteTDeviceReportDataByIds(Long[] deviceReportDataIds);

    /**
     * 删除设备监控信息
     * 
     * @param deviceReportDataId 设备监控ID
     * @return 结果
     */
    public int deleteTDeviceReportDataById(Long deviceReportDataId);
}