Exemple #1
0
 public void SetNotReady(IMcuDevice dev)
 {
     if (!_notReady.Contains(dev.Name))
     {
         _notReady.Add(dev.Name);
         WmiOnReadynessChangedEvent.Fire(dev, false);
     }
 }
Exemple #2
0
        public void SetReady(IMcuDevice dev)
        {
            int i = _notReady.IndexOf(dev.Name);

            if (i > -1)
            {
                _notReady.RemoveAt(i);
                WmiOnReadynessChangedEvent.Fire(dev, true);
            }
        }