using SolarPower.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SolarPower.Repository.Interface { public interface IOperationRepository : IRepositoryBase { Task> GetPowerStationIdList(int UserId); Task AddOperationPlan(OperationCreatePlan OperationPlan, List properties); Task> OperationPlanTable(List id,int Type); Task GetOneOperation(int id); Task UpdateOperationPlan(OperationCreatePlan OperationPlan, List properties); Task AddToRecord(PlanToRecord record, List properties2); /// /// 透過搜尋條件,查詢過濾後的運維作業記錄 /// /// /// Task> GetAllRecodeByFilterAsync(PostOperationRecodeFilter filter); /// /// 透過Id,取得單一筆運維作業記錄 /// /// /// Task GetOneOperationRecodeAsync(int id); /// /// 新增一筆運維作業記錄 /// /// /// /// Task AddOneOperationRecodeAsync(OperationRecode entity, List properties); /// /// 修改運維作業記錄 /// /// /// /// Task UpdateOperationRecodeAsync(UpdateOperationRecode entity, List properties); /// /// 新增運維作業記錄的檔案 /// /// /// /// Task AddOperationRecodeFilesAsync(List entity, List properties); /// /// 透過Id,取得單一運維作業記錄檔案 /// /// /// Task GetOneOperationRecodeFileAsync(int id); /// /// 透過Id,軟刪除運維作業記錄檔案 /// /// /// Task DeleteOneOperationRecodeFile(int id); } }