Esempio n. 1
0
 public void AddDevice(INDIDevice dev)
 {
     if (GetDevice(dev.Name) == null && dev != null && dev.Name != "" && (dev.DriverInterface & Interfaces) == Interfaces)
     {
         Devices.Add(dev);
         if (DeviceAdded != null)
         {
             DeviceAdded(this, new DeviceAddedEventArgs(GetDevice(dev.Name)));
         }
     }
 }
Esempio n. 2
0
 public DeviceAddedEventArgs(INDIDevice dev)
 {
     Device = dev;
 }