using SolarPower.Models.PowerStation; using SolarPower.Models.User; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SolarPower.Repository.Interface { public interface IPowerStationRepository : IRepositoryBase { Task AddOperation(OperationInfo operation, List properties); Task> OperationTable (int stationId); Task OneOperationInfo (int stationId); Task UpdateOperation(OperationInfo operation, List properties); /// /// 裝置類型下拉式選單 /// /// Task> DeviceType(); /// /// 新增 裝置 /// /// /// Task AddDevice(Device DeviceInfo, List properties); /// /// 修改 裝置 /// /// /// /// Task UpdateDevice(Device DeviceInfo, List properties); } }