예제 #1
0
 internal void DelDevice(OneWireBase dev) {
   if(dev!=null) {
     _devs.Remove(dev);
   }
 }
예제 #2
0
 internal void AddDevice(OneWireBase dev) {
   if(dev!=null && dev!=this && _devs.All(z=>z!=dev)) {
     _devs.Add(dev);
   }
 }