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