2022-12-27 14:30:52 +05:00
|
|
|
|
using AsbCloudApp.Data.ProcessMap;
|
2023-01-26 15:37:46 +05:00
|
|
|
|
using AsbCloudApp.Requests;
|
2023-02-02 12:04:50 +05:00
|
|
|
|
using AsbCloudApp.Services;
|
2021-10-14 10:18:43 +05:00
|
|
|
|
using System;
|
2021-10-13 17:34:32 +05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2023-02-02 12:04:50 +05:00
|
|
|
|
namespace AsbCloudApp.Repositories
|
2021-10-13 17:34:32 +05:00
|
|
|
|
{
|
2022-08-05 17:52:42 +05:00
|
|
|
|
/// <summary>
|
2023-07-25 16:40:25 +05:00
|
|
|
|
/// РТК-план
|
2022-08-05 17:52:42 +05:00
|
|
|
|
/// </summary>
|
2023-04-03 14:59:59 +05:00
|
|
|
|
public interface IProcessMapPlanRepository : IRepositoryWellRelated<ProcessMapPlanDto>
|
2021-10-13 17:34:32 +05:00
|
|
|
|
{
|
2022-08-05 17:52:42 +05:00
|
|
|
|
/// <summary>
|
2023-07-25 16:40:25 +05:00
|
|
|
|
/// Получить РТК-план начиная с даты.
|
2022-08-05 17:52:42 +05:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="updateFrom"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-03-31 16:57:20 +05:00
|
|
|
|
Task<IEnumerable<ProcessMapPlanDto>> GetAllAsync(int idWell,
|
2022-12-07 08:47:41 +05:00
|
|
|
|
DateTime? updateFrom, CancellationToken token = default);
|
2023-01-26 15:37:46 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2023-07-25 16:40:25 +05:00
|
|
|
|
/// Получить РТК-план
|
2023-01-26 15:37:46 +05:00
|
|
|
|
/// </summary>
|
2023-02-02 12:04:50 +05:00
|
|
|
|
/// <param name="requests"></param>
|
2023-01-26 15:37:46 +05:00
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-07-24 16:00:40 +05:00
|
|
|
|
Task<IEnumerable<ProcessMapPlanDto>> GetProcessMapAsync(IEnumerable<ProcessMapRequest> requests,
|
|
|
|
|
CancellationToken token);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2023-07-25 16:40:25 +05:00
|
|
|
|
/// Удалить РТК-план по скважине
|
2023-07-24 16:00:40 +05:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="cancellationToken"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-07-25 16:40:25 +05:00
|
|
|
|
Task<int> RemoveByWellAsync(int idWell, CancellationToken cancellationToken);
|
2021-10-13 17:34:32 +05:00
|
|
|
|
}
|
|
|
|
|
}
|