public async Task _writeClipsal(List <ClipsalInflux> clipsal, IInfluxService influxService) { foreach (var d in clipsal) { await influxService.WriteObject("house", $"deviceUsage", d, null, d.date); } }
public PowerwallService(ILogService logService, IOptions <EnergyHostSettings> settings, IHttpClientFactory httpClientFactory, IInfluxService influxService) { _logService = logService; _settings = settings; _httpClientFactory = httpClientFactory; _influxService = influxService; }
public EnergyFuturesService( ILogService logService, IAmberService amberService, IDarkSkyService darkSkyService, IInfluxService influxService, IOptions <EnergyHostSettings> options) { _logService = logService; _amberService = amberService; _darkSkyService = darkSkyService; _influxService = influxService; _options = options; }
public InfluxController(ILogger <InfluxController> logger, IInfluxService influxService) { _logger = logger; _influxService = influxService; }
public AnimusWebSocketEventHandler(IInfluxService influxService, AnimusHeartHttpClient httpClient) { _influxService = influxService; _httpClient = httpClient; }