public ProgressChangedEventArgs GetProgress()
        {
            MotionOperationScriptFunction opeFunc = _opeFunc;

            if (opeFunc == null)
            {
                return(new ProgressChangedEventArgs(0, "Initializing..."));
            }
            return(opeFunc.GetProgress());
        }
 public void Operate(Control parentControl)
 {
     _opeFunc = new MotionOperationScriptFunction(_operation);
     _console.Invoke(_opeFunc, this.ParameterToVariable(this.Parameters));
 }