FIC_Solar/SolarPower/Repository/Interface/IOverviewRepository.cs
2021-07-09 18:16:34 +08:00

26 lines
1.2 KiB
C#

using SolarPower.Models;
using SolarPower.Models.PowerStation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SolarPower.Repository.Interface
{
public interface IOverviewRepository : IRepositoryBase<Overview>
{
Task<List<int>> GetAllCityIdAsync();
Task<Overview> GetOverviewByPowerStationIds(List<int> powerStationIds);
Task<List<CapacityDataTable>> GetCapacityDataTableByPowerStationIds(List<int> powerStationIds);
Task<List<PowerStation>> GetListPowerStationByPowerStationIds(List<int> powerStationIds);
Task<List<PowerStation>> GetSolarByCity(MyUser User, UseStatusCityGetPowerStation post);
Task<List<PowerIrradiance>> GetListPowerIrradianceTodayByPowerStationId(int powerStationId, string nowDay);
Task<List<PowerIrradiance>> GetListPowerIrradiance7dayByPowerStationId(int powerStationId, string nowDay);
Task<List<PowerIrradiance>> GetListPowerIrradianceMonthByPowerStationId(int powerStationId, string nowDay);
Task<List<PowerIrradiance>> GetListPowerIrradianceYearByPowerStationId(int powerStationId, string nowDay);
Task<List<ExceptionDataTable>> GetExceptionTable(ExceptionSent post);
}
}