public ExportMotionDetection(HouseDBSettings houseDBSettings, DomoticzSettings domoticzSettings)
        {
            _houseDBSettings  = houseDBSettings;
            _domoticzSettings = domoticzSettings;

            using (var api = new HouseDBAPI(new Uri(_houseDBSettings.Url)))
            {
                _devices = api.DeviceGetAllMotionDetectionDevicesGet();
            }
        }
        public ExportKwhDeviceValues(HouseDBSettings houseDBSettings, DomoticzSettings domoticzSettings)
        {
            _houseDBSettings    = houseDBSettings;
            _domoticzSettings   = domoticzSettings;
            _lastExportDateTime = DateTime.Today.AddDays(-1);

            using (var api = new HouseDBAPI(new Uri(_houseDBSettings.Url)))
            {
                _devices = api.DeviceGetAllKwhExportDevicesGet();
            }
        }
 public Application(HouseDBSettings houseDBSettings, DomoticzSettings domoticzSettings)
 {
     _houseDBSettings  = houseDBSettings;
     _domoticzSettings = domoticzSettings;
 }
 public ExportDatabase(HouseDBSettings houseDBSettings, DomoticzSettings domoticzSettings)
 {
     _houseDBSettings    = houseDBSettings;
     _domoticzSettings   = domoticzSettings;
     _lastExportDatabase = DateTime.Today.AddDays(-1);
 }
Exemplo n.º 5
0
 public ExportP1Consumption(HouseDBSettings houseDBSettings, DomoticzSettings domoticzSettings)
 {
     _houseDBSettings  = houseDBSettings;
     _domoticzSettings = domoticzSettings;
 }