DD.WellWorkover.Cloud/AsbCloudApp/Services/IAnalyticsService.cs
2021-07-21 15:29:19 +05:00

21 lines
789 B
C#

using AsbCloudApp.Data;
using AsbCloudDb.Model;
using System;
using System.Collections.Generic;
namespace AsbCloudApp.Services
{
public interface IAnalyticsService
{
IEnumerable<OperationDto> GetOperations(int wellId);
IEnumerable<WellDepthToDayDto> GetWellDepthToDay(int wellId);
IEnumerable<WellDepthToIntervalDto> GetWellDepthToInterval(int wellId,
int intervalHoursTimestamp, int workBeginTimestamp);
IEnumerable<OperationDurationDto> GetOperationsSummary(int wellId,
DateTime begin = default, DateTime end = default);
IEnumerable<OperationInfoDto> GetOperationsToInterval(int wellId,
int intervalHoursTimestamp, int workBeginTimestamp);
void SaveAnalytics(DataSaubBase dataSaub);
}
}