2021-07-21 15:29:19 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System;
|
2021-05-31 12:33:17 +05:00
|
|
|
|
using System.Collections.Generic;
|
2021-08-11 16:54:42 +05:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2021-05-18 12:33:23 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IReportService
|
|
|
|
|
{
|
2021-07-27 16:55:32 +05:00
|
|
|
|
int ReportCategoryId { get; }
|
2021-08-09 15:41:42 +05:00
|
|
|
|
int CreateReport(int idWell, int idUser, int stepSeconds,
|
2021-07-27 16:55:32 +05:00
|
|
|
|
int format, DateTime begin, DateTime end,
|
2021-09-23 10:52:10 +05:00
|
|
|
|
Action<object, int> handleReportProgress);
|
2021-08-09 15:41:42 +05:00
|
|
|
|
int GetReportPagesCount(int idWell, DateTime begin, DateTime end,
|
2021-07-27 16:55:32 +05:00
|
|
|
|
int stepSeconds, int format);
|
2022-01-05 17:50:45 +05:00
|
|
|
|
DatesRangeDto GetDatesRangeOrDefault(int idWell);
|
|
|
|
|
Task<IEnumerable<ReportPropertiesDto>> GetAllReportsByWellAsync(int idWell, CancellationToken token);
|
2021-05-18 12:33:23 +05:00
|
|
|
|
}
|
|
|
|
|
}
|