2022-04-28 15:04:13 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2022-08-04 15:06:17 +05:00
|
|
|
|
using AsbCloudApp.Data.DetectedOperation;
|
2022-04-28 15:04:13 +05:00
|
|
|
|
using AsbCloudApp.Requests;
|
|
|
|
|
using System.Collections.Generic;
|
2022-08-04 15:06:17 +05:00
|
|
|
|
using System.IO;
|
2022-04-28 15:04:13 +05:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
2022-08-04 15:06:17 +05:00
|
|
|
|
#nullable enable
|
2022-04-28 15:04:13 +05:00
|
|
|
|
public interface IDetectedOperationService
|
|
|
|
|
{
|
2022-08-04 15:06:17 +05:00
|
|
|
|
Task<IEnumerable<WellOperationCategoryDto>?> GetCategoriesAsync(int? idWell, CancellationToken token);
|
|
|
|
|
Task<DetectedOperationListDto?> GetAsync(DetectedOperationRequest request, CancellationToken token);
|
2022-06-17 17:21:14 +05:00
|
|
|
|
Task<int> DeleteAsync(DetectedOperationRequest request, CancellationToken token);
|
2022-08-04 15:06:17 +05:00
|
|
|
|
Task<IEnumerable<DetectedOperationStatDto>?> GetOperationsStatAsync(DetectedOperationRequest request, CancellationToken token);
|
|
|
|
|
Task<Stream> ExportAsync(IEnumerable<int> idsWells, CancellationToken token);
|
2022-04-28 15:04:13 +05:00
|
|
|
|
}
|
2022-08-04 15:06:17 +05:00
|
|
|
|
#nullable disable
|
2022-04-28 15:04:13 +05:00
|
|
|
|
}
|