2024-07-04 11:02:45 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2022-11-18 14:29:29 +05:00
|
|
|
|
using AsbCloudApp.Requests;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Threading;
|
2024-07-17 15:49:53 +05:00
|
|
|
|
using System;
|
2022-11-18 14:29:29 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Repositories
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Репозиторий по ограничивающим параметрам с фильтрацией
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ILimitingParameterRepository
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-11-25 11:56:21 +05:00
|
|
|
|
/// Получение списка ограничивающих параметров по идентификатору скважины
|
2022-11-18 14:29:29 +05:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <param name="wellDto"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2022-11-25 11:56:21 +05:00
|
|
|
|
Task<IEnumerable<LimitingParameterDataDto>> GetLimitingParametersAsync(LimitingParameterRequest request, WellDto wellDto, CancellationToken token);
|
2023-01-17 08:56:07 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка ограничивающих параметров по идентификатору скважины
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <param name="idTelemetry"></param>
|
|
|
|
|
/// <param name="timezoneHours"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-01-16 10:29:52 +05:00
|
|
|
|
Task<IEnumerable<LimitingParameterDataDto>> GetLimitingParametersAsync(LimitingParameterRequest request, int idTelemetry, double timezoneHours, CancellationToken token);
|
2024-07-17 15:49:53 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-07-22 12:43:26 +05:00
|
|
|
|
/// Удаление ограничивающих параметров по запросу на удаление куска телеметрии
|
2024-07-17 15:49:53 +05:00
|
|
|
|
/// </summary>
|
2024-07-22 12:43:26 +05:00
|
|
|
|
/// <param name="request"></param>
|
2024-07-17 15:49:53 +05:00
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2024-07-22 12:43:26 +05:00
|
|
|
|
Task<int> DeleteAsync(TelemetryPartDeleteRequest request, CancellationToken token);
|
2024-07-17 15:49:53 +05:00
|
|
|
|
|
|
|
|
|
|
2022-11-18 14:29:29 +05:00
|
|
|
|
}
|
|
|
|
|
}
|