Commit Graph

16 Commits

Author SHA1 Message Date
d5786aa5ab
Add COIN_PROCESSER::NONE (machine without coin processing) 2024-03-08 12:44:41 +01:00
0cc89cefab
Read dc-firmware-version: filter return value (null-character) 2024-01-31 12:22:18 +01:00
d2efe566c5
Add persistentData to store dc-fw-version
Reading dc-fw-version is somehow complicated ...
Id does not work reliable on startup, so we do read it also on every
diagRequest().
Version string is then stored in persistent data.
This data can be used e.g. by other tools to show the
device-controller-firmware-version.
2024-01-31 11:34:00 +01:00
b3ad8e1ee9
Interrupt DiagRequest on error 2023-12-11 18:32:27 +01:00
48d65b679f
Add interface for coinProcessor() and billAcceptor() 2023-11-23 17:58:36 +01: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
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
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
334d67fd22
Send voltage Value as healthEvent 2023-07-05 20:00:48 +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
6a19fd7608
Add class DeviceControllerDiag to supervise DeviceController state 2023-06-22 08:44:16 +02:00