示例#1
0
        private void configurationFromFile()
        {
            configuration = EddpConfiguration.FromFile();
            ObservableCollection <Watch> watches = new ObservableCollection <Watch>();

            foreach (Watch watch in configuration.watches)
            {
                watches.Add(watch);
            }
            Watches = watches;
        }
示例#2
0
 public void Reload()
 {
     // Reload the configuration and let the monitor know that we have done so
     configuration = EddpConfiguration.FromFile();
     reloading     = true;
 }
示例#3
0
 /// <summary>
 /// This method is run when the monitor is requested to start
 /// </summary>
 public void Start()
 {
     configuration = EddpConfiguration.FromFile();
     running       = true;
     monitor();
 }