9cd10bfed8
Diag: first working version to detect some system errors
...
Drawbacks:
- has to be called extra, no events or signals
- lot of integer result values (where are they documented? Mapping?)
2023-06-22 14:52:34 +02:00
ba3eabec2c
Execute diagRequest() on mode change to IDLE (i.e. after vending)
2023-06-22 14:50:56 +02:00
a4d74ed0f7
Update printing ticket (version 2.1)
...
Use hwapi::prn_getPrintResult() to detect print result.
2023-06-22 12:14:55 +02:00
4a7022fd00
Use diag on closing doors
2023-06-22 08:50:10 +02:00
31f178b241
Remove unused includes
2023-06-22 08:46:18 +02:00
6a19fd7608
Add class DeviceControllerDiag to supervise DeviceController state
2023-06-22 08:44:16 +02:00
8fc88662d3
Add ATBMachineEvent class (QEvent)
2023-06-22 08:42:21 +02:00
b39bbcfad5
Account: set accountData "NumberOfCoinVariants"
2023-06-20 13:26:43 +02:00
7c3bc484af
Handle door events (note)
...
This events come somtimes very unreliably.
2023-06-20 13:23:36 +02:00
2b71705c81
Update interface: DeviceControllerInterface is derived from QObject:
...
This is for using new connect()-syntax in main application.
Note:
- signals in interface must not be defined virtual
- signals in implementation must not override signals defined
in interface.
2023-06-20 13:18:09 +02:00
1467530e3c
Add debug output for account request
2023-06-19 16:27:20 +02:00
414dda009e
Proposal for getting account data from CAlib/DeviceController
2023-06-19 16:26:33 +02:00
74753ce644
Add utils-class for static utils methods
2023-06-19 15:07:05 +02:00
c4cbf89182
TEST: try to track currentCashState
...
... but this is currently useless because we can not detect overpayment
here.
2023-06-16 15:50:25 +02:00
0baad4689a
Add note about TODO: TicketNumber
2023-06-16 15:49:56 +02:00
a4a746658c
TEST: use QueuedConnection for hwapi signals
2023-06-16 11:21:24 +02:00
7e65c4feda
onPrinterDataPrepared: increase time for fake signal onPrinterFinishedOk
2023-06-16 11:17:38 +02:00
76e67dbbaa
Fix: return, if CashAgentLib could not be loaded
2023-06-16 10:53:27 +02:00
b52de16dbc
Workaround for CashAgent: onCashVendStopByMax()
...
Wait 500ms until we call hw->getInsertedAmount().
2023-06-15 18:49:59 +02:00
cade03b400
Log output from hw->getInsertedAmount()
2023-06-15 18:49:29 +02:00
7a9f837b88
Refactoring
2023-06-15 18:49:13 +02:00
b10e597e59
Workaround for CashAgent: send 'vend_failed()' on program start
2023-06-15 14:18:32 +02:00
4cc4247744
CashAgent: update errorCodes
2023-06-15 14:16:03 +02:00
59432735d0
CashAgent: changed name: CAmaster
2023-06-15 14:15:13 +02:00
5f3e0babb1
Load CashAgentLib: print errorString if load fails
2023-06-15 10:54:32 +02:00
f2637e3af8
dc_autoRequest is allways switched on
2023-06-15 09:48:25 +02:00
7ccbc8bb23
Proposal for requestAccount() (does not work)
...
... because of random signal from DeviceController.
... and wrong handling of DeviceController methods.
2023-06-14 14:38:24 +02:00
017543dd5b
Door Events: Update log outputs
2023-06-14 14:37:34 +02:00
d5d2b8917a
Add handling door events
2023-06-13 17:00:17 +02:00
9d686ae48d
Update DeviceControllerInterface (door events)
2023-06-13 16:59:20 +02:00
a3f32b576e
Set dateTime on plugin init
2023-06-12 09:51:34 +02:00
668b10e55d
Add interface for programmode switch
2023-06-12 09:51:16 +02:00
596cf3ed25
TicketPrint: select ticket to print
...
dependent on printingData.
2023-06-09 11:19:39 +02:00
c330be4f30
TicketPrint: use interface method 'prn_printKombiticket()'
...
... instead of printing templates.
2023-06-09 11:18:39 +02:00
f5568f6f81
Add comment
2023-06-05 18:07:12 +02:00
98ef7b7b26
Send cashInputFinished(), when cash input is finished
2023-06-05 18:04:34 +02:00
2717c614e3
Update interface hwapi 3.6
2023-06-05 12:51:55 +02:00
de1dc88e51
Use CashAgentLib
2023-06-05 12:49:20 +02:00
50bf7e8b52
Add stubs for Account-Task
2023-06-01 16:30:50 +02:00
d8d315cd49
Update ATBAPP/DeviceControlllerInterface
2023-06-01 16:21:37 +02:00
84859064a3
Workaround: prevent signaling irregular coin inputs
2023-05-24 10:51:20 +02:00
ff4c52ddc9
Fix: remove debug output
2023-05-23 15:46:34 +02:00
f4be010e1a
Fix: set flag in datIf_cycleSend()
2023-05-23 15:45:18 +02:00
75b597586f
Remove dependency to QWidget / QMainWindow
...
This not GUI library!
2023-05-23 14:41:09 +02:00
6f00d5b356
Workaround: do not use printer signals...
...
... this signals are sent presumably after printing first template.
As we print currently 3 templates and we use this signals to create an
event in main application this lead to an error:
Subsequent DCPlugin operations failed sometimes because DC needs a time
gap between to operations.
2023-05-23 14:29:24 +02:00
1f9cc3b8c0
Add debug output
2023-05-23 10:23:04 +02:00
584e3af035
Start CashInput with UINT_MAX (PayUp)
2023-05-23 10:21:00 +02:00
2ac0f5b275
Delay printing ...
...
... printing day tickets need this delay
2023-05-23 10:17:46 +02:00
a97ef4ea04
SwitchOn dc feature autorequest
...
This is necessary for receiving coint input events
2023-05-22 11:21:08 +02:00
30d790b84f
Connect all hwapi signals
2023-05-22 11:20:28 +02:00
ca5e43e0d7
Add debug output
2023-05-19 15:34:28 +02:00
3ac91305d4
Fix: for load as plugin on target device
2023-05-19 15:33:52 +02:00
d0445949d2
Merge changes from T.Sax DC_plugin 18.5.23
2023-05-19 13:57:17 +02:00
91d9280a4a
Speed up ticket printing
2023-05-18 14:01:07 +02:00
48d6a34b16
ATBAPP: Rework for ticket printing
2023-05-18 11:57:54 +02:00
e32142cd62
Implement cash input interface
2023-05-04 14:28:38 +02:00
f611e07dcf
Implement printing ticket
2023-05-04 13:21:14 +02:00
6478eda581
TS: pr_printTemplate(): send 'longFDcmd_set()'
2023-05-03 13:19:01 +02:00
1663d09d3a
Merge with TS 21.04.23
2023-05-03 13:06:57 +02:00
080c00eda1
Set serialPort name from config
2023-05-02 17:39:38 +02:00
bbce2b02e3
Test printing ticket
2023-05-02 17:10:17 +02:00
8ff17a2e00
DeviceControllerInterface: erroCode is a string
2023-05-02 17:09:53 +02:00
f0f0493d19
hwapi: remove unused dependency to QWidget
2023-05-02 10:07:42 +02:00
9bf99c5515
Fix: make plugin compile
2023-04-28 13:53:14 +02:00
09a80498e4
Merge branch 'master' into pu/integration
2023-04-19 16:28:26 +02:00
01f8c1e49c
First compiling version for high level vending interface
2023-04-19 16:26:12 +02:00
d992ee3fad
Added dc_getStatus() to send info to ISMAS
2023-04-18 15:06:57 +02:00
01140c523b
Using std::min from algorithm-header
2023-04-18 14:43:30 +02:00
c99d0730ce
Added additional variables into shared memory.
...
Cleaned source.
2023-04-18 14:42:09 +02:00
1eb2ac3a1d
Use const-pointer
2023-04-18 13:55:46 +02:00
f3adba2f0f
Change parameter type from uint8_t to bool
2023-04-18 13:52:43 +02:00
652ad9b43d
Included changes of TS for version 3.5.
2023-04-18 13:41:04 +02:00
c85b090306
Added ulong2uchar (version 3.5).
2023-04-18 13:39:52 +02:00
86311de486
Add use of shared memory.
...
Add changes for version 3.4. of library.
2023-04-18 12:23:18 +02:00
cb4412779f
Added check4freeFDshortCmd.
2023-04-18 12:22:23 +02:00
a95e174356
Included some changes of Thomas.
2023-04-18 12:21:30 +02:00
c724b5b9fb
Shift several device controller related variables to shared memory.
2023-04-18 12:20:23 +02:00
ef7932102f
Massive change: using shared memory containing most device controller
...
realted variables.
2023-04-18 12:19:08 +02:00
eeb35190e1
Adding shared memory containing all variables necessary to
...
check device controller related variables.
2023-04-18 12:15:27 +02:00
3e3e1efe7d
Make sure the printer functions can be called without explicitly openeing the
...
serial device.
2023-04-14 09:04:35 +02:00
5e6e6017b3
Minor change
2023-04-13 16:22:01 +02:00
f3d9c690b7
Added dc_printTemplate. Fixed implementation of dc_updatePrinterTemplate
2023-04-13 16:18:47 +02:00
60c48588b0
Fixed template number: cannot be 0
2023-04-13 13:54:15 +02:00
5f7d34ef12
implemented dc_updatePrinterTemplate
2023-04-13 13:37:00 +02:00
c1b945225b
Added/merged from sources of Thomas (version CashAgentLib 3.3, 12.04.2023)
2023-04-13 10:55:37 +02:00
debade9942
using memset() to shorten some code.
2023-04-11 13:58:11 +02:00
8f7d4a203d
Fixed sending to less blocks
2023-04-06 17:43:06 +02:00
002d58ba7b
Added dc_updateDC plus associated helper functions.
...
dc_open_Serial:
check if serial line is really open
dc_close_Serial:
check if serial line is really closed
dc_isPortOpen:
check if port is open directly on serial-object
bl_checkBL:
try to check if bootloader is running
2023-04-05 14:18:29 +02:00
76f54cdc0c
Added qDebug(), which are commented out.
2023-04-05 14:16:34 +02:00
591fd89cb5
Added qDebug() which are commented out:
...
ser_ISR100ms()
open_serial_port
close_serial_port
2023-04-05 14:13:17 +02:00
e4a2f8fce3
Aktualisiert auf Stand 29/03/2023
2023-03-30 08:44:14 +02:00
7f23e3ea46
Add updated sources of thomas.
2023-03-29 14:32:22 +02:00
f51062010e
Adding src files (sax)
2023-03-17 11:22:09 +01:00