9. MDBCoinSettings
GUI command
Command
Parameters/Comments
MDBCoinSettings
[none]
RASPIVEND daemon answer
Answer
Parameters/Comments
{
"Type":"CoinSettings",
"Level":"3",
"CurrencyCode":"0040",
"ScalingFactor":"10",
"DecimalPlaces":"2",
"CoinValues":[
{"CoinValue":"1"},
{"CoinValue":"5"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"},
{"CoinValue":"0"}
],
"ChangeCoins":[
{"ChangeCoin":"true"},
{"ChangeCoin":"true"},
{"ChangeCoin":"true"},
{"ChangeCoin":"true"},
{"ChangeCoin":"true"},
{"ChangeCoin":"true"},
{"ChangeCoin":"true"},
{"ChangeCoin":"true"},
{"ChangeCoin":"false"},
{"ChangeCoin":"false"},
{"ChangeCoin":"false"},
{"ChangeCoin":"false"},
{"ChangeCoin":"false"},
{"ChangeCoin":"false"},
{"ChangeCoin":"false"},
{"ChangeCoin":"false"}
],
"Manufacturer":"NRI",
"SerialNumber":"NRI00136295-",
"Model":"046G-46.F400",
"SWVersion":"12320"
}
Using this command you can get informations about the MDB
connected coin acceptors/changers.
<CoinValues> array contains the values that the device will
recognize.
<ChangeCoins> array contains informations about the coins that
the device can use to return change. If all elements are “false”,
then the device does not have change capabilities.
Most of those are low level informations and you do not need to
use them in you application, since all MDB protocol will be
handled by the RASPIVEND board.
© 2016 – AUTOMATROM SRL – www.vendingtools.ro
Содержание RASPIVEND
Страница 22: ...2016 AUTOMATROM SRL www vendingtools ro...
Страница 51: ...NOTES 2016 AUTOMATROM SRL www vendingtools ro...