2021-04-07 18:01:56 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2021-10-15 15:35:18 +05:00
|
|
|
|
using System;
|
2021-09-29 10:12:54 +05:00
|
|
|
|
using System.Collections.Generic;
|
2021-10-15 12:24:04 +05:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2021-04-07 18:01:56 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface ITelemetryService
|
|
|
|
|
{
|
2021-10-15 15:35:18 +05:00
|
|
|
|
void SaveRequestDate(string uid);
|
2021-07-27 14:43:30 +05:00
|
|
|
|
int? GetidWellByTelemetryUid(string uid);
|
2021-04-23 10:21:25 +05:00
|
|
|
|
int GetOrCreateTemetryIdByUid(string uid);
|
2021-06-25 15:10:05 +05:00
|
|
|
|
double GetTimezoneOffsetByTelemetryId(int idTelemetry);
|
2021-04-07 18:01:56 +05:00
|
|
|
|
void UpdateInfo(string uid, TelemetryInfoDto info);
|
2021-08-09 14:01:57 +05:00
|
|
|
|
int? GetIdTelemetryByIdWell(int idWell);
|
2021-09-29 10:12:54 +05:00
|
|
|
|
int Merge(IEnumerable<int> telemetryIds);
|
|
|
|
|
IEnumerable<(string Key, int[] Ids)> GetRedundentRemoteUids();
|
2021-10-21 15:57:20 +05:00
|
|
|
|
IEnumerable<TelemetryDto> GetTransmittingTelemetriesAsync(int idCompany);
|
2021-10-20 12:52:31 +05:00
|
|
|
|
DateTime GetLastTelemetryDate(string telemetryUid);
|
|
|
|
|
DateTime GetLastTelemetryDate(int telemetryId);
|
2021-04-07 18:01:56 +05:00
|
|
|
|
}
|
|
|
|
|
}
|