28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
using SolarPower.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SolarPower.Repository.Interface
|
|
{
|
|
public interface IOperationRepository : IRepositoryBase<Operation>
|
|
{
|
|
Task<List<PowerStationIdList>> GetPowerStationIdList(int UserId);
|
|
Task AddOperationPlan(OperationCreatePlan OperationPlan, List<string> properties);
|
|
Task<List<OperationPlanTable>> OperationPlanTable(List<int> id,int Type);
|
|
Task<OperationCreatePlan> GetOneOperation(int id);
|
|
Task UpdateOperationPlan(OperationCreatePlan OperationPlan, List<string> properties);
|
|
Task AddToRecord(PlanToRecord record, List<string> properties2);
|
|
|
|
|
|
/// <summary>
|
|
/// 透過搜尋條件,查詢過濾後的運維作業記錄
|
|
/// </summary>
|
|
/// <param name="filter"></param>
|
|
/// <returns></returns>
|
|
Task<List<OperationRecodeDataTable>> GetAllRecodeByFilterAsync(PostOperationRecodeFilter filter);
|
|
}
|
|
|
|
}
|