Commit Graph

201 Commits

Author SHA1 Message Date
bdf2886aa4 Implement initVMCPlugin(), initPlugin(). 2023-11-16 08:45:47 +01:00
b1304df2bf Add signals and add pluginInfoList. 2023-11-16 08:44:25 +01:00
cf5d950647 Add getState(), getLastError(), getLastErrorDescription(), getString(), onChangedProgramModeToSELL(), onChangedProgramModeToSERVICE(),
nChangedProgramModeToIDLE(), onChangedProgramModeToOOO(), startPhysicalLayer(),
stopPhysicalLayer(), reboot(), reset().
Add signals printTicketFinished,...,Error.
2023-11-16 08:41:14 +01:00
ed99b7f3a3 Minor: remove initPlugin()-implementation. 2023-11-16 08:40:06 +01:00
62c3758bd1 Derive interface from QObject (to enable usage of qobject_cast) and UnifiedDCVMCInterface. 2023-11-16 08:38:46 +01:00
5d2bb75fca Extend enums in nsDeviceControllerInterface. 2023-11-16 08:38:13 +01:00
2313b6bd42 Moved enums to ATBAPPplugin.h.
Removed signals.
2023-11-16 08:36:16 +01:00
bf59e2d4b9 Add enums describing plugin status: PLUGIN_STATE, RESULT_STATE, CASH_STATE,
TICKET_VARIANT, STEP.
2023-11-16 08:34:34 +01:00
7e708d6897 do some experiments 2023-11-10 13:23:05 +01:00
603e6a20b6 do some expermiments 2023-11-10 13:22:35 +01:00
6fbde29cad
Use new background task "DOOR_OPENED" while a door is open 2023-10-10 08:17:21 +02:00
479582a9e2
Start background task "ACCOUNT" only if CashBox is removed 2023-10-10 08:15:35 +02:00
e5f6405a19
Update HWapi/4.6 (interfaces.h) 2023-09-21 16:04:50 +02:00
d16234f8e9
Print templates: check printer status 2023-08-10 15:01:39 +02:00
6b807fd636
Implement printing receipts:
- using DC prn_sendText
 - this is a rather general print method
2023-08-07 17:38:29 +02:00
3bc68ff0ae
Add interface for printing receipts 2023-08-07 17:37:35 +02:00
39f575ceea
Send machine data on startup/init to DeviceController 2023-08-03 09:10:44 +02:00
8c2d764698
Add class PTUSystem 2023-08-03 09:09:42 +02:00
acb1941d94
Update interface.h (4.4 20230802) 2023-08-02 18:06:11 +02:00
13f1d84cc0
Call diagReqeust() on door opened signals 2023-07-27 15:30:24 +02:00
4187d8044d
Fix: finish diag on right place 2023-07-27 14:36:06 +02:00
94d22c3bb5
Diag: do not interrupt on open doors (detect alarm!) 2023-07-27 14:34:10 +02:00
4df87873ce
Remove workaround for wrong account-list 2023-07-27 09:59:20 +02:00
0fd20d1dc4
Rework machine diag:
- allways check for whole system state (all errors / warnings)
   -> e.g. an error does not hide an other error or warning
 - send machine event only once
 - store sent events in a QSet-container
 - clear this container if no error / warning is detected

Note: there is currently no message for releasing a certain single error
/ warning. So it is no worth in removing a single entry in
QSet-container. This is a task for later program versions.
2023-07-26 18:11:41 +02:00
df3a83521f
Workaround for 00281/Szeged: kindOfCoinChecker
This should be '1' in Szeged, however, we get value '16'
2023-07-26 15:40:58 +02:00
ffa91a216c
Check and set WARNINGS 2023-07-25 12:56:40 +02:00
d868c15359
Request diag on wokeup from DeviceController 2023-07-25 12:56:15 +02:00
6312d133db
Skip diag on closing doors...
... because diag is called on going to ModeIDLE
2023-07-25 12:55:12 +02:00
6a39aae7a6
Diag: re-map error codes according to old Szeged error list 2023-07-25 11:14:26 +02:00
34ec52250b
Diag: use enum for dc-state (including warnings) 2023-07-25 07:59:58 +02:00
2a5a318c1a
Send "Operate" machine-event if machine state is no error 2023-07-24 15:32:32 +02:00
be76bfc3fd
Account: Increase wait time after conbox is removed 2023-07-20 11:02:46 +02:00
d02909fb97
Account: start delayed after coinbox is removed 2023-07-20 08:16:03 +02:00
e3d73cbb66
Account: start dbus backgroundTask 2023-07-20 08:15:30 +02:00
f790d327e9
Add dbus interface for SystemController 2023-07-20 08:15:03 +02:00
33445c1249
Account: set "accountStartTime" 2023-07-19 20:46:38 +02:00
3c235d2ec1
Fix: account number 2023-07-19 20:43:48 +02:00
da7058a9bd
Update DC interface to 20230719_1303 2023-07-19 20:16:39 +02:00
25e343cb5b
Fix: Utils::compare 2023-07-19 15:30:30 +02:00
76ce6e0c26
Move hwif to thread 2023-07-10 16:09:16 +02:00
334d67fd22
Send voltage Value as healthEvent 2023-07-05 20:00:48 +02:00
488152c37d
Add JSON class 2023-07-05 18:40:42 +02:00
a0d7f98175
Add interface method reboot() 2023-07-05 12:45:45 +02:00
efa595edb9
Add interface method reset() 2023-07-05 10:22:41 +02:00
3071a92a3c
Fix: create plugin info 2023-07-05 10:21:56 +02:00
54e3e76789
Ticket print: change date format to yy.MM.dd 2023-07-03 14:59:02 +02:00
99188b0b7a
Set DateTime on change to modeSELL 2023-07-03 12:24:59 +02:00
2cd73aaa86
Add interface methods startPhysicalLayer() / stopPhysicalLayer() 2023-06-30 10:41:12 +02:00
37d45f3c69
Serial port name is object variable 2023-06-30 10:39:24 +02:00
f76a30cb07
Increase timeout for 'onCashPayStopedSuccess()' to 2,5s 2023-06-28 10:55:49 +02:00