Compare commits
45 Commits
Author | SHA1 | Date | |
---|---|---|---|
27ab4b7051 | |||
5ef8acb23c | |||
fa701aaac0 | |||
b618047d5e | |||
4215909e07 | |||
357a91a312 | |||
dc99caf97e | |||
c6b8dc4a4e | |||
b504cdd5b9 | |||
81cf5aab42 | |||
8fa6157d04 | |||
fad2f2f910 | |||
87dbf245b1 | |||
3e234e2957 | |||
79ce47f693 | |||
353a02b72d | |||
8ca05780ed | |||
c49dc48067 | |||
f05df3eac9 | |||
e27f8e76aa | |||
8975b51efe | |||
58358816d5 | |||
bbb2405a55 | |||
6d6be41af7 | |||
2b3af88e2e | |||
045be2682c | |||
d7006c5871 | |||
d1fac0ee15 | |||
eded88b199 | |||
1ce158bfaf | |||
7a03194b44 | |||
5c68cad3c9 | |||
37e263ccad | |||
dc4ca6bdf5 | |||
cc9ffdb7c8 | |||
4770eadcfd | |||
daf8b11f34 | |||
ffce955fe1 | |||
19c8d4152f | |||
ab6b687eb2 | |||
9e83b095f5 | |||
d910374873 | |||
c5cf8c052b | |||
a654cd5571 | |||
ed80b4dd2d |
@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ATB_APP_STATES version="1.1">
|
||||
<APP_STATE name="IDLE">
|
||||
<EVENT name="BUTTON_START" resultingState="LICENSEPLATE_INPUT"/>
|
||||
<!-- <EVENT name="BUTTON_START" resultingState="PRODUCT_SELECTION"/> -->
|
||||
<EVENT name="BUTTON_START" resultingState="SETUP_SELL_STATE"/>
|
||||
<EVENT name="SELL_DISABLE" resultingState="FREE_PARK"/>
|
||||
<SCREEN name="START"/>
|
||||
<MODE name="IDLE"/>
|
||||
@ -12,17 +13,32 @@
|
||||
<MODE name="IDLE"/>
|
||||
</APP_STATE>
|
||||
|
||||
<APP_STATE name="SETUP_SELL_STATE">
|
||||
<ENTRY_TASK name="TIMER" timeout="500"/>
|
||||
<EVENT name="TIMEOUT" resultingState="PARKTIME_SELECTION" setProduct="SHORT_TERM_PARKING"/>
|
||||
</APP_STATE>
|
||||
|
||||
<APP_STATE name="PRODUCT_SELECTION">
|
||||
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
|
||||
<EVENT name="BUTTON_VEHICLE_1" resultingState="LICENSEPLATE_INPUT" setProduct="SHORT_TERM_PARKING" setCheckFeature="SKIP_TICKET_PRINT"/>
|
||||
<EVENT name="BUTTON_VEHICLE_2" resultingState="PARKTIME_SELECTION" setProduct="SHORT_TERM_PARKING"/>
|
||||
<SCREEN name="PRODUCT_SELECTION"/>
|
||||
</APP_STATE>
|
||||
|
||||
<!--
|
||||
<APP_STATE name="SKIP_TICKET_PRINT_TEST">
|
||||
<ENTRY_TASK name="PRINT_LOG" text="APP_STATE name=SKIP_TICKET_PRINT_TEST"/>
|
||||
<ENTRY_TASK name="CHECK_FEATURE" checkFeatureName="SKIP_TICKET_PRINT"/>
|
||||
<EVENT name="CHECK_TRUE" resultingState="LICENSEPLATE_INPUT"/>
|
||||
<EVENT name="CHECK_FALSE" resultingState="PARKTIME_SELECTION"/>
|
||||
</APP_STATE>
|
||||
-->
|
||||
|
||||
<APP_STATE name="LICENSEPLATE_INPUT">
|
||||
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
|
||||
<EVENT name="BUTTON_NEXT" resultingState="PARKTIME_SELECTION" setProduct="ShortTimeParking"/>
|
||||
<EVENT name="BUTTON_NEXT" resultingState="PARKTIME_SELECTION" setProduct="SHORT_TERM_PARKING"/>
|
||||
<SCREEN name="LICENSEPLATE_INPUT"/>
|
||||
</APP_STATE>
|
||||
<APP_STATE name="PRODUCT_SELECTION">
|
||||
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
|
||||
<EVENT name="BUTTON_VEHICLE_1" resultingState="PAYMENT_SELECTION_SHORT_TIME" setCashInputMode="PAY_UP" setProduct="ShortTimeParking"/>
|
||||
<EVENT name="BUTTON_VEHICLE_2" resultingState="PAYMENT_SELECTION_DAY" setCashInputMode="PAY_DOWN" setProduct="DayTicket"/>
|
||||
<SCREEN name="PRODUCT_SELECTION"/>
|
||||
</APP_STATE>
|
||||
|
||||
<APP_STATE name="PAYMENT_SELECTION">
|
||||
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
|
||||
@ -62,7 +78,7 @@
|
||||
<APP_STATE name="CARD_PAYMENT">
|
||||
<ENTRY_TASK name="REQUEST_PARKING_ENDTIME" key="PRICE_INFO_GROSS"/>
|
||||
<ENTRY_TASK name="REQUEST_CC_START_TRANSACTION"/>
|
||||
<EVENT name="RECEIVED_CARD_TRANSACTION_SUCCESS" resultingState="PRINT_TICKET_CARD"/>
|
||||
<EVENT name="RECEIVED_CARD_TRANSACTION_SUCCESS" resultingState="CHECK_PAPERLESS_CARD"/>
|
||||
<EVENT name="RECEIVED_CARD_TRANSACTION_ERROR" resultingState="CC_PAYMENT_ERROR"/>
|
||||
<EVENT name="BUTTON_CANCEL" resultingState="USER_CC_ABORT"/>
|
||||
<SCREEN name="CC_PAYMENT"/>
|
||||
@ -71,8 +87,8 @@
|
||||
<APP_STATE name="CASH_PAYMENT">
|
||||
<ENTRY_TASK name="REQUEST_CASH_INPUT"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="PRINT_TICKET_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="PRINT_TICKET_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="CHECK_PAPERLESS_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="CHECK_PAPERLESS_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/>
|
||||
<EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/>
|
||||
<SCREEN name="COIN_PAYMENT"/>
|
||||
@ -80,8 +96,8 @@
|
||||
<APP_STATE name="CASH_PAYMENT_INPUT">
|
||||
<ENTRY_TASK name="REQUEST_PARKING_ENDTIME" key="PRICE_INFO_GROSS"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="PRINT_TICKET_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="PRINT_TICKET_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="CHECK_PAPERLESS_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="CHECK_PAPERLESS_CASH"/>
|
||||
<EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/>
|
||||
<EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/>
|
||||
<EVENT name="BUTTON_NEXT" task="PAYMENT_ACCEPTED" resultingState="CASH_PAYMENT_INPUT"/>
|
||||
@ -94,7 +110,7 @@
|
||||
<SCREEN name="CASH_PAYMENT_FAILED" note="screennumber 0x39"/>
|
||||
</APP_STATE>
|
||||
<APP_STATE name="CASH_OVERPAYED">
|
||||
<ENTRY_TASK name="REQUEST_ISAMAS_FAIL_TRANSACTION"/>
|
||||
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
|
||||
<ENTRY_TASK name="CASH_ABORT"/>
|
||||
<ENTRY_TASK name="TIMER" timeout="3000"/>
|
||||
<EVENT name="TIMEOUT" resultingState="IDLE"/>
|
||||
@ -114,6 +130,19 @@
|
||||
<SCREEN name="BUSY"/>
|
||||
</APP_STATE>
|
||||
-->
|
||||
|
||||
<APP_STATE name="CHECK_PAPERLESS_CASH">
|
||||
<ENTRY_TASK name="CHECK_FEATURE" checkFeatureName="SKIP_TICKET_PRINT"/>
|
||||
<EVENT name="CHECK_TRUE" resultingState="FINALISE_CASH_PAYMENT" setTransactionDelivery="ONLINE" setTransactionResult="SUCCESS"/>
|
||||
<EVENT name="CHECK_FALSE" resultingState="PRINT_TICKET_CASH"/>
|
||||
</APP_STATE>
|
||||
<APP_STATE name="CHECK_PAPERLESS_CARD">
|
||||
<ENTRY_TASK name="CHECK_FEATURE" checkFeatureName="SKIP_TICKET_PRINT"/>
|
||||
<EVENT name="CHECK_TRUE" resultingState="CARD_PAYMENT_CONFIRM" setTransactionDelivery="ONLINE" setTransactionResult="SUCCESS"/>
|
||||
<EVENT name="CHECK_FALSE" resultingState="PRINT_TICKET_CARD"/>
|
||||
</APP_STATE>
|
||||
|
||||
|
||||
<APP_STATE name="PRINT_TICKET_CASH">
|
||||
<ENTRY_TASK name="REQUEST_PRINT_TICKET"/>
|
||||
<EVENT name="PRINT_TICKET_FINISHED" resultingState="FINALISE_CASH_PAYMENT"/>
|
||||
@ -137,20 +166,28 @@
|
||||
|
||||
<APP_STATE name="CARD_PAYMENT_CONFIRM">
|
||||
<ENTRY_TASK name="REQUEST_CC_CONFIRM_TRANSACTION"/>
|
||||
<EVENT name="RECEIVED_CARD_CONFIRM_TRANSACTION_SUCCESS" resultingState="PRINT_RECEIPT"/>
|
||||
<EVENT name="RECEIVED_CARD_CONFIRM_TRANSACTION_SUCCESS" resultingState="ASK_RECEIPT"/>
|
||||
<EVENT name="RECEIVED_CARD_CONFIRM_TRANSACTION_ERROR" resultingState="CC_PAYMENT_ERROR"/>
|
||||
</APP_STATE>
|
||||
<APP_STATE name="ASK_RECEIPT">
|
||||
<ENTRY_TASK name="TIMER" timeout="6000"/>
|
||||
<EVENT name="TIMEOUT" resultingState="GOODBYE_PAYMENT_OK"/>
|
||||
<EVENT name="BUTTON_YES" resultingState="PRINT_RECEIPT"/>
|
||||
<EVENT name="BUTTON_NO" resultingState="GOODBYE_PAYMENT_OK"/>
|
||||
<SCREEN name="ASK_RECEIPT"/>
|
||||
</APP_STATE>
|
||||
<APP_STATE name="PRINT_RECEIPT">
|
||||
<ENTRY_TASK name="REQUEST_PRINT_RECEIPT"/>
|
||||
<EVENT name="PRINT_RECEIPT_FINISHED" resultingState="GOODBYE_PAYMENT_OK"/>
|
||||
<EVENT name="PRINT_RECEIPT_ERROR" resultingState="PRINT_TICKET_FAILED"/>
|
||||
<SCREEN name="PRINT_RECEIPT"/>
|
||||
</APP_STATE>
|
||||
|
||||
<APP_STATE name="FINALISE_CASH_PAYMENT">
|
||||
<ENTRY_TASK name="CASH_COLLECT"/>
|
||||
<EVENT name="RECEIVED_CASH_CHANGE_BACK" resultingState="GIVE_CHANGE"/>
|
||||
<EVENT name="RECEIVED_CASH_PAYMENT_FINISHED" resultingState="GOODBYE_PAYMENT_OK"/>
|
||||
<!-- TODO: hangle changer Error -->
|
||||
<!-- TODO: handle changer Error -->
|
||||
<!-- no screen change here -->
|
||||
</APP_STATE>
|
||||
<APP_STATE name="GIVE_CHANGE">
|
||||
@ -161,7 +198,7 @@
|
||||
<ENTRY_TASK name="REQUEST_ISMAS_TRANSACTION"/>
|
||||
<ENTRY_TASK name="TIMER" timeout="2000"/>
|
||||
<EVENT name="TIMEOUT" resultingState="IDLE"/>
|
||||
<SCREEN name="GOODBYE_PAYMENT_OK"/>
|
||||
<SCREEN name="GOODBYE_3" note="green_hook"/>
|
||||
</APP_STATE>
|
||||
|
||||
<APP_STATE name="CC_PAYMENT_ERROR">
|
||||
|
0
etc/psa_config/DC2C_conf.json
Executable file → Normal file
0
etc/psa_config/DC2C_conf.json
Executable file → Normal file
@ -1,12 +0,0 @@
|
||||
{
|
||||
"title":"DC2C_config",
|
||||
"project":"Schoenau",
|
||||
"version":"15.11.2023 00001",
|
||||
"custNum":332,
|
||||
"machNum":21,
|
||||
"borough":0,
|
||||
"zone":0,
|
||||
"alias":0,
|
||||
"location":"Vorplatz 1"
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
"title":"DC2C_config",
|
||||
"project":"Schoenau",
|
||||
"version":"15.11.2023 00001",
|
||||
"custNum":332,
|
||||
"machNum":25,
|
||||
"borough":0,
|
||||
"zone":0,
|
||||
"alias":0,
|
||||
"location":"Vorplatz 1"
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
"title":"DC2C_config",
|
||||
"project":"Schoenau",
|
||||
"version":"15.11.2023 00001",
|
||||
"custNum":332,
|
||||
"machNum":26,
|
||||
"borough":0,
|
||||
"zone":0,
|
||||
"alias":0,
|
||||
"location":"Vorplatz 1"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Title":"DC2C_device",
|
||||
"title":"DC2C_device",
|
||||
"Project":"Schoenau",
|
||||
"Version":"6.7.1-2024-06-17",
|
||||
"printer":1,
|
||||
|
12
etc/psa_config/DC2C_device_json.netz → etc/psa_config/DC2C_device.json-netz
Normal file → Executable file
12
etc/psa_config/DC2C_device_json.netz → etc/psa_config/DC2C_device.json-netz
Normal file → Executable file
@ -1,12 +1,12 @@
|
||||
{
|
||||
"title":"DC2C_device",
|
||||
"Project":"Schoenau",
|
||||
"Version":"6.7.1-2024-06-17",
|
||||
"project":"Schoenau",
|
||||
"Version":"15.11.2023 00102",
|
||||
"printer":1,
|
||||
"coinChk":3,
|
||||
"mifRd":1,
|
||||
"solarPwr":0,
|
||||
"modem":1,
|
||||
"modem":0,
|
||||
"creditCard":1,
|
||||
"escrow":0,
|
||||
"RejMotor":0,
|
||||
@ -23,9 +23,5 @@
|
||||
"BattWarn":11800,
|
||||
"BattErr":11200,
|
||||
"foreign":1,
|
||||
"refundPrint":1,
|
||||
"billWarnLev":300,
|
||||
"billFullLev":380,
|
||||
"housing":1
|
||||
|
||||
"refPrint":1
|
||||
}
|
10
etc/psa_config/DC2C_device_json.solar → etc/psa_config/DC2C_device.json-solar
Normal file → Executable file
10
etc/psa_config/DC2C_device_json.solar → etc/psa_config/DC2C_device.json-solar
Normal file → Executable file
@ -1,7 +1,7 @@
|
||||
{
|
||||
"title":"DC2C_device",
|
||||
"Project":"Schoenau",
|
||||
"Version":"6.7.2-2024-06-17",
|
||||
"project":"Schoenau",
|
||||
"Version":"15.11.2023 00102",
|
||||
"printer":1,
|
||||
"coinChk":3,
|
||||
"mifRd":1,
|
||||
@ -23,9 +23,5 @@
|
||||
"BattWarn":11800,
|
||||
"BattErr":11200,
|
||||
"foreign":1,
|
||||
"refundPrint":1,
|
||||
"billWarnLev":300,
|
||||
"billFullLev":380,
|
||||
"housing":1
|
||||
|
||||
"refPrint":1
|
||||
}
|
@ -5,10 +5,12 @@
|
||||
###############################################################################
|
||||
#
|
||||
opkg update
|
||||
# opkg install prepare-update
|
||||
# opkg install atbupdatetool
|
||||
# opkg install mxt-touch-reset
|
||||
# opkg install apism
|
||||
# opkg install tariff-config-332
|
||||
# opkg --cache /var/cache/opkg --download-only upgrade ptu5-systemcontroller
|
||||
# opkg --cache /var/cache/opkg upgrade ptu5-systemcontroller
|
||||
opkg install prepare-update
|
||||
#
|
||||
opkg --cache /var/cache/opkg --download-only upgrade atb-dc-libraries
|
||||
opkg --cache /var/cache/opkg --download-only upgrade atb-plugin-dc
|
||||
opkg --cache /var/cache/opkg --download-only upgrade atbqt
|
||||
#
|
||||
opkg --cache /var/cache/opkg upgrade atb-dc-libraries
|
||||
opkg --cache /var/cache/opkg upgrade atb-plugin-dc
|
||||
opkg --cache /var/cache/opkg upgrade atbqt
|
||||
|
Loading…
Reference in New Issue
Block a user