package com.steerinfo.ems.coredasabnormalinfo.mapper;

import com.steerinfo.ems.coredasabnormalinfo.model.CoredasAbnormalInfo;
import com.steerinfo.framework.mapper.IBaseMapper;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CoredasAbnormalInfoMapper extends IBaseMapper<CoredasAbnormalInfo, String> {

	/**
	 * 查询能源瞬时数据
	 * 
	 * @param parmas
	 * @return
	 */
	List<Map<String, Object>> getCoredasData(Map<String, Object> parmas);
	
	/**
	 * 查询能源标准数据
	 * 
	 * @param parmas
	 * @return
	 */
	List<Map<String, Object>> getCoredasStdData(Map<String, Object> parmas);
	
	/**
	 * 查询监控的能源名称、字段
	 * 
	 * @param parmas
	 * @return
	 */
	List<Map<String, Object>> getEmsCoredas(Map<String, Object> parmas);

	/**
	 * 查询历史报警数据
	 * 
	 * @param parmas
	 * @return
	 */
	List<CoredasAbnormalInfo> getEmsCoredasWarnHis(Map<String, Object> parmas);
}