/// <summary>
 /// Move the actuator continuously to the right (expanding motion) <br/>
 ///Note that Controller.ActuatorController.MoveContinuouslyRight() is not called because it is marked as unsafe <br/>
 ///Higher level wrapper method, called from the user interface. Calls Controller.ActuatorController.MoveToPosition()
 /// </summary>
 /// <param name="deviceID">identifies actuator, of type int</param>
 /// <param name="maxEdgeSoftware">represents maximum steps value to which an actuator can move, refers to
 /// View.ActuatorPositionSoftwareLimits.MaxEdgePositionStepsAllDevices, of type int</param>
 // MoveContinuouslyRight is unsafe! Using MoveToPosition instead
 public void ActuatorMoveContinuouslyRight(int deviceID, int maxEdgeSoftware)
 {
     if (ActuatorInContext.MoveToPosition(deviceID, maxEdgeSoftware, 0) == Result.ok)
     {
         //Task asyncTask = Task.Run(() =>
         //{
         //    if (ActuatorInContext.WaitForStopWhile(deviceID, 0) == Result.ok)
         //        logController.LogActuatorInfo(Enums.ActuatorLog.MoveToPosition, ActuatorInContext, Enums.ActuatorLogTiming.Finish);
         //});
     }
 }
 /// <summary>
 /// Moves actuator to a specified position in steps and microsteps <br/>
 /// Higher level wrapper method, called from the user interface. Calls Controller.ActuatorController.MoveToPosition() <br/>
 /// </summary>
 /// <param name="deviceID">identifies actuator, of type int</param>
 /// <param name="positionSteps">absolute value in actuator steps, of type int</param>
 /// <param name="positionMicrosteps">absolute value in actuator microsteps, of type int</param>
 public void ActuatorMoveToPosition(int deviceID, int positionSteps, int positionMicrosteps)
 {
     if (ActuatorInContext.MoveToPosition(deviceID, positionSteps, positionMicrosteps) == Result.ok)
     {
         //Task asyncTask = Task.Run(() =>
         //{
         //    if (ActuatorInContext.WaitForStopWhile(deviceID, 0) == Result.ok)
         //        logController.LogActuatorInfo(Enums.ActuatorLog.MoveToPosition, ActuatorInContext, Enums.ActuatorLogTiming.Finish);
         //});
     }
 }