FIC_Solar/SolarPower/Repository/Interface/IPowerStationRepository.cs
b110212000 40396c8e85 運維
2021-06-17 14:31:23 +08:00

18 lines
566 B
C#

using SolarPower.Models.PowerStation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SolarPower.Repository.Interface
{
public interface IPowerStationRepository : IRepositoryBase<PowerStation>
{
Task<int> AddOperation(OperationInfo operation, List<string> properties);
Task<List<OperationTable>> OperationTable (int stationId);
Task<OperationInfo> OneOperationInfo (int stationId);
Task UpdateOperation(OperationInfo operation, List<string> properties);
}
}