Click or drag to resize

ICycleDeviceCycle Method

Namespace:  LynceeTec.Interfaces
Assembly:  LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 8.1.17212.0 8_1_dev 6ff713ba, built 2019-10-03 13:47:19 UTC
Syntax
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
See Also