forked from ddrilling/AsbCloudServer
63 lines
2.2 KiB
C#
63 lines
2.2 KiB
C#
using AsbCloudApp.Data;
|
||
using System.Collections.Generic;
|
||
using System.Threading;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace AsbCloudApp.Services
|
||
{
|
||
//TODO: remove unused methods
|
||
|
||
/// <summary>
|
||
/// Сервис информации о кустах
|
||
/// </summary>
|
||
public interface IClusterService
|
||
{
|
||
/// <summary>
|
||
/// список месторождений
|
||
/// </summary>
|
||
/// <param name="idCompany"></param>
|
||
/// <param name="token"></param>
|
||
/// <returns></returns>
|
||
Task<IEnumerable<DepositDto>> GetDepositsAsync(int idCompany,
|
||
CancellationToken token);
|
||
|
||
/// <summary>
|
||
/// Список кустов с заполненными параметрами бурения
|
||
/// </summary>
|
||
/// <param name="idCompany"></param>
|
||
/// <param name="token"></param>
|
||
/// <returns></returns>
|
||
Task<IEnumerable<DepositDto>> GetDepositsDrillParamsAsync(int idCompany,
|
||
CancellationToken token = default);
|
||
|
||
/// <summary>
|
||
/// Список кустов месторождения доступных компании
|
||
/// </summary>
|
||
/// <param name="idCompany"></param>
|
||
/// <param name="depositId"></param>
|
||
/// <param name="token"></param>
|
||
/// <returns></returns>
|
||
Task<IEnumerable<ClusterDto>> GetClustersAsync(int idCompany,
|
||
int depositId, CancellationToken token);
|
||
|
||
/// <summary>
|
||
/// Список кустов доступных компании
|
||
/// </summary>
|
||
/// <param name="idCompany"></param>
|
||
/// <param name="token"></param>
|
||
/// <returns></returns>
|
||
Task<IEnumerable<ClusterDto>> GetClustersAsync(int idCompany,
|
||
CancellationToken token);
|
||
|
||
/// <summary>
|
||
/// Список скважин доступных компании
|
||
/// </summary>
|
||
/// <param name="idCompany"></param>
|
||
/// <param name="clusterId"></param>
|
||
/// <param name="token"></param>
|
||
/// <returns></returns>
|
||
Task<IEnumerable<WellDto>> GetWellsAsync(int idCompany,
|
||
int clusterId, CancellationToken token);
|
||
}
|
||
}
|