2022-04-11 18:00:34 +05:00
|
|
|
|
using AsbCloudApp.Data.SAUB;
|
2021-11-24 16:16:17 +05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface ISetpointsService
|
|
|
|
|
{
|
|
|
|
|
Task<int> InsertAsync(SetpointsRequestDto setpoints, CancellationToken token);
|
|
|
|
|
Task<IEnumerable<SetpointsRequestDto>> GetAsync(int idWell, CancellationToken token);
|
|
|
|
|
Task<IEnumerable<SetpointsRequestDto>> GetForPanelAsync(string uid, CancellationToken token);
|
2022-06-15 14:57:37 +05:00
|
|
|
|
Task<int> TryDelete(int id, CancellationToken token);
|
|
|
|
|
Task<int> UpdateStateAsync(int id, SetpointsRequestDto setpointsRequestDto, CancellationToken token);
|
|
|
|
|
IEnumerable<SetpointInfoDto> GetSetpointsNames();
|
2021-11-24 16:16:17 +05:00
|
|
|
|
}
|
|
|
|
|
}
|