Namespace that holds the Raildriver Client class code.
More...
|
enum | RaildriverEvents {
REVERSER
, THROTTLE
, AUTOBRAKE
, INDEPENDBRK
,
BAILOFF
, WIPER
, HEADLIGHT
, DIGITAL1
,
DIGITAL2
, DIGITAL3
, DIGITAL4
, DIGITAL5
,
DIGITAL6
} |
| These are the event codes for the Rail Driver's report message. More...
|
|
Namespace that holds the Raildriver Client class code.
- Author
- Robert Heller <heller@deepsoft.com>
Package provided
RaildriverClient 1.0.0
◆ eventlist
◆ RaildriverEvents
These are the event codes for the Rail Driver's report message.
There is a code for each of the thirteen bytes in the report buffer.
Enumerator |
---|
REVERSER | Reverser lever.
This is a value between 0 and 255 representing the position of the reverser lever.
|
THROTTLE | Throttle lever.
This is a value between 0 and 255 representing the position of the throttle / dynamic brake lever.
|
AUTOBRAKE | Automatic Brake lever.
This is a value between 0 and 255 representing the position of the automatic brake lever.
|
INDEPENDBRK | Independent Brake lever.
This is a value between 0 and 255 representing the position of the independent brake lever.
|
BAILOFF | Independent Brake bail off.
This is a value between 0 and 255 representing the position of the independent brake lever bail off.
|
WIPER | Wiper switch.
This is a value between 0 and 255 representing the position of the wiper switch.
|
HEADLIGHT | Headlight switch.
This is a value between 0 and 255 representing the position of the headlight switch.
|
DIGITAL1 | Blue Buttons 1-8.
This is a bitfield representing 8 of the generic `‘blue’' buttons.
|
DIGITAL2 | Blue Buttons 9-16.
This is a bitfield representing 8 of the generic `‘blue’' buttons.
|
DIGITAL3 | Blue Buttons 17-24.
This is a bitfield representing 8 of the generic `‘blue’' buttons.
|
DIGITAL4 | Blue Buttons 25-28, Zoom, Pan.
This is a bitfield representing the last 4 of the generic `‘blue’' buttons, the zoom rocker, and one-half of the pan (2d) rocker.
|
DIGITAL5 | Pan, Cab Buttons.
This is a bitfield representing the second half of the pan (2d) rocker, and several of the two of the cab rocker switches.
|
DIGITAL6 | Cab Buttons, Whistle.
This is a bitfield representing the cab buttons and the whistle lever.
|