Click or drag to resize

BaseEposMotorizedDeviceCycle Method

Namespace:  LynceeTec.DHM.Motors
Assembly:  LynceeTec.DHM (in LynceeTec.DHM.dll) Version: 8.1.17212.0 8_1_dev af417e8, built 2019-10-03 13:47:41 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