forked from ddrilling/AsbCloudServer
29 lines
1.3 KiB
C#
29 lines
1.3 KiB
C#
using AsbCloudApp.Data;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
public interface ITelemetryAnalyticsService
|
|
{
|
|
Task<PaginationContainer<TelemetryOperationDto>> GetOperationsByWellAsync(int idWell,
|
|
IEnumerable<int> categoryids = default, DateTime begin = default,
|
|
DateTime end = default, int skip = 0, int take = 32,
|
|
CancellationToken token = default);
|
|
Task<IEnumerable<WellDepthToDayDto>> GetWellDepthToDayAsync(int idWell,
|
|
CancellationToken token = default);
|
|
Task<IEnumerable<WellDepthToIntervalDto>> GetWellDepthToIntervalAsync(int idWell,
|
|
int intervalHoursTimestamp, int workBeginTimestamp,
|
|
CancellationToken token = default);
|
|
Task<IEnumerable<TelemetryOperationDurationDto>> GetOperationsSummaryAsync(int idWell,
|
|
DateTime begin = default, DateTime end = default,
|
|
CancellationToken token = default);
|
|
Task<IEnumerable<TelemetryOperationInfoDto>> GetOperationsToIntervalAsync(int idWell,
|
|
int intervalHoursTimestamp, int workBeginTimestamp,
|
|
CancellationToken token = default);
|
|
void SaveAnalytics(DataSaubBaseDto dataSaub);
|
|
}
|
|
}
|