2023-11-28 15:54:47 +05:00
|
|
|
|
using AsbCloudApp.Data.Trajectory;
|
2023-05-11 11:50:45 +05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Repositories
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Репозиторий по работе с траекторией
|
|
|
|
|
/// </summary>
|
2023-05-30 11:21:07 +05:00
|
|
|
|
public interface ITrajectoryRepository<T>
|
|
|
|
|
where T : TrajectoryGeoDto
|
2023-05-11 11:50:45 +05:00
|
|
|
|
{
|
2023-05-30 11:21:07 +05:00
|
|
|
|
/// <summary>
|
2023-11-22 10:31:41 +05:00
|
|
|
|
/// Получить все добавленные по скважине координаты траектории
|
2023-05-30 11:21:07 +05:00
|
|
|
|
/// </summary>
|
2023-11-30 09:40:51 +05:00
|
|
|
|
/// <param name="idWell">ключ скважины</param>
|
2023-05-30 11:21:07 +05:00
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-11-30 09:40:51 +05:00
|
|
|
|
Task<IEnumerable<T>> GetAsync(int idWell, CancellationToken token);
|
2023-05-11 11:50:45 +05:00
|
|
|
|
}
|
|
|
|
|
}
|