示例#1
0
 private void Home()
 {
     if (Owner.IsConnected)
     {
         Owner.BackgroundThreadManager.RunBackgroundFunction((s, e) => ELLDeviceShutter.Home());
     }
 }
示例#2
0
 public void MoveToPosition(int i)
 {
     if (Owner.IsConnected)
     {
         Owner.BackgroundThreadManager.RunBackgroundFunction((s, e) => ELLDeviceShutter.MoveAbsolute(i * 32));
     }
 }