2021-04-23 10:21:25 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2021-08-11 16:54:42 +05:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2021-04-23 10:21:25 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IMessageService
|
|
|
|
|
{
|
2021-08-11 16:54:42 +05:00
|
|
|
|
Task<PaginationContainer<MessageDto>> GetMessagesAsync(int idWell,
|
|
|
|
|
IEnumerable<int> categoryids = null, DateTime begin = default,
|
|
|
|
|
DateTime end = default, string searchString = default,
|
|
|
|
|
int skip = 0, int take = 32, CancellationToken token = default);
|
|
|
|
|
Task<DatesRangeDto> GetMessagesDatesRangeAsync(int idWell,
|
|
|
|
|
CancellationToken token = default);
|
|
|
|
|
Task InsertAsync(string uid, IEnumerable<TelemetryMessageDto> dtos,
|
|
|
|
|
CancellationToken token);
|
2021-04-23 10:21:25 +05:00
|
|
|
|
}
|
|
|
|
|
}
|