Add interface for coinProcessor() and billAcceptor()

This commit is contained in:
2023-11-23 17:58:36 +01:00
parent 2221463fe5
commit 48d65b679f
5 changed files with 61 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
#include "ATBMachineEvent.h"
#include "interfaces.h"
#include "DeviceControllerInterface.h"
namespace DeviceController {
Q_NAMESPACE
@@ -62,6 +64,9 @@ public:
void init(hwinf* hw, QObject* eventReceiver);
nsDeviceControllerInterface::COIN_PROCESSOR coinProcessorType;
nsDeviceControllerInterface::BILL_ACCEPTOR billAcceptor;
public slots:
void diagRequest();
@@ -85,6 +90,8 @@ private:
QSet<DeviceController::State> machineEventSet;
private slots:
void onDiagRequestTimeoutTimerTimeout();