package com.ruoyi.business.service;

import com.ruoyi.business.domain.VO.DeviceHistoryDataVo;
import com.ruoyi.business.domain.VO.DeviceLatestDataVo;

import java.util.List;
import java.util.Map;

/**
 * @Description: 监控平台数据处理接口
 * @ClassName: IHwMonitorPlatformService
 * @Author  : xins
 * @Date    :2023-09-16  14:49
 * @Version :1.0
 */
public interface IHwMonitorPlatformService {

    /**
     * @param: deviceLatestDataVo
     * @description 根据设备模型获取最新数据
     * @author xins
     * @date 2023-09-16 14:49
     * @return List<Map<Object>>
     */
    public List<Map<String, Object>> selectLatestDataByTags(DeviceLatestDataVo deviceLatestDataVo);

    /**
     * @param: deviceHistoryDataVo
     * @description 获取设备历史数据
     * @author xins
     * @date 2023-09-16 15:14
     * @return List<Map<Object>>
     */
    public List<Map<String, Object>> getHistoryData(DeviceHistoryDataVo deviceHistoryDataVo);
}
