diff --git a/include/storeINdata.h b/include/storeINdata.h index 2a3083c..b28a6ff 100644 --- a/include/storeINdata.h +++ b/include/storeINdata.h @@ -418,6 +418,7 @@ uint8_t epi_mifGetCardType(uint8_t const *holder); void gpi_storeDcDataValid(bool isVal); bool gpi_areDcDataValid(); +bool epi_areDcDataValid(); diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index aa6ae5d..0c81437 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -51,6 +51,7 @@ void ATBDeviceControllerPlugin::requestStartCashInput(const QString & amount) qCritical() << "Start Cash vending with amount = " << amount; uint32_t amountInt = static_cast(amount.toUInt()); + hw->cash_startPayment(amountInt); } diff --git a/src/hwapi.cpp b/src/hwapi.cpp index 13815a8..d1d7da3 100644 --- a/src/hwapi.cpp +++ b/src/hwapi.cpp @@ -4100,7 +4100,10 @@ void hwapi::sys_restoreDeviceParameter(struct T_devices *deviceSettings) const } - +bool hwapi::sys_areDCdataValid(void) const +{ + return epi_areDcDataValid(); +} /* --------------------------------------------------------------------------------------------- // ------------ supervise all hardware components