DD.WellWorkover.Cloud/AsbCloudApp/Services/IAnalyticsService.cs

23 lines
1.0 KiB
C#

using AsbCloudApp.Data;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AsbCloudApp.Services
{
public interface IAnalyticsService
{
Task<PaginationContainer<TelemetryOperationDto>> GetOperationsByWellAsync(int idWell,
IEnumerable<int> categoryids = default, DateTime begin = default,
DateTime end = default, int skip = 0, int take = 32);
Task<IEnumerable<WellDepthToDayDto>> GetWellDepthToDayAsync(int idWell);
Task<IEnumerable<WellDepthToIntervalDto>> GetWellDepthToIntervalAsync(int idWell,
int intervalHoursTimestamp, int workBeginTimestamp);
Task<IEnumerable<TelemetryOperationDurationDto>> GetOperationsSummaryAsync(int idWell,
DateTime begin = default, DateTime end = default);
Task<IEnumerable<TelemetryOperationInfoDto>> GetOperationsToIntervalAsync(int idWell,
int intervalHoursTimestamp, int workBeginTimestamp);
void SaveAnalytics(DataSaubBaseDto dataSaub);
}
}