You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.4 KiB
53 lines
1.4 KiB
package com.psdc.service;
|
|
|
|
import com.psdc.entity.PsdcStatisticsDay;
|
|
import com.psdc.entity.PsdcStatisticsMonth;
|
|
import com.psdc.entity.PsdcStatisticsYear;
|
|
import com.psdc.entity.request.EnergyStatisticsRequest;
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @Author:戴仕崑
|
|
* @Project:psdc
|
|
* @Filename:IPsdcElectricHtdata
|
|
* @Date:2023/5/10 9:00
|
|
* @Version 1.0
|
|
*/
|
|
public interface IPsdcElectricHtdataService {
|
|
|
|
|
|
Map selTotalElectricityInfo();
|
|
|
|
List selThisHourUseElectric(Integer deviceId);
|
|
|
|
List selDcglThisHourUseElectric(Integer deviceId);
|
|
|
|
List selDcglThisDayUseElectric(Integer deviceId);
|
|
|
|
/**
|
|
* 一天每小时能耗统计数据
|
|
* @param energyStatisticsRequest 请求数据
|
|
* @return 一天每小时能耗数据
|
|
*/
|
|
List<PsdcStatisticsDay> selectAllByListDay(EnergyStatisticsRequest energyStatisticsRequest);
|
|
|
|
/**
|
|
* 一月每天能耗统计数据
|
|
* @param energyStatisticsRequest 请求数据
|
|
* @return 一天每小时能耗数据
|
|
*/
|
|
List<PsdcStatisticsMonth> selectAllByListMonth(EnergyStatisticsRequest energyStatisticsRequest);
|
|
|
|
/**
|
|
* 一年每月能耗统计数据
|
|
* @param energyStatisticsRequest 请求数据
|
|
* @return 一天每小时能耗数据
|
|
*/
|
|
List<PsdcStatisticsYear> selectAllByListYear(EnergyStatisticsRequest energyStatisticsRequest);
|
|
|
|
void statisticalTask();
|
|
|
|
}
|
|
|