Click or drag to resize

BaseEposMotorizedDeviceCycle Method

Namespace:  LynceeTec.DHM.Motors
Assembly:  LynceeTec.DHM (in LynceeTec.DHM.dll) Version: 7.2.45.30905 master 98955cb, built 2018-05-31 10:36:40 UTC
Syntax
public abstract Task<bool> Cycle(
	float startPosPhys,
	int nbrMoves,
	float stepPerMovePhys,
	Action startAction,
	Action<int> stepAction,
	Func<ICycleDevice, Task> endAction,
	IProgress<int> progress,
	CancellationTokenSource tokenSource
)

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: TaskBoolean

Implements

ICycleDeviceCycle(Single, Int32, Single, Action, ActionInt32, FuncICycleDevice, Task, IProgressInt32, CancellationTokenSource)
See Also