Detailed Description
IBM RS-485 Interfaced hardware Modules.
This group is dedicated to IBM 4694 hardware using aip driver.
- See also:
- cashboxdrivers
cashbox
Classes
- class QlabIbm4694
- The QlabIbm4694 provides an abstract view of IBM 4694 hardware. The goal is providing a widget like view as seen by application logic class. More...
SymbolicKeyMappings
Those are mappings from KeyCodes to Symbolic names.
Leads to a bunch of defines, but we have to deal with them as we'll meet them all around.
We tried to make the names as significant as possible. To remap the keyboard, you only have to change to KeyCode associated with a symbol. To extend, just map a new Symbol to a KeyCode.
-
#define _NONE_ 0
-
#define _OPEN_TILL_ 62
-
#define _PAUSE_ 80
-
#define _NO_SALE_ 75
-
#define _PANEL_ 76
-
#define _INVOICE_ 79
-
#define _TRSFT_PAY_ 78
-
#define _PUSH_POP_ 77
-
#define _CANCEL_OP_ 59
-
#define _WITHDRAW_ 61
-
#define _DUPLICATA_ 107
-
#define _QTY_ 111
-
#define _CLEAR_ 109
-
#define _PRICECALL_ 123
-
#define _OPEN_CLOSE_ 27
-
#define _DELAYED_ 139
-
#define _PRIVATE_VOUCHER_ 140
-
#define _SERVICE_VOUCHER_ 143
-
#define _ENTER_1_ 142
-
#define _ENTER_2_ 141
-
#define _PRIVATE_DELAYED_ 175
-
#define _VOUCHER_ 156
-
#define _REBATE_VOUCHER_ 159
-
#define _TOTAL_1_ 157
-
#define _TOTAL_2_ 158
-
#define _MAN_CREDIT_CARD_ 191
-
#define _CREDIT_CARD_1_ 172
-
#define _CREDIT_CARD_2_ 155
-
#define _CHEQUE_ 174
-
#define _CASHIN_ 173
-
#define _CURRENCY_CASHIN_ 187
-
#define _MAN_PRIVATE_DELAYED_ 175
-
#define _MAN_VOUCHER_ 171
-
#define _MAN_CHEQUE_ 190
-
#define _0_ '0'
-
#define _1_ '1'
-
#define _2_ '2'
-
#define _3_ '3'
-
#define _4_ '4'
-
#define _5_ '5'
-
#define _6_ '6'
-
#define _7_ '7'
-
#define _8_ '8'
-
#define _9_ '9'
-
#define _00_ '.'
-
#define CTRLK _NONE_
-
#define LEFT_01 _NO_SALE_
-
#define LEFT_02 _PANEL_
-
#define LEFT_03 _INVOICE_
-
#define LEFT_04 _TRSFT_PAY_
-
#define LEFT_05 _PUSH_POP_
-
#define LEFT_06 _CANCEL_OP_
-
#define LEFT_07 _NONE_
-
#define LEFT_08 _NONE_
-
#define LEFT_09 _NONE_
-
#define LEFT_10 _WITHDRAW_
-
#define LEFT_11 _DUPLICATA_
-
#define LEFT_12 _NONE_
-
#define LEFT_13 _QTY_
-
#define LEFT_14 _NONE_
-
#define LEFT_15 _CLEAR_
-
#define CENTER_01 _PRICECALL_
-
#define CENTER_02 _7_
-
#define CENTER_03 _4_
-
#define CENTER_04 _1_
-
#define CENTER_05 _0_
-
#define CENTER_06 _OPEN_CLOSE_
-
#define CENTER_07 _8_
-
#define CENTER_08 _5_
-
#define CENTER_09 _2_
-
#define CENTER_10 _9_
-
#define CENTER_11 _6_
-
#define CENTER_12 _3_
-
#define CENTER_13 _00_
-
#define RIGHT_01 _DELAYED_
-
#define RIGHT_02 _PRIVATE_VOUCHER_
-
#define RIGHT_03 _SERVICE_VOUCHER_
-
#define RIGHT_04 _NONE_
-
#define RIGHT_05 _ENTER_
-
#define RIGHT_06 _PRIVATE_DELAYED_
-
#define RIGHT_07 _VOUCHER_
-
#define RIGHT_08 _REBATE_VOUCHER_
-
#define RIGHT_09 _NONE_
-
#define RIGHT_10 _TOTAL_
-
#define RIGHT_11 _MAN_CREDIT_CARD_
-
#define RIGHT_12 _NONE_
-
#define RIGHT_13 _CREDIT_CARD_
-
#define RIGHT_14 _CHEQUE_
-
#define RIGHT_15 _CASHIN_
-
#define RIGHT_16 _CURRENCY_CASHIN_
-
#define RIGHT_17 _MAN_PRIVATE_DELAYED_
-
#define RIGHT_18 _MAN_VOUCHER_
-
#define RIGHT_19 _MAN_CHEQUE_
-
#define RIGHT_20 _NONE_
MacroVariables
This file Copyright (C) IBM Corporation
The macro stuff has been pasted from IBM 4694 Reference Documentation and sample.
They did a fine job dealing with their specific hardware. As this is fine for us, I only made some minor adjustments to prevent GCC complaining when -Wall flags used...
We also added the doxytags to help documenting the indigest stuff.
- TableEntry ErrnoTable []
- This Table contains all Error Numbers to Description Symbols used by GetTableEntry and FindMatch.
KeyBoardLayouts
- unsigned char * sioKeys
- Pointer to one of the keyboard mappings.
- unsigned char checkoutKeys []
- Classic Combined Keyboard/Display Layout.
- unsigned char checkout2Keys []
- Classic POS Keyboard or POS Keyboard with Card Reader or POS Keyboard with Card Reader and Display.
- unsigned char modifiableKeys []
- This is designed for the modifiable Keyboard.
- unsigned char anposKeys []
- This map is for the (schizophrenic) AlphaNumeric Keyboard.
Variable Documentation
|
This map is for the (schizophrenic) AlphaNumeric Keyboard.
|
|
Classic POS Keyboard or POS Keyboard with Card Reader or POS Keyboard with Card Reader and Display.
|
|
Classic Combined Keyboard/Display Layout.
|
|
This Table contains all Error Numbers to Description Symbols used by GetTableEntry and FindMatch.
|
|
This is designed for the modifiable Keyboard.
|
|
Pointer to one of the keyboard mappings.
|