2021-06-22 09:49:53 +05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2021-06-17 15:12:39 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2021-06-24 13:02:31 +05:00
|
|
|
|
using AsbCloudDb.Model;
|
2021-06-17 15:12:39 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IAnalyticsService
|
|
|
|
|
{
|
2021-07-20 15:13:26 +05:00
|
|
|
|
IEnumerable<OperationDto> GetOperations(int wellId);
|
2021-06-22 09:49:53 +05:00
|
|
|
|
IEnumerable<WellDepthToDayDto> GetWellDepthToDay(int wellId);
|
|
|
|
|
IEnumerable<WellDepthToIntervalDto> GetWellDepthToInterval(int wellId,
|
2021-06-25 15:10:05 +05:00
|
|
|
|
int intervalHoursTimestamp, int workBeginTimestamp);
|
2021-06-30 10:16:06 +05:00
|
|
|
|
IEnumerable<OperationDurationDto> GetOperationsSummary(int wellId,
|
2021-06-22 09:49:53 +05:00
|
|
|
|
DateTime begin = default, DateTime end = default);
|
2021-06-30 10:16:06 +05:00
|
|
|
|
IEnumerable<OperationInfoDto> GetOperationsToInterval(int wellId,
|
|
|
|
|
int intervalHoursTimestamp, int workBeginTimestamp);
|
2021-07-20 11:24:57 +05:00
|
|
|
|
void SaveAnalytics(DataSaubBase dataSaub);
|
2021-06-17 15:12:39 +05:00
|
|
|
|
}
|
|
|
|
|
}
|