forked from ddrilling/AsbCloudServer
17 lines
560 B
C#
17 lines
560 B
C#
using AsbCloudApp.Data;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
public interface ITelemetryDataService<TDto> where TDto : ITelemetryData
|
|
{
|
|
Task<IEnumerable<TDto>> GetAsync(int idWell,
|
|
DateTime dateBegin = default, double intervalSec = 600d,
|
|
int approxPointsCount = 1024, CancellationToken token = default);
|
|
|
|
Task<int> UpdateDataAsync(string uid, IEnumerable<TDto> dtos, CancellationToken token = default);
|
|
}
|
|
} |