18 lines
546 B
C#
18 lines
546 B
C#
using Persistence.Models;
|
|
using Refit;
|
|
|
|
namespace Persistence.IntegrationTests.Clients
|
|
{
|
|
public interface ISetpointClient
|
|
{
|
|
[Post("/api/Setpoint/history")]
|
|
Task<IApiResponse<IEnumerable<SetpointValueDto>>> GetHistoryAsync(IEnumerable<Guid> setpointKeys, DateTimeOffset historyMoment);
|
|
|
|
[Post("/api/Setpoint/log")]
|
|
Task<IApiResponse<Dictionary<Guid, IEnumerable<SetpointLogDto>>>> GetLogAsync(IEnumerable<Guid> setpoitKeys);
|
|
|
|
[Post("/api/Setpoint/save")]
|
|
Task<IApiResponse<int>> SaveAsync(Guid setpointKey, object newValue);
|
|
}
|
|
}
|