Share via


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

2/27/2008

Raised by the service object to notify the application that input data from the bump bar 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 Status property is divided into four bytes. Depending on the Event Type (located in the low word), the remaining two bytes contain additional data.

The high word, low byte contains additional data depending on the event type. When the event type is DataEventKey (replaces the BB_DE_KEY from UPOS), the low byte of the high word contains the logicalKey code for the key pressed on the bump bar unit. The logicalKey value is device independent. It has been translated by the service object from its original hardware specific value. Valid ranges are 0-255.

The high word, high byte value is unused.

The EventUnitId property is updated before delivering the event.

See Also

Reference

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
BumpBar.EventUnitId Property
BumpBar.DataEventEnabled Property
FreezeEvents
BumpBar.DataEventKey Field