From d5786aa5ab6ae142f35769f749ec2571fd42fe81 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Fri, 8 Mar 2024 12:44:41 +0100 Subject: [PATCH] Add COIN_PROCESSER::NONE (machine without coin processing) --- src/ATBAPP/DeviceControllerDiag.cpp | 3 +++ src/ATBAPP/DeviceControllerInterface.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ATBAPP/DeviceControllerDiag.cpp b/src/ATBAPP/DeviceControllerDiag.cpp index 2a5f89f..7ca3742 100644 --- a/src/ATBAPP/DeviceControllerDiag.cpp +++ b/src/ATBAPP/DeviceControllerDiag.cpp @@ -230,6 +230,9 @@ void DeviceControllerDiag::sub_componentAssessment() // ----------------------------------------------------------------------------------------------- switch (devPara.kindOfCoinChecker) { + case 0: + this->coinProcessorType = nsDeviceControllerInterface::COIN_PROCESSOR::NONE; + break; case 1: case 2: this->coinProcessorType = nsDeviceControllerInterface::COIN_PROCESSOR::ESCROW; diff --git a/src/ATBAPP/DeviceControllerInterface.h b/src/ATBAPP/DeviceControllerInterface.h index c195860..f5ed5ba 100644 --- a/src/ATBAPP/DeviceControllerInterface.h +++ b/src/ATBAPP/DeviceControllerInterface.h @@ -234,7 +234,8 @@ namespace nsDeviceControllerInterface { enum class COIN_PROCESSOR : quint8 { CHANGER, - ESCROW + ESCROW, + NONE }; enum class BILL_ACCEPTOR : quint8 {