2021-04-07 18:01:56 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2021-09-29 10:12:54 +05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
2021-04-07 18:01:56 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface ITelemetryService
|
|
|
|
|
{
|
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-04-07 18:01:56 +05:00
|
|
|
|
}
|
|
|
|
|
}
|