| | |
| | | List<HistoryHourly> getValueByMacAndTime(String mac, Date startDate, Date endDate); |
| | | |
| | | /** |
| | | * @description: 通过设备和时间获取小时数据 |
| | | * @param macs List<String> |
| | | * @param time String 例:2021-12-23 |
| | | * */ |
| | | * @description: 通过设备和时间获取小时数据 |
| | | */ |
| | | List<HistoryHourly> getValueByMacs(List<String> macs, String time); |
| | | |
| | | /** |
| | | * @param list 数据 |
| | | * @param sensorCode 因子code |
| | | * @param type 要计算的类型,最大值:max,最小值:min,平均值:sum,平均值:avg, |
| | | * @description 根据类型计算值 |
| | | */ |
| | | Double calculatedValue(List<HistoryHourly> list, String sensorCode, String type, Double lower, Double upper); |
| | | |
| | | } |