forked from ddrilling/AsbCloudServer
21 lines
801 B
C#
21 lines
801 B
C#
using AsbCloudApp.Data;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
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);
|
|
Task<int> TryDelete(int idWell, int id, CancellationToken token);
|
|
Task<int> UpdateStateAsync(string uid, int id, SetpointsRequestDto setpointsRequestDto, CancellationToken token);
|
|
IEnumerable<SetpointInfoDto> GetSetpointsNames(int idWell);
|
|
}
|
|
}
|