 | BaseEposMotorizedDeviceCycle Method |
Namespace: LynceeTec.DHM.MotorsAssembly: LynceeTec.DHM (in LynceeTec.DHM.dll) Version: 6.4.0.7 6_4_dev 3998a02, built 2016-11-07 15:44:26 UTC
Syntaxpublic abstract Task<bool> Cycle(
float startPosPhys,
int nbrMoves,
float stepPerMovePhys,
Action startAction,
Action<int> stepAction,
Func<ICycleDevice, Task> endAction,
IProgress<int> progress,
CancellationTokenSource tokenSource
)
public:
virtual Task<bool>^ Cycle(
float startPosPhys,
int nbrMoves,
float stepPerMovePhys,
Action^ startAction,
Action<int>^ stepAction,
Func<ICycleDevice^, Task^>^ endAction,
IProgress<int>^ progress,
CancellationTokenSource^ tokenSource
) abstract
Parameters
- startPosPhys
- Type: SystemSingle
- nbrMoves
- Type: SystemInt32
- stepPerMovePhys
- Type: SystemSingle
- startAction
- Type: SystemAction
- stepAction
- Type: SystemActionInt32
- endAction
- Type: SystemFuncICycleDevice, Task
- progress
- Type: SystemIProgressInt32
- tokenSource
- Type: System.ThreadingCancellationTokenSource
Return Value
Type:
TaskBooleanImplements
ICycleDeviceCycle(Single, Int32, Single, Action, ActionInt32, FuncICycleDevice, Task, IProgressInt32, CancellationTokenSource)
See Also