2021-10-12 12:17:46 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2023-10-09 15:22:13 +05:00
|
|
|
|
using AsbCloudApp.Data.ProcessMaps;
|
2021-10-12 12:17:46 +05:00
|
|
|
|
|
2022-10-19 13:56:34 +05:00
|
|
|
|
namespace AsbCloudApp.Repositories
|
2021-10-12 12:17:46 +05:00
|
|
|
|
{
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// <summary>
|
2022-10-19 13:56:34 +05:00
|
|
|
|
/// Репозиторий создания композитной скважины
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// </summary>
|
2022-10-19 13:56:34 +05:00
|
|
|
|
public interface IWellCompositeRepository
|
2021-10-12 12:17:46 +05:00
|
|
|
|
{
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить секции композитной скважины
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
2022-10-19 13:56:34 +05:00
|
|
|
|
/// <param name="token"></param>
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// <returns></returns>
|
2022-10-19 13:56:34 +05:00
|
|
|
|
Task<IEnumerable<WellCompositeDto>> GetAsync(int idWell, CancellationToken token);
|
2022-08-09 11:10:01 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// сохранить секции композитной скважины
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="wellComposites"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-10-12 12:17:46 +05:00
|
|
|
|
Task<int> SaveAsync(int idWell, IEnumerable<WellCompositeDto> wellComposites, CancellationToken token);
|
2023-01-26 15:37:46 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2023-10-12 15:21:41 +05:00
|
|
|
|
/// Получение РТК-план бурение по композитной скважине
|
2023-01-26 15:37:46 +05:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-10-12 15:21:41 +05:00
|
|
|
|
Task<IEnumerable<ProcessMapPlanWellDrillingDto>> GetCompositeProcessMap(int idWell, CancellationToken token);
|
2021-10-12 12:17:46 +05:00
|
|
|
|
}
|
|
|
|
|
}
|