forked from ddrilling/AsbCloudServer
21 lines
666 B
C#
21 lines
666 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Data.SAUB;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
public interface IMessageService
|
|
{
|
|
Task<PaginationContainer<MessageDto>> GetMessagesAsync(int idWell,
|
|
IEnumerable<int> categoryids = default, DateTime begin = default,
|
|
DateTime end = default, string searchString = default,
|
|
int skip = 0, int take = 32,
|
|
CancellationToken token = default);
|
|
|
|
Task InsertAsync(string uid, IEnumerable<TelemetryMessageDto> dtos,
|
|
CancellationToken token);
|
|
}
|
|
} |