Compare commits

..

4 Commits

4 changed files with 32 additions and 22 deletions

View File

@ -18,12 +18,15 @@
<EVENT name="TIMEOUT" resultingState="CASH_PAYMENT" <EVENT name="TIMEOUT" resultingState="CASH_PAYMENT"
setCashInputMode="PAY_UP" setCashInputMode="PAY_UP"
setProduct="SHORT_TERM_PARKING" setProduct="SHORT_TERM_PARKING"
setPaymentType="CASH"/> setPaymentType="CASH"/>/>
</APP_STATE> </APP_STATE>
<APP_STATE name="PAYMENT_SELECTION"> <APP_STATE name="PAYMENT_SELECTION">
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/> <EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="RECEIVED_DC_COIN_ATTACHED" resultingState="CASH_PAYMENT" setCashInputMode="PAY_UP"
setProduct="SHORT_TERM_PARKING"
setPaymentType="CASH"/>
<EVENT name="BUTTON_PAYMETHOD_1" resultingState="IDLE"/> <EVENT name="BUTTON_PAYMETHOD_1" resultingState="IDLE"/>
<EVENT name="BUTTON_PAYMETHOD_2" resultingState="CASH_PAYMENT" setCashInputMode="PAY_UP" <EVENT name="BUTTON_PAYMETHOD_2" resultingState="CASH_PAYMENT" setCashInputMode="PAY_UP"
setProduct="SHORT_TERM_PARKING" setProduct="SHORT_TERM_PARKING"
@ -78,16 +81,13 @@
</APP_STATE> </APP_STATE>
<APP_STATE name="CASH_PAYMENT_INPUT"> <APP_STATE name="CASH_PAYMENT_INPUT">
<ENTRY_TASK name="REQUEST_PARKING_ENDTIME"/> <ENTRY_TASK name="REQUEST_PARKING_ENDTIME"/>
<!-- AUTO-TICKET on PayUp: accept payment -->
<EVENT name="RECEIVED_CALCULATE_TIME_OVERPAID" task="PAYMENT_ACCEPTED" resultingState="CASH_PAYMENT_INPUT"/>
<EVENT name="RECEIVED_CALCULATE_TIME_MAX" task="PAYMENT_ACCEPTED" resultingState="CASH_PAYMENT_INPUT"/>
<EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/> <EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/>
<EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="CASH_OVERPAYED_ASK"/> <EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="CASH_OVERPAYED_ASK"/>
<EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="PRINT_TICKET_CASH"/> <EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="PRINT_TICKET_CASH"/>
<EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/> <EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/>
<EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/> <EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/>
<EVENT name="BUTTON_NEXT" task="PAYMENT_ACCEPTED" resultingState="CASH_PAYMENT_INPUT"/> <EVENT name="BUTTON_NEXT" task="PAYMENT_ACCEPTED" resultingState="CASH_PAYMENT_INPUT"/>
</APP_STATE> </APP_STATE>
<APP_STATE name="CASH_PAYMENT_ERROR"> <APP_STATE name="CASH_PAYMENT_ERROR">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/> <ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/> <ENTRY_TASK name="CASH_ABORT"/>

12
etc/psa_config/DC2C_conf.json Executable file
View File

@ -0,0 +1,12 @@
{
"title":"DC2C_config",
"project":"Kirchdorf",
"version":"22.01.2024 00001",
"custNum":743,
"machNum":1000,
"borough":1,
"zone":1,
"alias":0,
"location":""
}

View File

@ -1,7 +1,7 @@
{ {
"title":"DC2C_device", "title":"DC2C_device",
"project":"Kirchdorf", "project":"Galltuer",
"Version":"02.07.2024 00103", "Version":"22.01.2024 00103",
"printer":1, "printer":1,
"coinChk":1, "coinChk":1,
"mifRd":1, "mifRd":1,
@ -25,11 +25,6 @@
"foreign":1, "foreign":1,
"refundPrint":1, "refundPrint":1,
"billWarnLev":400, "billWarnLev":400,
"billFullLev":500, "billFullLev":500
"housing":1,
"changeCoins":1,
"dev_aux1":0,
"dev_aux2":0,
"dev_aux3":0,
"dev_aux4":0
} }

View File

@ -6,11 +6,14 @@
# #
opkg update opkg update
opkg install prepare-update opkg install prepare-update
# # opkg install atbupdatetool
opkg --cache /var/cache/opkg --download-only upgrade atb-dc-libraries # opkg install mxt-touch-reset
opkg --cache /var/cache/opkg --download-only upgrade atb-plugin-dc # opkg remove atb-accountingtool
opkg --cache /var/cache/opkg --download-only upgrade atbqt # opkg install atb-accountingtool
# opkg --cache /var/cache/opkg --download-only upgrade
opkg --cache /var/cache/opkg upgrade atb-dc-libraries opkg --cache /var/cache/opkg upgrade
opkg --cache /var/cache/opkg upgrade atb-plugin-dc # opkg remove apism
opkg --cache /var/cache/opkg upgrade atbqt # opkg install apism
opkg info apism
opkg info atbqt
opkg info atbupdatetool