Commit Graph

112 Commits

Author SHA1 Message Date
b4a6d4a073 void hwapi::sys_getDynMachineConditions(): no length info anymore.
void hwapi::sys_getDynMachineConditions(struct T_dynamicCondition *dynMachCond) const:
	no loop, just write to shared mem using struct T_dynamicCondition.
uint8_t hwapi::prn_getCurrentPrinterState() const:
	use struct T_dynamicCondition.lastPrinterStatus.
2024-06-27 12:42:35 +02:00
c8d7f2f904 When receiving dynamic machine data, check if not too much data has been
received: copy only as much data as possible.
2024-06-27 12:40:50 +02:00
0dc38d8908 Changed declarations of
void gpi_storeDynMachineConditions(void const *data);
void epi_restoreDynMachineConditions(void *data);
2024-06-27 12:39:58 +02:00
f28f102ca0 Add struct T_dynamicMachCond directly into shared-mem 2024-06-27 12:39:32 +02:00
d04e9ead89 Changes declaration
virtual void sys_getDynMachineConditions(void *data) const;
2024-06-27 12:38:11 +02:00
9a584713e9 Changed declaration:
void sys_getDynMachineConditions(void *data) const override;
2024-06-27 12:37:02 +02:00
0fca448c53 Added dynamic-machine-conditions.h 2024-06-27 12:36:23 +02:00
a4afc4ced7 To be used later, to replace some parts of interfaces.h 2024-06-27 12:35:46 +02:00
06d43009ad
Merge branch 'CoinInputFix' 2024-05-22 12:55:32 +02:00
bed98c2c0e
Fix: reset 'lastInsertedAmount' ...
affects direct coin input / cash-payment.
2024-05-22 12:54:00 +02:00
f6cc40c8f9
Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/DCLibraries 2024-03-21 16:07:08 +01:00
6be24fe9ff Merge branch 'master' of https://git.mimbach49.de/GerhardHoffmann/DCLibraries 2024-03-21 15:57:23 +01:00
3612fc28ee bugfix: banknotes have been summed with the coins. Now they are handled separately. 2024-03-21 15:55:50 +01:00
c59de6cad8 bugfix: banknotes have been summed with the coins. Now they are handled separately. 2024-03-21 15:54:58 +01:00
4b0e8ec5f6
Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/DCLibraries 2024-03-14 15:53:44 +01:00
3486c4ccaf Added cash_isCollectionStarted() 2024-03-14 15:17:40 +01:00
ea462ba5c8 call gpi_storeDI_CoinAttach to speed up coin attach detection 2024-03-14 15:16:27 +01:00
961fc6b5dc Fill several struct to align on proper address 2024-03-14 15:14:47 +01:00
6f920604b7 Add cash_isCashCollectionSTarted(). 2024-03-14 15:12:33 +01:00
d5021c8269
Merge branch 'carun_removeWidgets' 2024-03-02 12:16:02 +01:00
7abe8ae419
Libraries: remove dependency to gui/widgets 2024-03-02 12:15:15 +01:00
b8089c443c
CArun: remove dependency to qt gui/widgets 2024-03-02 12:14:02 +01:00
3bbd3e4e19
Proposal: final version for new CArun class 2024-03-02 12:12:49 +01:00
c902bd9a54 Proposal: remove Widgets 2024-03-02 08:36:06 +01:00
25e7bf056b remove unused variable 2024-03-02 07:15:12 +01:00
8f8947482a
Fix: add source-files to project 2024-02-22 08:44:34 +01:00
42c817ddce
Merge branch 'coin-attach' 2024-02-21 16:20:17 +01:00
2c799e1cd2
Merge branch 'coin-attach' of git.mimbach49.de:GerhardHoffmann/DCLibraries into coin-attach 2024-02-21 10:50:41 +01:00
9cac6a6461 Added comment for std::atomic<bool>::exchange() 2024-02-21 10:46:34 +01:00
aa10d3b275 Add atomic<bool> variable m_coinAttached to check for state change:
send signal runProc_coinAttached only if state changes from false true.
2024-02-21 10:39:03 +01:00
790c2fd031 add coin-attach signal 2024-02-19 15:59:41 +01:00
7130d052e7 Merge branch 'SiegfriedSiegert-pu/FixGetDeviceConditions' 2024-02-06 09:55:57 +01:00
ad84464bf4 Merge branch 'pu/FixGetDeviceConditions' of https://git.mimbach49.de/SiegfriedSiegert/DCLibraries into SiegfriedSiegert-pu/FixGetDeviceConditions 2024-02-06 09:55:38 +01:00
69d0420e7d
sys_restoreDeviceParameter() check size of struct T_devices 2024-02-06 09:39:21 +01:00
9b2433c2cd
Fix: check size of struct T_devices 2024-02-05 17:36:53 +01:00
Thomas
c5054fe4a0 removed lines for turning so-file into executable binary 2024-02-01 15:01:18 +01:00
02f15421ba Add sources for download/reporting thread 2023-12-20 17:06:37 +01:00
3c9cd16144 Add headers for download/reporting thread 2023-12-20 17:05:47 +01:00
760f4018b5 Merge branch 'master' of https://git.mimbach49.de/GerhardHoffmann/DCLibraries 2023-12-20 16:52:13 +01:00
a344ba1b7d Add implementations for helpers for downloading device controller.
NOTE : They are not called at the moment.
2023-12-20 16:50:50 +01:00
490fdd9209 Minor: add some debug output (versions, build times) 2023-12-20 16:50:23 +01:00
0c417c6940 Add headers for download/reporting thread. 2023-12-20 16:50:00 +01:00
fafea93a62 Add reporting thread and defines for output of versions and build dates/times. 2023-12-20 16:48:57 +01:00
ba99795bf3 Add download thread and define macros to output versions and build times. 2023-12-20 16:47:59 +01:00
135c508320 Add struct DCDownload for downloading the device controller. 2023-12-20 16:46:54 +01:00
f9dfc2b5e7 define git commnds only for linux 2023-12-20 16:46:21 +01:00
fc2abd3e89 Add helers and signals for downloading the device controller. 2023-12-20 16:44:03 +01:00
15671e3a37 Add helpers and signals for downloading the device controller. 2023-12-20 16:42:56 +01:00
54993ac592 Test for commit. 2023-12-18 12:28:43 +01:00
2c67638c34 Add some debug output in case the dc-data-valid flag is reset to false. 2023-12-18 12:12:30 +01:00