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

@@ -213,6 +213,19 @@ void ATBDeviceControllerPlugin::cashAbort()
this->currentCashState = CASH_STATE::CACHE_EMPTY;
}
// Coin/Cash processing variants ----------------------------------------------
nsDeviceControllerInterface::COIN_PROCESSOR ATBDeviceControllerPlugin::coinProcessor()
{
return this->diag->coinProcessorType;
}
nsDeviceControllerInterface::BILL_ACCEPTOR ATBDeviceControllerPlugin::billAcceptor()
{
return this->diag->billAcceptor;
}
// TASKS: Account -------------------------------------------------------------
// for an external account request, e.g. by an ui-button: