update interfaces.h
This commit is contained in:
parent
4d47a5f95c
commit
f45017e9f3
@ -377,6 +377,23 @@ struct T_changer
|
||||
|
||||
struct T_bna
|
||||
{
|
||||
// reported with STATUS:
|
||||
uint8_t setup; // 0: not 1: got valid parameters from device
|
||||
uint8_t FeatureLevel;
|
||||
uint16_t countryCode; // programmed in EMP
|
||||
uint16_t scalingFactor; // z.B. 5
|
||||
uint8_t decimalPlace;
|
||||
uint8_t pad1;
|
||||
uint16_t stackerCap;
|
||||
uint16_t billSecureLevel;
|
||||
uint8_t hasEscrow;
|
||||
uint8_t accBillTypes[16]; // programmed in EMP z.B. (bit 0..7): 1 2 4 10 20 40 0 0
|
||||
uint16_t currentStackerLevel; // requested number of notes in billbox
|
||||
|
||||
// settings from Master
|
||||
uint16_t intendedAccept; // bit 0 =5€
|
||||
uint16_t pad2;
|
||||
uint16_t billDenomination[16];
|
||||
|
||||
};
|
||||
|
||||
@ -2215,6 +2232,7 @@ public:
|
||||
Q_UNUSED(notesToAccept);
|
||||
}
|
||||
// can be used to block notes dynamically, example: from now only 5€ bills are allowed (if only 3€ are to be paid)
|
||||
// only valid till next start-payment. Cannot add notes which are not activated in Json
|
||||
|
||||
virtual void bna_requestParameters() const {}
|
||||
// send command to DC in order to get static invariable device parameters like currency
|
||||
@ -2335,9 +2353,15 @@ signals:
|
||||
//#define HWINF_iid "Atb.Psa1256ptu5.software.HWapi/5.0"
|
||||
// 10.10.2023: added coin changer
|
||||
|
||||
#define HWINF_iid "Atb.Psa1256ptu5.software.HWapi/5.1"
|
||||
//#define HWINF_iid "Atb.Psa1256ptu5.software.HWapi/5.1"
|
||||
// 20.10.2023: added bill validator
|
||||
|
||||
// hier dazwischen: Umstellung ALLER Prototypen
|
||||
// hier von =0 auf {} durch Gerhard
|
||||
|
||||
#define HWINF_iid "Atb.Psa1256ptu5.software.HWapi/5.2"
|
||||
// 7.11.2023: bna functions activated
|
||||
|
||||
|
||||
Q_DECLARE_INTERFACE(hwinf, HWINF_iid)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user