public EstimateEnergy(Device.DeviceBase device)
 {
     _Device = device;
     EnergyMargin = 0.010;
     CrazyDayStartMinutes = _Device.DeviceSettings.CrazyDayStartMinutes;
     HasStartOfDayDefect = _Device.DeviceSettings.HasStartOfDayEnergyDefect;
     QueryInterval = TimeSpan.FromSeconds(_Device.DeviceManagerDeviceSettings.QueryIntervalInt);
     Initialise();
     StartupStatusChecked = false;
 }
Esempio n. 2
0
 public HWConfigFileMgr(DeviceBase dev, string floder)
 {
     device = dev;
     flodername = floder;
 }