FIC_Solar/SolarPower/Repository/Interface/IOverviewRepository.cs
Kai 2661487cc8 1. 背景執行 bug fix
2. 店站總覽 即時資訊
2021-07-08 18:21:51 +08:00

25 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);
}
}