forked from ddrilling/AsbCloudServer
23 lines
975 B
C#
23 lines
975 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudDb.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
public interface IAnalyticsService
|
|
{
|
|
PaginationContainer<TelemetryOperationDto> GetOperationsByWell(int idWell,
|
|
IEnumerable<int> categoryids = default, DateTime begin = default,
|
|
DateTime end = default, int skip = 0, int take = 32);
|
|
IEnumerable<WellDepthToDayDto> GetWellDepthToDay(int idWell);
|
|
IEnumerable<WellDepthToIntervalDto> GetWellDepthToInterval(int idWell,
|
|
int intervalHoursTimestamp, int workBeginTimestamp);
|
|
IEnumerable<TelemetryOperationDurationDto> GetOperationsSummary(int idWell,
|
|
DateTime begin = default, DateTime end = default);
|
|
IEnumerable<TelemetryOperationInfoDto> GetOperationsToInterval(int idWell,
|
|
int intervalHoursTimestamp, int workBeginTimestamp);
|
|
void SaveAnalytics(DataSaubBase dataSaub);
|
|
}
|
|
}
|