Beispiel #1
0
 public bool Connect()
 {
     try
     {
         Spine.Start();
         Spine.WaitForRunning();
         DevicesList = Spine.GetDevices();
         foreach (var device_id in DevicesList)
         {
             var ds = Spine.LoadDeviceState(device_id);
             Devices.Add(device_id, ds);
         }
         return(true);
     }
     catch (Exception e)
     {
         T.EXCEPTION(e);
         return(false);
     }
 }