2021-07-21 15:29:19 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2021-08-11 12:11:21 +05:00
|
|
|
|
using System.Threading.Tasks;
|
2021-06-17 15:12:39 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IAnalyticsService
|
|
|
|
|
{
|
2021-08-11 12:11:21 +05:00
|
|
|
|
Task<PaginationContainer<TelemetryOperationDto>> GetOperationsByWellAsync(int idWell,
|
2021-08-09 15:41:42 +05:00
|
|
|
|
IEnumerable<int> categoryids = default, DateTime begin = default,
|
2021-07-21 16:49:24 +05:00
|
|
|
|
DateTime end = default, int skip = 0, int take = 32);
|
2021-08-11 12:11:21 +05:00
|
|
|
|
Task<IEnumerable<WellDepthToDayDto>> GetWellDepthToDayAsync(int idWell);
|
|
|
|
|
Task<IEnumerable<WellDepthToIntervalDto>> GetWellDepthToIntervalAsync(int idWell,
|
2021-06-25 15:10:05 +05:00
|
|
|
|
int intervalHoursTimestamp, int workBeginTimestamp);
|
2021-08-11 12:11:21 +05:00
|
|
|
|
Task<IEnumerable<TelemetryOperationDurationDto>> GetOperationsSummaryAsync(int idWell,
|
2021-06-22 09:49:53 +05:00
|
|
|
|
DateTime begin = default, DateTime end = default);
|
2021-08-11 12:11:21 +05:00
|
|
|
|
Task<IEnumerable<TelemetryOperationInfoDto>> GetOperationsToIntervalAsync(int idWell,
|
2021-06-30 10:16:06 +05:00
|
|
|
|
int intervalHoursTimestamp, int workBeginTimestamp);
|
2021-08-09 14:01:57 +05:00
|
|
|
|
void SaveAnalytics(DataSaubBaseDto dataSaub);
|
2021-06-17 15:12:39 +05:00
|
|
|
|
}
|
|
|
|
|
}
|