package com.aucma.base.mapper;

import com.aucma.base.domain.BaseDeviceParamVal;

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

/**
 * 统一旁路参数读取Mapper
 */
public interface DeviceParamReadFacadeMapper {

    /**
     * 查询设备参数最新值
     */
    BaseDeviceParamVal selectLatestParamValue(Map<String, Object> params);

    /**
     * 查询时间点附近参数
     */
    List<BaseDeviceParamVal> selectParamsByTimePoint(Map<String, Object> params);

    /**
     * 查询参数历史明细
     */
    List<BaseDeviceParamVal> selectHistoryParamValues(Map<String, Object> params);
}
