api(api, dal): IInfluxDbService. StatRobotStateController мониторинг роботов
This commit is contained in:
10
PARR.DAL/InfluxDbServices/IInfluxDbService.cs
Normal file
10
PARR.DAL/InfluxDbServices/IInfluxDbService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user