From 7ccbc8bb23bd9db021d952005cd56fb175d3e357 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Wed, 14 Jun 2023 14:38:24 +0200 Subject: [PATCH] Proposal for requestAccount() (does not work) ... because of random signal from DeviceController. ... and wrong handling of DeviceController methods. --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index d2c867c..7377ee3 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -152,8 +152,19 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened() void ATBDeviceControllerPlugin::onCoinBoxRemoved() { + hw->log_selectVaultRecord(0); + // TODO: // - create and send account (-> requestAccountResponse()) + + // account: + // collect account data + QHash accountData; + + // send account + // -> currently skipped: emit this->requestAccountResponse(accountData); + + qCritical() << "ATBDeviceControllerPlugin::onCoinBoxRemoved()"; }