From 57fc19396e5a55ee79a30c749e68bb556f69afaf Mon Sep 17 00:00:00 2001 From: "ai.astrakhantsev" Date: Mon, 27 Feb 2023 10:21:17 +0500 Subject: [PATCH] ISubsystemOperationTimeService, ISubsystemService, FileService, IAuthService, ICrudRepository, IDetectedOperationService, ILimitingParameterService, IMessageService, IPlannedTrajectoryImportService, IProcessMapService, IReduceSamplingService, IReportService, IRepositoryWellRelated, IRequerstTrackerService, ISetpointsService, ITelemetryDataSaubService, ITelemetryDataService, ITelemetryService, ITelemetryUserService, ITrajectoryVisualizationService, IWellFinalDocumentsService, IWellService --- AsbCloudApp/Services/FileService.cs | 2 -- AsbCloudApp/Services/IAuthService.cs | 2 -- AsbCloudApp/Services/ICrudRepository.cs | 3 --- AsbCloudApp/Services/IDetectedOperationService.cs | 2 -- AsbCloudApp/Services/ILimitingParameterService.cs | 2 -- AsbCloudApp/Services/IMessageService.cs | 1 - AsbCloudApp/Services/IPlannedTrajectoryImportService.cs | 2 -- AsbCloudApp/Services/IProcessMapService.cs | 2 -- AsbCloudApp/Services/IReduceSamplingService.cs | 2 -- AsbCloudApp/Services/IReportService.cs | 3 --- AsbCloudApp/Services/IRepositoryWellRelated.cs | 2 -- AsbCloudApp/Services/IRequestTracker.cs | 3 --- AsbCloudApp/Services/ISetpointsService.cs | 1 - AsbCloudApp/Services/ITelemetryDataSaubService.cs | 4 +--- AsbCloudApp/Services/ITelemetryDataService.cs | 4 +--- AsbCloudApp/Services/ITelemetryService.cs | 3 --- AsbCloudApp/Services/ITelemetryUserService.cs | 2 -- AsbCloudApp/Services/ITrajectoryVisualizationService.cs | 2 -- AsbCloudApp/Services/IWellFinalDocumentsService.cs | 2 -- AsbCloudApp/Services/IWellService.cs | 2 -- .../Services/Subsystems/ISubsystemOperationTimeService.cs | 2 -- AsbCloudApp/Services/Subsystems/ISubsystemService.cs | 2 -- 22 files changed, 2 insertions(+), 48 deletions(-) diff --git a/AsbCloudApp/Services/FileService.cs b/AsbCloudApp/Services/FileService.cs index d361cf38..54853b51 100644 --- a/AsbCloudApp/Services/FileService.cs +++ b/AsbCloudApp/Services/FileService.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис доступа к файлам /// @@ -299,5 +298,4 @@ namespace AsbCloudApp.Services return fileStream; } } -#nullable disable } diff --git a/AsbCloudApp/Services/IAuthService.cs b/AsbCloudApp/Services/IAuthService.cs index 93d14124..1b332a84 100644 --- a/AsbCloudApp/Services/IAuthService.cs +++ b/AsbCloudApp/Services/IAuthService.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис авторизации /// @@ -53,5 +52,4 @@ namespace AsbCloudApp.Services /// int Register(UserRegistrationDto userDto); } -#nullable disable } \ No newline at end of file diff --git a/AsbCloudApp/Services/ICrudRepository.cs b/AsbCloudApp/Services/ICrudRepository.cs index f402ebb9..55cfad99 100644 --- a/AsbCloudApp/Services/ICrudRepository.cs +++ b/AsbCloudApp/Services/ICrudRepository.cs @@ -4,8 +4,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable - /// /// Сервис получения, добавления, изменения, удаления данных /// @@ -73,5 +71,4 @@ namespace AsbCloudApp.Services /// количество добавленных, если меньше 0 - код ошибки Task DeleteAsync(int id, CancellationToken token); } -#nullable disable } \ No newline at end of file diff --git a/AsbCloudApp/Services/IDetectedOperationService.cs b/AsbCloudApp/Services/IDetectedOperationService.cs index 8418557c..901f7b3f 100644 --- a/AsbCloudApp/Services/IDetectedOperationService.cs +++ b/AsbCloudApp/Services/IDetectedOperationService.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис автоматически определенных по телеметрии операций /// @@ -74,5 +73,4 @@ namespace AsbCloudApp.Services /// Task ExportAsync(IEnumerable idsWells, CancellationToken token); } -#nullable disable } diff --git a/AsbCloudApp/Services/ILimitingParameterService.cs b/AsbCloudApp/Services/ILimitingParameterService.cs index 5f752a62..670448e5 100644 --- a/AsbCloudApp/Services/ILimitingParameterService.cs +++ b/AsbCloudApp/Services/ILimitingParameterService.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис по ограничивающим параметрам с фильтрацией /// @@ -26,5 +25,4 @@ namespace AsbCloudApp.Services /// Dictionary GetLimitingParameteraNames(); } -#nullable disable } diff --git a/AsbCloudApp/Services/IMessageService.cs b/AsbCloudApp/Services/IMessageService.cs index b3abd842..68592619 100644 --- a/AsbCloudApp/Services/IMessageService.cs +++ b/AsbCloudApp/Services/IMessageService.cs @@ -1,7 +1,6 @@ using AsbCloudApp.Data; using AsbCloudApp.Data.SAUB; using AsbCloudApp.Requests; -using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/AsbCloudApp/Services/IPlannedTrajectoryImportService.cs b/AsbCloudApp/Services/IPlannedTrajectoryImportService.cs index f3e3a162..9d00caf0 100644 --- a/AsbCloudApp/Services/IPlannedTrajectoryImportService.cs +++ b/AsbCloudApp/Services/IPlannedTrajectoryImportService.cs @@ -4,7 +4,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис загрузки и обработки плановой траектории из файла /// @@ -38,5 +37,4 @@ namespace AsbCloudApp.Services /// Очистить старые координаты перед импортом (если файл проходит валидацию) Task ImportAsync(int idWell, int idUser, Stream stream, bool deleteBeforeImport, CancellationToken token); } -#nullable disable } diff --git a/AsbCloudApp/Services/IProcessMapService.cs b/AsbCloudApp/Services/IProcessMapService.cs index 11bb2846..63a611c8 100644 --- a/AsbCloudApp/Services/IProcessMapService.cs +++ b/AsbCloudApp/Services/IProcessMapService.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис формирования РТК /// @@ -19,5 +18,4 @@ namespace AsbCloudApp.Services /// Task> GetProcessMapAsync(int idWell, CancellationToken token); } -#nullable disable } diff --git a/AsbCloudApp/Services/IReduceSamplingService.cs b/AsbCloudApp/Services/IReduceSamplingService.cs index a0220c58..ce4d491d 100644 --- a/AsbCloudApp/Services/IReduceSamplingService.cs +++ b/AsbCloudApp/Services/IReduceSamplingService.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; namespace AsbCloudApp.Services { -#nullable enable /// /// Делегат обновления состояния задачи /// @@ -39,5 +38,4 @@ namespace AsbCloudApp.Services /// задача добавлена == true bool TryEnqueueRediceSamplingJob(int idTelemetry, OnJobProgressDelagate onProgress, out JobDto jobDto); } -#nullable disable } \ No newline at end of file diff --git a/AsbCloudApp/Services/IReportService.cs b/AsbCloudApp/Services/IReportService.cs index e5e24648..1f4a7d35 100644 --- a/AsbCloudApp/Services/IReportService.cs +++ b/AsbCloudApp/Services/IReportService.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис рапортов /// @@ -58,7 +57,5 @@ namespace AsbCloudApp.Services /// /// Task> GetAllReportsByWellAsync(int idWell, CancellationToken token); - -#nullable disable } } diff --git a/AsbCloudApp/Services/IRepositoryWellRelated.cs b/AsbCloudApp/Services/IRepositoryWellRelated.cs index 112cff89..9c771657 100644 --- a/AsbCloudApp/Services/IRepositoryWellRelated.cs +++ b/AsbCloudApp/Services/IRepositoryWellRelated.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Репозиторий получения, добавления, изменения, удаления данных
/// Для сущностей относящихся к скважине @@ -30,5 +29,4 @@ namespace AsbCloudApp.Services /// emptyList if nothing found Task> GetByIdWellAsync(IEnumerable idsWells, CancellationToken token); } -#nullable disable } \ No newline at end of file diff --git a/AsbCloudApp/Services/IRequestTracker.cs b/AsbCloudApp/Services/IRequestTracker.cs index 3a4c0fe3..b83d5146 100644 --- a/AsbCloudApp/Services/IRequestTracker.cs +++ b/AsbCloudApp/Services/IRequestTracker.cs @@ -4,8 +4,6 @@ using System.Collections.Generic; namespace AsbCloudApp.Services { -#nullable enable - /// /// Отслеживание и сбор статистики по запросам /// @@ -59,5 +57,4 @@ namespace AsbCloudApp.Services /// IEnumerable GetUsersStat(int? take); } -#nullable disable } diff --git a/AsbCloudApp/Services/ISetpointsService.cs b/AsbCloudApp/Services/ISetpointsService.cs index 0d2127a1..cd80feef 100644 --- a/AsbCloudApp/Services/ISetpointsService.cs +++ b/AsbCloudApp/Services/ISetpointsService.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис рекомендаций новых уставок для панели оператора САУБ /// diff --git a/AsbCloudApp/Services/ITelemetryDataSaubService.cs b/AsbCloudApp/Services/ITelemetryDataSaubService.cs index d6bdcb6f..f8d9c3be 100644 --- a/AsbCloudApp/Services/ITelemetryDataSaubService.cs +++ b/AsbCloudApp/Services/ITelemetryDataSaubService.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -#nullable enable namespace AsbCloudApp.Services { /// @@ -22,5 +21,4 @@ namespace AsbCloudApp.Services /// Task> GetTelemetryDataStatAsync(int idTelemetry, CancellationToken token); } -} -#nullable disable \ No newline at end of file +} \ No newline at end of file diff --git a/AsbCloudApp/Services/ITelemetryDataService.cs b/AsbCloudApp/Services/ITelemetryDataService.cs index 585843ff..af80eb23 100644 --- a/AsbCloudApp/Services/ITelemetryDataService.cs +++ b/AsbCloudApp/Services/ITelemetryDataService.cs @@ -4,7 +4,6 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -#nullable enable namespace AsbCloudApp.Services { /// @@ -36,5 +35,4 @@ namespace AsbCloudApp.Services /// Task UpdateDataAsync(string uid, IEnumerable dtos, CancellationToken token); } -} -#nullable disable \ No newline at end of file +} \ No newline at end of file diff --git a/AsbCloudApp/Services/ITelemetryService.cs b/AsbCloudApp/Services/ITelemetryService.cs index 62b8f8e1..b7f81c32 100644 --- a/AsbCloudApp/Services/ITelemetryService.cs +++ b/AsbCloudApp/Services/ITelemetryService.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис телеметрии /// @@ -82,6 +81,4 @@ namespace AsbCloudApp.Services /// Task MergeAsync(int from, int to, CancellationToken token); } - -#nullable disable } \ No newline at end of file diff --git a/AsbCloudApp/Services/ITelemetryUserService.cs b/AsbCloudApp/Services/ITelemetryUserService.cs index 558f24c5..2b9204ab 100644 --- a/AsbCloudApp/Services/ITelemetryUserService.cs +++ b/AsbCloudApp/Services/ITelemetryUserService.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// сервис пользователей телеметрии /// @@ -37,5 +36,4 @@ namespace AsbCloudApp.Services /// Task UpsertAsync(string uid, IEnumerable dtos, CancellationToken token = default); } -#nullable disable } \ No newline at end of file diff --git a/AsbCloudApp/Services/ITrajectoryVisualizationService.cs b/AsbCloudApp/Services/ITrajectoryVisualizationService.cs index a387e501..31d77271 100644 --- a/AsbCloudApp/Services/ITrajectoryVisualizationService.cs +++ b/AsbCloudApp/Services/ITrajectoryVisualizationService.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис "Визуализация траектории 3D" /// @@ -19,5 +18,4 @@ namespace AsbCloudApp.Services /// Task> GetTrajectoryAsync(int idWell, CancellationToken token); } -#nullable disable } diff --git a/AsbCloudApp/Services/IWellFinalDocumentsService.cs b/AsbCloudApp/Services/IWellFinalDocumentsService.cs index 63536c7c..1d6196ca 100644 --- a/AsbCloudApp/Services/IWellFinalDocumentsService.cs +++ b/AsbCloudApp/Services/IWellFinalDocumentsService.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// Сервис "Дело скважины" /// @@ -52,5 +51,4 @@ namespace AsbCloudApp.Services /// count of notified publishers Task ReNotifyPublishersAsync(int idWell, int idUser, int idCategory, CancellationToken token); } -#nullable disable } \ No newline at end of file diff --git a/AsbCloudApp/Services/IWellService.cs b/AsbCloudApp/Services/IWellService.cs index 23873015..057b3444 100644 --- a/AsbCloudApp/Services/IWellService.cs +++ b/AsbCloudApp/Services/IWellService.cs @@ -7,7 +7,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services { -#nullable enable /// /// сервис скважин /// @@ -104,5 +103,4 @@ namespace AsbCloudApp.Services /// Task> GetWellTreeAsync(int idCompany, CancellationToken token); } -#nullable disable } diff --git a/AsbCloudApp/Services/Subsystems/ISubsystemOperationTimeService.cs b/AsbCloudApp/Services/Subsystems/ISubsystemOperationTimeService.cs index 8df7ee07..2f6fb8f5 100644 --- a/AsbCloudApp/Services/Subsystems/ISubsystemOperationTimeService.cs +++ b/AsbCloudApp/Services/Subsystems/ISubsystemOperationTimeService.cs @@ -8,7 +8,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services.Subsystems { -#nullable enable /// /// Получение инфо о наработке подсистем /// @@ -66,5 +65,4 @@ namespace AsbCloudApp.Services.Subsystems /// Task> GetStatByActiveWells(IEnumerable wellIds, CancellationToken token); } -#nullable disable } diff --git a/AsbCloudApp/Services/Subsystems/ISubsystemService.cs b/AsbCloudApp/Services/Subsystems/ISubsystemService.cs index ff26a4d2..b343b055 100644 --- a/AsbCloudApp/Services/Subsystems/ISubsystemService.cs +++ b/AsbCloudApp/Services/Subsystems/ISubsystemService.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; namespace AsbCloudApp.Services.Subsystems { -#nullable enable // TODO: move this to repositories /// @@ -21,5 +20,4 @@ namespace AsbCloudApp.Services.Subsystems /// Task?> GetSubsystemAsync(int? idWell, CancellationToken token); } -#nullable disable }