api(api, dal): IInfluxDbService. StatRobotStateController мониторинг роботов

This commit is contained in:
Mikhail Trubnikov
2024-05-28 14:35:39 +10:00
parent 0007170079
commit e5215b7dc2
12 changed files with 260 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
using InfluxDB.Client;
namespace PARR.DAL.InfluxDbServices
{
public interface IInfluxDbService
{
Task<T> QueryAsync<T>(Func<QueryApi, Task<T>> action, string token);
bool Write(Action<WriteApi> action, string token);
}
}