Commit Graph

245 Commits

Author SHA1 Message Date
80112f23b4
Simulate Account (-> because DeviceController ...
... functions currently do not provide usefull results.
2023-06-22 14:54:54 +02:00
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
29cee7fd1c
Merge branch 'pu/accountRequest' into pu/integration 2023-06-20 13:28:50 +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
18ff5d42a7
Merge branch 'pu/integration' into pu/accountRequest 2023-06-19 16:41:08 +02:00
ac9486879e
Update interfaces.h (20230619_1623) 2023-06-19 16:40:12 +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
e236fc8bce
Update interfaces.h (20230616_08006_08006_08006_08006_08006_0800) 2023-06-16 11:14:30 +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
1f0720e52b
Update interfaces.h 2023-06-15 13:45:19 +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
ac6331e5a7
Update interfaces.h (20230615) 2023-06-15 09:47:17 +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
a037626d6d
Update interface.h (door events) 2023-06-13 16:58:17 +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
3722dd4d28
Merge branch 'pu/use_cashAgentLib' into pu/integration 2023-06-06 10:14:42 +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