public SolarEdgeHistoryJob(SolarEdgeApiClient apiClient,
                            SiteListRepository siteListRepository,
                            IInfluxDbUpload influxDbUpload,
                            SolarEdgeSetting solarEdgeSetting)
 {
     _lastRequest        = DateTime.MinValue;
     _apiClient          = apiClient;
     _siteListRepository = siteListRepository;
     _influxDbUpload     = influxDbUpload;
     _solarEdgeSetting   = solarEdgeSetting;
 }
 public SolaredgePowerFlowJob(SolarEdgeApiClient apiClient,
                              SiteListRepository siteListRepository,
                              IInfluxDbUpload influxDbUpload,
                              IManagedMqttClient managedMqttClient,
                              SolarEdgeSetting solarEdgeSetting)
 {
     _apiClient          = apiClient;
     _siteListRepository = siteListRepository;
     _influxDbUpload     = influxDbUpload;
     _managedMqttClient  = managedMqttClient;
     _solarEdgeSetting   = solarEdgeSetting;
 }