Send machine data on startup/init to DeviceController
This commit is contained in:
parent
8c2d764698
commit
39f575ceea
@ -4,6 +4,7 @@
|
|||||||
#include "src/ATBAPP/Utils.h"
|
#include "src/ATBAPP/Utils.h"
|
||||||
#include "src/ATBAPP/support/JSON.h"
|
#include "src/ATBAPP/support/JSON.h"
|
||||||
#include "src/ATBAPP/support/DBusControllerInterface.h"
|
#include "src/ATBAPP/support/DBusControllerInterface.h"
|
||||||
|
#include "src/ATBAPP/support/PTUSystem.h"
|
||||||
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
@ -80,6 +81,11 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *eventReceiver, con
|
|||||||
|
|
||||||
hw->dc_autoRequest(true);
|
hw->dc_autoRequest(true);
|
||||||
|
|
||||||
|
hw->dc_setNewCustomerNumber(PTUSystem::readCustomerNumber());
|
||||||
|
hw->dc_setNewMachineNumber(PTUSystem::readMachineNumber());
|
||||||
|
hw->dc_setNewZone(PTUSystem::readZoneNumber());
|
||||||
|
hw->dc_setNewBorough(PTUSystem::readGroupNumber());
|
||||||
|
|
||||||
hw->rtc_setDateTime();
|
hw->rtc_setDateTime();
|
||||||
|
|
||||||
// this is necessary to init the CashAgentLib (!)
|
// this is necessary to init the CashAgentLib (!)
|
||||||
|
Loading…
Reference in New Issue
Block a user