2023-01-13 14:34:26 +05:00
|
|
|
|
using AsbCloudApp.Data.SAUB;
|
2023-03-09 12:32:09 +05:00
|
|
|
|
using System;
|
2023-01-13 14:34:26 +05:00
|
|
|
|
using System.Collections.Generic;
|
2023-03-09 12:32:09 +05:00
|
|
|
|
using System.IO;
|
2023-01-13 14:34:26 +05:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Телеметрия САУБ
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ITelemetryDataSaubService : ITelemetryDataService<TelemetryDataSaubDto>
|
|
|
|
|
{
|
2024-02-08 17:33:38 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение телеметрии для РТК статистики
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idTelemetry"></param>
|
|
|
|
|
/// <param name="isBitOnBottom"></param>
|
|
|
|
|
/// <param name="geDate"></param>
|
|
|
|
|
/// <param name="leDate"></param>
|
|
|
|
|
/// <param name="take"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<IEnumerable<TelemetryDataSaubDto>> Get(int idTelemetry, bool isBitOnBottom, DateTimeOffset geDate, DateTimeOffset leDate, int take, CancellationToken token);
|
|
|
|
|
|
2023-01-13 14:34:26 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// усредненная статистика по 1м за весь период
|
|
|
|
|
/// <para>
|
|
|
|
|
/// МЕДЛЕННЫЙ ЗАПРОС
|
|
|
|
|
/// </para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idTelemetry"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<IEnumerable<TelemetryDataSaubStatDto>> GetTelemetryDataStatAsync(int idTelemetry, CancellationToken token);
|
2023-03-09 12:32:09 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить упакованый csv файл
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="beginDate"></param>
|
|
|
|
|
/// <param name="endDate"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<Stream> GetZippedCsv(int idWell, DateTime beginDate, DateTime endDate, CancellationToken token);
|
2023-01-13 14:34:26 +05:00
|
|
|
|
}
|
ISubsystemOperationTimeService, ISubsystemService, FileService, IAuthService, ICrudRepository, IDetectedOperationService, ILimitingParameterService, IMessageService, IPlannedTrajectoryImportService, IProcessMapService, IReduceSamplingService, IReportService, IRepositoryWellRelated, IRequerstTrackerService, ISetpointsService, ITelemetryDataSaubService, ITelemetryDataService, ITelemetryService, ITelemetryUserService, ITrajectoryVisualizationService, IWellFinalDocumentsService, IWellService
2023-02-27 10:21:17 +05:00
|
|
|
|
}
|