diff --git a/AsbCloudApp/Data/DailyReport/DailyReportDto.cs b/AsbCloudApp/Data/DailyReport/DailyReportDto.cs
index 0caeea30..7c1a1ea1 100644
--- a/AsbCloudApp/Data/DailyReport/DailyReportDto.cs
+++ b/AsbCloudApp/Data/DailyReport/DailyReportDto.cs
@@ -64,7 +64,7 @@ public class DailyReportDto : IId,
///
/// Дата формирования отчёта
///
- public DateTime Date { get; set; }
+ public DateOnly Date { get; set; }
///
/// Дата последнего обновления
diff --git a/AsbCloudApp/Data/DetectedOperation/DetectedOperationDto.cs b/AsbCloudApp/Data/DetectedOperation/DetectedOperationDto.cs
index 9ca920b9..cdc6571b 100644
--- a/AsbCloudApp/Data/DetectedOperation/DetectedOperationDto.cs
+++ b/AsbCloudApp/Data/DetectedOperation/DetectedOperationDto.cs
@@ -12,6 +12,11 @@ namespace AsbCloudApp.Data.DetectedOperation
///
public int IdWell { get; set; }
+
+ ///
+ /// Id телеметрии
+ ///
+ public int IdTelemetry { get; set; }
///
/// Id названия/описания операции
@@ -72,5 +77,10 @@ namespace AsbCloudApp.Data.DetectedOperation
/// Ключевой параметр операции
///
public double Value { get; set; }
+
+ ///
+ /// Флаг включенной подсистемы
+ ///
+ public int EnabledSubsystems { get; set; }
}
}
diff --git a/AsbCloudApp/Data/DetectedOperation/EnabledSubsystemsFlags.cs b/AsbCloudApp/Data/DetectedOperation/EnabledSubsystemsFlags.cs
new file mode 100644
index 00000000..7011a272
--- /dev/null
+++ b/AsbCloudApp/Data/DetectedOperation/EnabledSubsystemsFlags.cs
@@ -0,0 +1,50 @@
+using System;
+
+namespace AsbCloudApp.Data.DetectedOperation;
+
+///
+/// Флаги включенных подсистем
+///
+[Flags]
+public enum EnabledSubsystemsFlags
+{
+ ///
+ /// Автоподача долота
+ ///
+ AutoRotor = 1 << 0,
+
+ ///
+ /// БУРЕНИЕ В СЛАЙДЕ
+ ///
+ AutoSlide = 1 << 1,
+
+ ///
+ /// ПРОРАБОТКА
+ ///
+ AutoConditionig = 1 << 2,
+
+ ///
+ /// СПУСК СПО
+ ///
+ AutoSinking = 1 << 3,
+
+ ///
+ /// ПОДЪЕМ СПО
+ ///
+ AutoLifting = 1 << 4,
+
+ ///
+ /// ПОДЪЕМ С ПРОРАБОТКОЙ
+ ///
+ AutoLiftingWithConditionig = 1 << 5,
+
+ ///
+ /// блокировка
+ ///
+ AutoBlocknig = 1 << 6,
+
+ ///
+ /// осцилляция
+ ///
+ AutoOscillation = 1 << 7,
+}
\ No newline at end of file
diff --git a/AsbCloudApp/Data/DetectedOperation/OperationsSummaryDto.cs b/AsbCloudApp/Data/DetectedOperation/OperationsSummaryDto.cs
deleted file mode 100644
index 74f755cc..00000000
--- a/AsbCloudApp/Data/DetectedOperation/OperationsSummaryDto.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-namespace AsbCloudApp.Data.DetectedOperation;
-
-///
-/// Статистика по операциям
-///
-public class OperationsSummaryDto
-{
- ///
- /// Id телеметрии
- ///
- public int IdTelemetry { get; set; }
-
- ///
- /// Id названия/описания операции
- ///
- public int IdCategory { get; set; }
-
- ///
- /// Количество операций
- ///
- public int Count { get; set; }
-
- ///
- /// Cумма проходок операций
- ///
- public double SumDepthIntervals { get; set; }
-
- ///
- /// Cумма продолжительностей операций
- ///
- public double SumDurationHours { get; set; }
-}
diff --git a/AsbCloudApp/Data/Progress/ProgressDto.cs b/AsbCloudApp/Data/Progress/ProgressDto.cs
new file mode 100644
index 00000000..3ad2c50a
--- /dev/null
+++ b/AsbCloudApp/Data/Progress/ProgressDto.cs
@@ -0,0 +1,18 @@
+namespace AsbCloudApp.Data.Progress;
+
+///
+/// DTO прогресса
+///
+public class ProgressDto
+{
+ ///
+ /// прогресс 0 - 100%
+ ///
+ public float Progress { get; set; }
+
+ ///
+ /// название текущей операции генерации
+ ///
+ public string? Operation { get; set; }
+
+}
diff --git a/AsbCloudApp/Data/Progress/ProgressExceptionDto.cs b/AsbCloudApp/Data/Progress/ProgressExceptionDto.cs
new file mode 100644
index 00000000..cb264178
--- /dev/null
+++ b/AsbCloudApp/Data/Progress/ProgressExceptionDto.cs
@@ -0,0 +1,29 @@
+using System;
+
+namespace AsbCloudApp.Data.Progress;
+
+///
+/// DTO прогресса с ошибкой
+///
+public class ProgressExceptionDto
+{
+ ///
+ /// прогресс 0 - 100%
+ ///
+ public float Progress { get; set; }
+
+ ///
+ /// название текущей операции генерации
+ ///
+ public string? Operation { get; set; }
+
+ ///
+ /// Отображаемый текст ошибки
+ ///
+ public string Message { get; set; } = null!;
+
+ ///
+ /// Инфо об исключении
+ ///
+ public Exception Exception { get; set; } = null!;
+}
\ No newline at end of file
diff --git a/AsbCloudApp/Data/Progress/ReportProgressDto.cs b/AsbCloudApp/Data/Progress/ReportProgressDto.cs
new file mode 100644
index 00000000..b14166e9
--- /dev/null
+++ b/AsbCloudApp/Data/Progress/ReportProgressDto.cs
@@ -0,0 +1,12 @@
+namespace AsbCloudApp.Data.Progress;
+
+///
+/// DTO завершенного прогресса генерации рапорта-диаграммы
+///
+public class ReportProgressFinalDto : ReportProgressDto
+{
+ ///
+ /// файл
+ ///
+ public FileInfoDto file { get; set; }
+}
diff --git a/AsbCloudApp/Data/Progress/ReportProgressFinalDto.cs b/AsbCloudApp/Data/Progress/ReportProgressFinalDto.cs
new file mode 100644
index 00000000..b5ce965a
--- /dev/null
+++ b/AsbCloudApp/Data/Progress/ReportProgressFinalDto.cs
@@ -0,0 +1,17 @@
+namespace AsbCloudApp.Data.Progress;
+
+///
+/// DTO прогресса генерации рапорта-диаграммы
+///
+public class ReportProgressDto : ProgressDto
+{
+ ///
+ /// номер текущей страницы
+ ///
+ public int CurrentPage { get; set; }
+
+ ///
+ /// предполагаемое суммарное количество страниц
+ ///
+ public int TotalPages { get; set; }
+}
diff --git a/AsbCloudApp/Data/ReportProgressDto.cs b/AsbCloudApp/Data/ReportProgressDto.cs
deleted file mode 100644
index c7bf4cbb..00000000
--- a/AsbCloudApp/Data/ReportProgressDto.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-namespace AsbCloudApp.Data
-{
- ///
- /// DTO прогресса генерации рапорта-диаграммы
- ///
- public class ReportProgressDto
- {
- ///
- /// прогресс 0 - 100%
- ///
- public float Progress { get; set; }
-
- ///
- /// название текущей операции генерации
- ///
- public string? Operation { get; set; }
-
- ///
- /// номер текущей страницы
- ///
- public int CurrentPage { get; set; }
-
- ///
- /// предполагаемое суммарное количество страниц
- ///
- public int TotalPages { get; set; }
- }
-}
diff --git a/AsbCloudApp/Data/Subsystems/SubsystemActiveWellStatDto.cs b/AsbCloudApp/Data/Subsystems/SubsystemActiveWellStatDto.cs
index 4032358f..04a7bce1 100644
--- a/AsbCloudApp/Data/Subsystems/SubsystemActiveWellStatDto.cs
+++ b/AsbCloudApp/Data/Subsystems/SubsystemActiveWellStatDto.cs
@@ -1,30 +1,24 @@
-using System.Collections.Generic;
-namespace AsbCloudApp.Data.Subsystems
+namespace AsbCloudApp.Data.Subsystems;
+
+///
+/// Статистика наработки подсистем по активным скважинам
+///
+public class SubsystemActiveWellStatDto
{
- ///
- /// Статистика наработки подсистем по активным скважинам
- ///
- public class SubsystemActiveWellStatDto
- {
- ///
- /// Активная скважина
- ///
- public WellInfoDto Well { get; set; } = null!;
- ///
- /// Наработки подсистемы АКБ
- ///
- public SubsystemStatDto? SubsystemAKB { get; set; }
- ///
- /// Наработки подсистемы МСЕ
- ///
- public SubsystemStatDto? SubsystemMSE { get; set; }
- ///
- /// Наработки подсистемы СПИН
- ///
- public SubsystemStatDto? SubsystemSpinMaster { get; set; }
- ///
- /// Наработки подсистемы ТОРК
- ///
- public SubsystemStatDto? SubsystemTorqueMaster { get; set; }
- }
+ ///
+ /// Активная скважина
+ ///
+ public WellInfoDto Well { get; set; } = null!;
+ ///
+ /// Наработки подсистемы АПД
+ ///
+ public SubsystemStatDto? SubsystemAPD { get; set; }
+ ///
+ /// Наработки подсистемы с осцилляцией
+ ///
+ public SubsystemStatDto? SubsystemOscillation { get; set; }
+ ///
+ /// Наработки подсистемы ТОРК
+ ///
+ public SubsystemStatDto? SubsystemTorqueMaster { get; set; }
}
\ No newline at end of file
diff --git a/AsbCloudApp/Data/Subsystems/SubsystemOperationTimeDto.cs b/AsbCloudApp/Data/Subsystems/SubsystemOperationTimeDto.cs
deleted file mode 100644
index 50a373d0..00000000
--- a/AsbCloudApp/Data/Subsystems/SubsystemOperationTimeDto.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-namespace AsbCloudApp.Data.Subsystems
-{
- ///
- /// Модель информации о работе подсистемы
- ///
- public class SubsystemOperationTimeDto:IId
- {
- ///
- /// Идентификатор
- ///
- public int Id { get; set; }
- ///
- /// идентификатор подсистемы
- ///
- public int IdSubsystem { get; set; }
- ///
- /// Название подсистемы
- ///
- public string SubsystemName { get; set; } = null!;
- ///
- /// дата/время включения подсистемы
- ///
- public DateTime DateStart { get; set; }
- ///
- /// дата/время выключения подсистемы
- ///
- public DateTime DateEnd { get; set; }
- ///
- /// глубина забоя на момент включения подсистемы
- ///
- public double DepthStart { get; set; }
- ///
- /// глубина забоя на момент выключения подсистемы
- ///
- public double DepthEnd { get; set; }
- }
-}
diff --git a/AsbCloudApp/Data/WellMapInfoDto.cs b/AsbCloudApp/Data/WellMapInfoDto.cs
index 5f6ca5a7..a677a1e3 100644
--- a/AsbCloudApp/Data/WellMapInfoDto.cs
+++ b/AsbCloudApp/Data/WellMapInfoDto.cs
@@ -1,5 +1,7 @@
using AsbCloudApp.Data.SAUB;
using System;
+using System.Collections.Generic;
+using System.Linq;
namespace AsbCloudApp.Data
{
@@ -37,6 +39,11 @@ namespace AsbCloudApp.Data
/// Дата полседнего получения данных от станции контроля параметров цементирования (СКЦ)
///
public DateTime? LastDataCpmsDate { get; set; }
+
+ ///
+ /// Компании
+ ///
+ public IEnumerable Companies { get; set; } = Enumerable.Empty();
}
///
diff --git a/AsbCloudApp/Repositories/IDailyReportRepository.cs b/AsbCloudApp/Repositories/IDailyReportRepository.cs
index 6e59941d..39de97e5 100644
--- a/AsbCloudApp/Repositories/IDailyReportRepository.cs
+++ b/AsbCloudApp/Repositories/IDailyReportRepository.cs
@@ -29,5 +29,5 @@ public interface IDailyReportRepository : ICrudRepository
///
///
///
- Task GetOrDefaultAsync(int idWell, DateTime date, CancellationToken cancellationToken);
+ Task GetOrDefaultAsync(int idWell, DateOnly date, CancellationToken cancellationToken);
}
\ No newline at end of file
diff --git a/AsbCloudApp/Requests/DetectedOperationRequest.cs b/AsbCloudApp/Requests/DetectedOperationRequest.cs
index 9bfa22f7..dcf66aab 100644
--- a/AsbCloudApp/Requests/DetectedOperationRequest.cs
+++ b/AsbCloudApp/Requests/DetectedOperationRequest.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
+using System.Linq;
namespace AsbCloudApp.Requests
{
@@ -14,36 +15,42 @@ namespace AsbCloudApp.Requests
///
[Required]
public int IdWell { get; set; }
+
+ ///
+ /// Список id телеметрий
+ /// пустой список - нет фильтрации
+ ///
+ public IEnumerable IdsTelemetries { get; set; } = Array.Empty();
///
/// категории операций
///
- public IEnumerable? IdsCategories { get; set; }
+ public IEnumerable IdsCategories { get; set; } = Array.Empty();
///
/// Больше или равно дате
///
- public DateTime? GtDate { get; set; }
+ public DateTimeOffset? GeDateStart { get; set; }
///
/// Меньше или равно дате
///
- public DateTime? LtDate { get; set; }
+ public DateTimeOffset? LeDateEnd { get; set; }
///
/// Больше или равно глубины забоя
///
- public double? GtDepth { get; set; }
+ public double? GeDepth { get; set; }
///
/// Меньше или равно глубины забоя
///
- public double? LtDepth { get; set; }
+ public double? LeDepth { get; set; }
///
/// Фильтр по пользователю панели
///
- public int? EqIdTelemetryUser { get; set; }
+ public int? IdTelemetryUser { get; set; }
}
}
diff --git a/AsbCloudApp/Requests/DetectedOperationSummaryRequest.cs b/AsbCloudApp/Requests/DetectedOperationSummaryRequest.cs
deleted file mode 100644
index 2b362f28..00000000
--- a/AsbCloudApp/Requests/DetectedOperationSummaryRequest.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-
-namespace AsbCloudApp.Requests;
-
-///
-/// Запрос на получение обобщенных данных по операцим
-///
-public class DetectedOperationSummaryRequest
-{
- ///
- /// Список id телеметрий
- /// пустой список - нет фильтрации
- ///
- public IEnumerable IdsTelemetries { get;set;} = Enumerable.Empty();
-
- ///
- /// Список id категорий операций
- /// пустой список - нет фильтрации
- ///
- public IEnumerable IdsOperationCategories { get; set; } = Enumerable.Empty();
-
- ///
- /// Больше или равно даты начала операции
- ///
- public DateTimeOffset? GeDateStart {get;set;}
-
- ///
- /// Меньше или равно даты начала операции
- ///
- public DateTimeOffset? LeDateStart { get; set; }
-
- ///
- /// Меньше или равно даты окончания операции
- ///
- public DateTimeOffset? LeDateEnd { get; set; }
-
- ///
- /// Больше или равно глубины начала операции
- ///
- public double? GeDepthStart { get; set; }
-
- ///
- /// Меньше или равно глубины начала операции
- ///
- public double? LeDepthStart { get; set; }
-
- ///
- /// Меньше или равно глубины окончания операции
- ///
- public double? LeDepthEnd { get; set; }
-}
diff --git a/AsbCloudApp/Requests/SubsystemOperationTimeRequest.cs b/AsbCloudApp/Requests/SubsystemOperationTimeRequest.cs
deleted file mode 100644
index 26aae17a..00000000
--- a/AsbCloudApp/Requests/SubsystemOperationTimeRequest.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-
-namespace AsbCloudApp.Requests
-{
- ///
- /// класс с фильтрами для запроса
- ///
- public class SubsystemOperationTimeRequest: RequestBase, IValidatableObject
- {
- private static readonly DateTime validationMinDate = new DateTime(2020,01,01,0,0,0,DateTimeKind.Utc);
-
- ///
- /// идентификатор скважины
- ///
- [Required]
- public int IdWell { get; set; }
-
- ///
- /// идентификатор подсистемы
- ///
- public IEnumerable IdsSubsystems { get; set; } = Enumerable.Empty();
-
- ///
- /// Больше или равно дате
- ///
- public DateTime? GtDate { get; set; }//TODO: its Ge*
-
- ///
- /// Меньше или равно дате
- ///
- public DateTime? LtDate { get; set; }
-
- ///
- /// Больше или равно глубины забоя
- ///
- public double? GtDepth { get; set; }
-
- ///
- /// Меньше или равно глубины забоя
- ///
- public double? LtDepth { get; set; }
-
- //TODO: Replace modes by DateTimeOffset LeDateStart, LeDateEnd
- ///
- /// информация попадает в выборку, если интервал выборки частично или полностью пересекается с запрашиваемым интервалом
- ///
- public const int SelectModeOuter = 0;
-
- ///
- /// информация попадает в выборку, если интервал выборки строго полностью пересекается с запрашиваемым интервалом.
- ///
- public const int SelectModeInner = 1;
-
- ///
- /// аналогично outer, но интервалы в частично пересекающиеся укорачиваются по границам интервала выборки.
- ///
- public const int SelectModeTrim = 2;
-
- ///
- /// Режим выборки элементов
- ///
- public int SelectMode { get; set; } = SelectModeOuter;
-
- ///
- public IEnumerable Validate(ValidationContext validationContext)
- {
- if (GtDate.HasValue && GtDate < validationMinDate)
- yield return new ValidationResult(
- $"Должно быть больше {validationMinDate:O})",
- new[] { nameof(GtDate) });
-
- if (LtDate.HasValue && GtDate.HasValue)
- {
- if (LtDate < GtDate)
- yield return new ValidationResult(
- $"{nameof(LtDate)} должно быть больше {nameof(GtDate)}. ({LtDate:O} < {GtDate:O})",
- new[] { nameof(LtDate), nameof(GtDate) });
- }
-
- if (LtDepth.HasValue && GtDepth.HasValue)
- {
- if (LtDepth < GtDepth)
- yield return new ValidationResult(
- $"{nameof(LtDepth)} должно быть больше {nameof(GtDepth)}. ({LtDepth} < {GtDepth})",
- new[] { nameof(LtDepth), nameof(GtDepth) });
- }
-
- yield break;
- }
- }
-}
diff --git a/AsbCloudApp/Requests/SubsystemRequest.cs b/AsbCloudApp/Requests/SubsystemRequest.cs
new file mode 100644
index 00000000..23a7e70a
--- /dev/null
+++ b/AsbCloudApp/Requests/SubsystemRequest.cs
@@ -0,0 +1,72 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+
+namespace AsbCloudApp.Requests
+{
+ ///
+ /// класс с фильтрами для запроса
+ ///
+ public class SubsystemRequest: RequestBase, IValidatableObject
+ {
+ private static readonly DateTime validationMinDate = new DateTime(2020,01,01,0,0,0,DateTimeKind.Utc);
+
+ ///
+ /// идентификатор скважины
+ ///
+ [Required]
+ public int IdWell { get; set; }
+
+ ///
+ /// Идентификатор бурильщика
+ ///
+ public int? IdDriller { get; set; }
+
+ ///
+ /// Больше или равно дате
+ ///
+ public DateTimeOffset? GeDate { get; set; }
+
+ ///
+ /// Меньше или равно дате
+ ///
+ public DateTimeOffset? LeDate { get; set; }
+
+ ///
+ /// Больше или равно глубины забоя
+ ///
+ public double? GeDepth { get; set; }
+
+ ///
+ /// Меньше или равно глубины забоя
+ ///
+ public double? LeDepth { get; set; }
+
+ ///
+ public IEnumerable Validate(ValidationContext validationContext)
+ {
+ if (GeDate.HasValue && GeDate < validationMinDate)
+ yield return new ValidationResult(
+ $"Должно быть больше {validationMinDate:O})",
+ new[] { nameof(GeDate) });
+
+ if (LeDate.HasValue && GeDate.HasValue)
+ {
+ if (LeDate < GeDate)
+ yield return new ValidationResult(
+ $"{nameof(LeDate)} должно быть больше {nameof(GeDate)}. ({LeDate:O} < {GeDate:O})",
+ new[] { nameof(LeDate), nameof(GeDate) });
+ }
+
+ if (LeDepth.HasValue && GeDepth.HasValue)
+ {
+ if (LeDepth < GeDepth)
+ yield return new ValidationResult(
+ $"{nameof(LeDepth)} должно быть больше {nameof(GeDepth)}. ({LeDepth} < {GeDepth})",
+ new[] { nameof(LeDepth), nameof(GeDepth) });
+ }
+
+ yield break;
+ }
+ }
+}
diff --git a/AsbCloudApp/Services/DailyReport/IDailyReportExportService.cs b/AsbCloudApp/Services/DailyReport/IDailyReportExportService.cs
index fb9a897a..eb09874a 100644
--- a/AsbCloudApp/Services/DailyReport/IDailyReportExportService.cs
+++ b/AsbCloudApp/Services/DailyReport/IDailyReportExportService.cs
@@ -14,8 +14,8 @@ public interface IDailyReportExportService
/// Экспортировать
///
///
- ///
+ ///
///
///
- Task<(string FileName, Stream File)> ExportAsync(int idWell, DateTime dailyReportDateStart, CancellationToken cancellationToken);
+ Task<(string FileName, Stream File)> ExportAsync(int idWell, DateOnly dailyReportDate, CancellationToken cancellationToken);
}
\ No newline at end of file
diff --git a/AsbCloudApp/Services/DailyReport/IDailyReportService.cs b/AsbCloudApp/Services/DailyReport/IDailyReportService.cs
index 44283a44..f0318025 100644
--- a/AsbCloudApp/Services/DailyReport/IDailyReportService.cs
+++ b/AsbCloudApp/Services/DailyReport/IDailyReportService.cs
@@ -21,7 +21,7 @@ public interface IDailyReportService
///
///
///
- Task UpdateOrInsertAsync(int idWell, DateTime dateDailyReport, int idUser, TBlock editableBlock,
+ Task UpdateOrInsertAsync(int idWell, DateOnly dateDailyReport, int idUser, TBlock editableBlock,
CancellationToken cancellationToken)
where TBlock : ItemInfoDto;
@@ -32,7 +32,7 @@ public interface IDailyReportService
///
///
///
- Task GetAsync(int idWell, DateTime dateDailyReport, CancellationToken cancellationToken);
+ Task GetAsync(int idWell, DateOnly dateDailyReport, CancellationToken cancellationToken);
///
/// Получить список суточных отчётов по скважине
diff --git a/AsbCloudApp/Services/IDetectedOperationService.cs b/AsbCloudApp/Services/IDetectedOperationService.cs
index 1117d8e3..e4f8f201 100644
--- a/AsbCloudApp/Services/IDetectedOperationService.cs
+++ b/AsbCloudApp/Services/IDetectedOperationService.cs
@@ -35,15 +35,7 @@ namespace AsbCloudApp.Services
///
///
///
- Task?> GetOperationsAsync(DetectedOperationRequest request, CancellationToken token);
-
- ///
- /// Получить интервалы глубин по всем скважинам
- ///
- ///
- ///
- /// кортеж - ид телеметрии, интервалы глубины забоя (ротор,слайд)
- Task> GetOperationSummaryAsync(DetectedOperationSummaryRequest request, CancellationToken token);
+ Task> GetOperationsAsync(DetectedOperationRequest request, CancellationToken token);
///
/// Удалить операции
diff --git a/AsbCloudApp/Services/IReportService.cs b/AsbCloudApp/Services/IReportService.cs
index 85d72020..5f992a20 100644
--- a/AsbCloudApp/Services/IReportService.cs
+++ b/AsbCloudApp/Services/IReportService.cs
@@ -1,4 +1,6 @@
using AsbCloudApp.Data;
+using AsbCloudApp.Data.Progress;
+using AsbCloudApp.Requests;
using System;
using System.Collections.Generic;
using System.Threading;
@@ -11,26 +13,30 @@ namespace AsbCloudApp.Services
///
public interface IReportService
{
- ///
- /// категория рапорта
- ///
- int ReportCategoryId { get; }
///
/// Поставить рапорт в очередь на формирование
///
///
///
- ///
- ///
- ///
- ///
+ ///
///
///
- string EnqueueCreateReportWork(int idWell, int idUser, int stepSeconds,
- int format, DateTime begin, DateTime end,
+ string EnqueueCreateReportWork(int idWell, int idUser, ReportParametersRequest request,
Action