2021-08-24 16:47:10 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сервис расчета статистики по операциям вводимым вручную
|
|
|
|
|
/// </summary>
|
2021-11-23 11:31:47 +05:00
|
|
|
|
public interface IOperationsStatService
|
2021-08-24 16:47:10 +05:00
|
|
|
|
{
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить статистику МСП по кусту в котором находится скважина с IdWell
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2022-03-16 16:07:37 +05:00
|
|
|
|
Task<ClusterRopStatDto> GetRopStatAsync(int idWell, CancellationToken token);
|
2022-08-09 11:10:01 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить статистику по скважинам куста, которые доступны компании
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCluster"></param>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-10-12 18:06:47 +05:00
|
|
|
|
Task<StatClusterDto> GetStatClusterAsync(int idCluster, int idCompany, CancellationToken token = default);
|
2022-08-09 11:10:01 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// получить статистику по скважине
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2022-03-02 16:21:07 +05:00
|
|
|
|
Task<StatWellDto> GetWellStatAsync(int idWell, CancellationToken token = default);
|
2022-08-09 11:10:01 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить данные для графика TVD
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-08-27 12:15:04 +05:00
|
|
|
|
Task<IEnumerable<PlanFactPredictBase<WellOperationDto>>> GetTvdAsync(int idWell, CancellationToken token);
|
2022-08-09 11:10:01 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить статистику по набору скважин
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWells"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-10-12 16:07:08 +05:00
|
|
|
|
Task<IEnumerable<StatWellDto>> GetWellsStatAsync(IEnumerable<int> idWells, CancellationToken token);
|
2021-08-24 16:47:10 +05:00
|
|
|
|
}
|
|
|
|
|
}
|