2021-07-19 15:11:01 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System.Collections.Generic;
|
2021-08-11 16:54:42 +05:00
|
|
|
|
using System.Threading;
|
2021-08-11 12:11:21 +05:00
|
|
|
|
using System.Threading.Tasks;
|
2021-07-19 15:11:01 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
2022-08-05 17:16:11 +05:00
|
|
|
|
//TODO: remove unused methods
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сервис информации о кустах
|
|
|
|
|
/// </summary>
|
2021-07-19 15:11:01 +05:00
|
|
|
|
public interface IClusterService
|
|
|
|
|
{
|
2022-08-05 17:16:11 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// список месторождений
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-09-10 11:28:57 +05:00
|
|
|
|
Task<IEnumerable<DepositDto>> GetDepositsAsync(int idCompany,
|
|
|
|
|
CancellationToken token);
|
2022-08-05 17:16:11 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Список кустов с заполненными параметрами бурения
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-10-14 12:04:21 +05:00
|
|
|
|
Task<IEnumerable<DepositDto>> GetDepositsDrillParamsAsync(int idCompany,
|
|
|
|
|
CancellationToken token = default);
|
2022-08-05 17:16:11 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Список кустов месторождения доступных компании
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="depositId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-09-10 11:28:57 +05:00
|
|
|
|
Task<IEnumerable<ClusterDto>> GetClustersAsync(int idCompany,
|
|
|
|
|
int depositId, CancellationToken token);
|
2022-08-05 17:16:11 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Список кустов доступных компании
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-08-11 16:54:42 +05:00
|
|
|
|
Task<IEnumerable<ClusterDto>> GetClustersAsync(int idCompany,
|
|
|
|
|
CancellationToken token);
|
2022-08-05 17:16:11 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Список скважин доступных компании
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="clusterId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-09-10 11:28:57 +05:00
|
|
|
|
Task<IEnumerable<WellDto>> GetWellsAsync(int idCompany,
|
2021-08-11 16:54:42 +05:00
|
|
|
|
int clusterId, CancellationToken token);
|
2021-07-19 15:11:01 +05:00
|
|
|
|
}
|
|
|
|
|
}
|