DD.WellWorkover.Cloud/AsbCloudApp/Services/ITelemetryService.cs

24 lines
851 B
C#
Raw Normal View History

2021-04-07 18:01:56 +05:00
using AsbCloudApp.Data;
using System;
2021-09-29 10:12:54 +05:00
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
2021-04-07 18:01:56 +05:00
namespace AsbCloudApp.Services
{
public interface ITelemetryService
{
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);
double GetTimezoneOffsetByTelemetryId(int idTelemetry);
2021-04-07 18:01:56 +05:00
void UpdateInfo(string uid, TelemetryInfoDto info);
int? GetIdTelemetryByIdWell(int idWell);
2021-09-29 10:12:54 +05:00
int Merge(IEnumerable<int> telemetryIds);
IEnumerable<(string Key, int[] Ids)> GetRedundentRemoteUids();
IEnumerable<TelemetryDto> GetTransmittingTelemetriesAsync(int idCompany);
DateTime GetLastTelemetryDate(string telemetryUid);
DateTime GetLastTelemetryDate(int telemetryId);
2021-04-07 18:01:56 +05:00
}
}