2021-04-23 10:21:25 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2022-04-08 13:10:06 +05:00
|
|
|
|
using AsbCloudApp.Data.SAUB;
|
2021-04-23 10:21:25 +05:00
|
|
|
|
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-09-10 11:28:57 +05:00
|
|
|
|
Task<PaginationContainer<MessageDto>> GetMessagesAsync(int idWell,
|
2021-11-18 11:24:21 +05:00
|
|
|
|
IEnumerable<int> categoryids = default, DateTime begin = default,
|
2021-09-10 11:28:57 +05:00
|
|
|
|
DateTime end = default, string searchString = default,
|
2022-01-05 17:50:45 +05:00
|
|
|
|
int skip = 0, int take = 32,
|
2021-08-11 16:54:42 +05:00
|
|
|
|
CancellationToken token = default);
|
2022-01-05 17:50:45 +05:00
|
|
|
|
|
2021-08-11 16:54:42 +05:00
|
|
|
|
Task InsertAsync(string uid, IEnumerable<TelemetryMessageDto> dtos,
|
|
|
|
|
CancellationToken token);
|
2021-04-23 10:21:25 +05:00
|
|
|
|
}
|
|
|
|
|
}
|