Server/ConsumerElectronicControl.cs
changeset 235 ba14a29944c4
parent 234 0c75dec19d39
child 260 d44943088c67
     1.1 --- a/Server/ConsumerElectronicControl.cs	Tue Aug 16 12:25:20 2016 +0200
     1.2 +++ b/Server/ConsumerElectronicControl.cs	Tue Aug 16 12:59:32 2016 +0200
     1.3 @@ -82,14 +82,14 @@
     1.4          {
     1.5              MonitorPowerOn = true;
     1.6              //Trigger corresponding event thus executing associated actions
     1.7 -            Manager.Current.TriggerEvent<EventMonitorPowerOn>();            
     1.8 +            Properties.Settings.Default.EarManager.TriggerEvent<EventMonitorPowerOn>();            
     1.9          }
    1.10  
    1.11          private void OnMonitorPowerOff()
    1.12          {
    1.13              MonitorPowerOn = false;
    1.14              //Trigger corresponding event thus executing associated actions
    1.15 -            Manager.Current.TriggerEvent<EventMonitorPowerOff>();
    1.16 +            Properties.Settings.Default.EarManager.TriggerEvent<EventMonitorPowerOff>();
    1.17          }
    1.18  
    1.19          /// <summary>