2023-10-12 15:21:41 +05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using AsbCloudApp.Data.ProcessMaps;
|
|
|
|
|
using AsbCloudApp.Requests;
|
|
|
|
|
using AsbCloudApp.Services;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Repositories;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// РТК план
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IProcessMapPlanRepository<TDto> : IRepositoryWellRelated<TDto>
|
|
|
|
|
where TDto : ProcessMapPlanBaseDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить РТК по коллекции параметров
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="requests"></param>
|
|
|
|
|
/// <param name="cancellationToken"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<IEnumerable<TDto>> GetAsync(IEnumerable<ProcessMapPlanRequest> requests, CancellationToken cancellationToken);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Удалить РТК по скважине
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-10-16 13:45:29 +05:00
|
|
|
|
Task<int> RemoveByWellAsync(int idWell);
|
2023-10-12 15:21:41 +05:00
|
|
|
|
}
|