DD.WellWorkover.Cloud/AsbCloudApp/Repositories/IWellCompositeRepository.cs

40 lines
1.5 KiB
C#
Raw Normal View History

2021-10-12 12:17:46 +05:00
using AsbCloudApp.Data;
2024-02-21 15:08:51 +05:00
using AsbCloudApp.Data.ProcessMaps;
2021-10-12 12:17:46 +05:00
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace AsbCloudApp.Repositories
2021-10-12 12:17:46 +05:00
{
2022-08-09 11:10:01 +05:00
/// <summary>
/// Репозиторий создания композитной скважины
2022-08-09 11:10:01 +05:00
/// </summary>
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>
/// <param name="token"></param>
2022-08-09 11:10:01 +05:00
/// <returns></returns>
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-01-26 15:37:46 +05:00
/// </summary>
/// <param name="idWell"></param>
/// <param name="token"></param>
/// <returns></returns>
Task<IEnumerable<ProcessMapPlanDrillingDto>> GetCompositeProcessMap(int idWell, CancellationToken token);
2021-10-12 12:17:46 +05:00
}
}