RemoteOrderDisplay.DataEvent Event (POS for .NET v1.12 SDK Documentation)

2/27/2008

Notifies the application when input data from a video touch unit is available.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Event DataEvent As DataEventHandler
public abstract event DataEventHandler DataEvent
public:
virtual event DataEventHandler^ DataEvent {
    void add (DataEventHandler^ value) abstract;
    void remove (DataEventHandler^ value) abstract;
}
/** @event */
public abstract void add_DataEvent (DataEventHandler value)

/** @event */
public abstract void remove_DataEvent (DataEventHandler value)

Remarks

The DataEventArgs.Status property is divided into four bytes. Status is divided as follows: The high word high byte is the row, the high word low byte is the column. The low word is the event type (for example, TouchUp, TouchDown, TouchMove).

The high word contains additional data depending on the event type. When the event type is TouchUp, TouchDown, or TouchMove, the high word indicates where the touch occurred. The low byte contains the column position and the high byte contains the row position, with valid values ranging from 0-255.

Data events can be filtered at the remote order display device by setting the EventType property. The EventUnitID property is updated before the event is delivered.

See Also

Reference

RemoteOrderDisplay Class
RemoteOrderDisplay Members
Microsoft.PointOfService Namespace
RemoteOrderDisplay.DataEventEnabled Property
RemoteOrderDisplay.EventUnitId Property
PosCommon.FreezeEvents Property