|  |  |  | 
|---|
|  |  |  | package com.moral.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.moral.entity.charts.DataCondition; | 
|---|
|  |  |  | import com.moral.entity.charts.PairData; | 
|---|
|  |  |  | import com.moral.entity.charts.TimePeriod; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public interface HistoryMinutelyMapper{ | 
|---|
|  |  |  | public interface HistoryMinutelyMapper { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Map<String, Double> getSersionAvgByDevice(Map<String, Object> parameters); | 
|---|
|  |  |  | Map<String, Double> getSersionAvgByDevice(Map<String, Object> parameters); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Map<String, Object>> getMonitorPointOrDeviceAvgData(Map<String, Object> parameters); | 
|---|
|  |  |  | List<Map<String, Object>> getMonitorPointOrDeviceAvgData(Map<String, Object> parameters); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param sensorKeys | 
|---|
|  |  |  | * @param timePeriod | 
|---|
|  |  |  | * @param dataCondition | 
|---|
|  |  |  | * @return {format_time:string,e1:double,e2...............} | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> selectLineChartDateByCrieria(@Param("sensorKeys")List<String> sensorKeys, @Param("timePeriod") TimePeriod timePeriod, @Param("dataCondition") DataCondition dataCondition); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @param sensorKeys | 
|---|
|  |  |  | * @param timePeriod | 
|---|
|  |  |  | * @param dataCondition | 
|---|
|  |  |  | * @return {format_time:string,e1:double,e2...............} | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> selectLineChartDateByCrieria(@Param("sensorKeys") List<String> sensorKeys, @Param("timePeriod") TimePeriod timePeriod, @Param("dataCondition") DataCondition dataCondition); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Map<String, Object>> getSensorData(Map<String, Object> parameters); | 
|---|
|  |  |  | } | 
|---|