Skip to content

PosSharp.Core.UposDeviceBase.OnDirectIOAsync(int,int,object,System.Threading.CancellationToken)

github-actions[bot] edited this page May 8, 2026 · 5 revisions

PosSharp v1.2.0 API Reference


UposDeviceBase.OnDirectIOAsync(int, int, object, CancellationToken) Method

Called by DirectIOAsync(int, int, object, CancellationToken) to perform device-specific command logic.

protected abstract System.Threading.Tasks.Task OnDirectIOAsync(int command, int data, object obj, System.Threading.CancellationToken ct);

Parameters

command System.Int32

Command ID.

data System.Int32

Input/output data.

obj System.Object

Input/output object.

ct System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task
A task representing the asynchronous operation.

Clone this wiki locally