Compare commits

...

76 Commits

Author SHA1 Message Date
466f3d6db5
Merge branch 'zg1/zone1' of git.mimbach49.de:GerhardHoffmann/customer_332 into zg1/zone1 2024-12-02 10:13:38 +01:00
430fb7eef9
Add /etc/atb/SystemControl.ini 2024-12-02 10:13:14 +01:00
b22fdf9e4a Change price for 1st hour: 5 Euro -> 10 Euro 2024-11-27 09:46:24 +01:00
342e58cbb1 Improve cut for ticket 2024-11-22 11:49:18 +01:00
a1755d305c Add tariff for BUS 2024-11-06 10:39:42 +01:00
04c549baa9
Textupdate: "Wait for Terminal" 2024-08-02 10:30:51 +02:00
15c4bbd8a0 Fix (Thomas): Title -> title 2024-06-17 15:43:36 +02:00
2486d71c34 Merge branch 'zg1/zone1' of https://git.mimbach49.de/GerhardHoffmann/customer_332 into zg1/zone1 2024-06-17 11:48:20 +02:00
7551b6b969 Update Jsons for Schoenau as provided by Thomas 2024-06-17 11:46:52 +02:00
2184c40256
Update release 2024-06-17 2024-06-17 09:57:33 +02:00
b8a4b41818
Update release 2024-06-10 2024-06-10 12:52:25 +02:00
0d24a80cb1
Merge branch 'zg1/zone1' of git.mimbach49.de:GerhardHoffmann/customer_332 into zg1/zone1 2024-05-28 08:24:28 +02:00
06a92a8330
Update release 20240521 2024-05-27 16:33:23 +02:00
0722fd1f13 Use cent-values: 5000,2000,1000,500 instead of euro-values. 2024-05-07 13:18:21 +02:00
c019713572
Fix: remove unused DC json files 2024-05-07 12:34:38 +02:00
128e4d9d14
Fix: opkg commands 2024-05-07 11:43:20 +02:00
db907417ef
OPKG: release 20240506 2024-05-07 11:29:10 +02:00
5fe227185c
Update ATBQT/States: skip LicencePlate input 2024-05-06 15:35:55 +02:00
ee29bb5c44
Merge branch 'zg1/zone1' of git.mimbach49.de:GerhardHoffmann/customer_332 into zg1/zone1 2024-05-06 12:40:11 +02:00
05845b16da
Update ATBQT/States:
- product selection: with licenscplate results in paperless ticket
 - ask for printing bank receipt
2024-05-06 12:28:32 +02:00
2667955a41 keep only 'opkg update' 2024-05-06 12:23:06 +02:00
f56fd7f8f8 Update DC2C_cash/device.json as provided by Thomas 2024-05-06 11:08:16 +02:00
b7d1bebdb8 Set version date (23/04) -> trigger git 2024-04-23 12:36:17 +02:00
03fd98d6e7
Merge branch 'zg1/zone1' of git.mimbach49.de:GerhardHoffmann/customer_332 into zg1/zone1 2024-04-17 16:40:47 +02:00
d07207b659 sync with master 2024-04-12 09:13:00 +02:00
c86624c2ac add tariff101.json for zone101 (solar) 2024-04-10 10:28:39 +02:00
2218b83896 Add ptu5-systemcontroller using upgrade 2024-04-10 10:12:38 +02:00
7a327382bb Added opkg install tariff-config-332 2024-04-09 17:01:25 +02:00
1f809d6027 testing info 2024-04-09 14:27:24 +02:00
4c1f8240eb set info for testing 2024-04-09 14:09:18 +02:00
f6e3774ea8 Set version to 09.04.2024 2024-04-09 13:23:46 +02:00
e694ef3567 set info for testing 2024-04-09 13:20:05 +02:00
2ec9dad2ae set info for testing 2024-04-09 13:12:31 +02:00
5136871a12 set info for testing 2024-04-09 12:58:48 +02:00
8dc4985df9 set info for testing 2024-04-09 12:54:09 +02:00
1f50d2aa0e set info for testing 2024-04-09 12:47:45 +02:00
5712939d06 set info for testing 2024-04-09 12:41:14 +02:00
722f503952 set version for testing 2024-04-09 12:32:42 +02:00
3be4de01f4 update tariff for zone1 and zone2: new prices and extension of parking times 2024-04-08 16:24:19 +02:00
ad111e3edf update version to 05.04.2024 2024-04-05 13:51:04 +02:00
3f7e79a4eb Fix typo: Koenigssee 2024-03-28 09:16:16 +01:00
3b52491e7b
ATBAPP: vending process: set product names 2024-03-19 11:09:22 +01:00
6f1017e995
Merge branch 'zg1/zone1' of git.mimbach49.de:GerhardHoffmann/customer_332 into zg1/zone1 2024-03-19 11:02:50 +01:00
45a94370d6 Set version to 1.1.1 for testing. 2024-03-15 11:36:42 +01:00
89ea76ee73 Set pop_max_time: 10080, pop_multi_hour_price: 8 2024-03-15 10:40:13 +01:00
3f3cba534b
ATBAPP: Add customer vending process description (states) 2024-03-13 14:04:01 +01:00
533973bf30 sync with master-branch 2024-03-13 13:11:54 +01:00
4f033fec1e Install without upgrade, only direct installs:
opkg update
opkg install prepare-update
opkg install atbupdatetool
opkg install mxt-touch-reset
opkg install apism
opkg info apism
opkg info atbupdatetool
2024-01-24 14:48:52 +01:00
80ee7e4d0f Add
opkg install mxt-touch-reset
to fix touch-screen issues.
2024-01-24 12:40:54 +01:00
52f8368a50 remove euro-sign -> atbapp sends it. set version to 00002 2024-01-24 10:58:05 +01:00
7d656d5379 Set version to 00008 for testing 2024-01-24 10:56:32 +01:00
d8dbcdba66 Set version to 00006 for testing 2023-12-01 11:06:16 +01:00
732e32d83e Set version to 00006 for testing 2023-12-01 10:44:03 +01:00
24dfc249ec Set version to 00005 for testing 2023-12-01 10:12:42 +01:00
1c6eea1873 Set version to 00004 for testing 2023-12-01 09:52:54 +01:00
d7bbf482c4 Set version to 1.0.15 for testing 2023-11-29 14:21:16 +01:00
e3e161d08d Set version to 1.0.14 for testing 2023-11-29 13:59:38 +01:00
1cde14926b Set version to 1.0.12 for testing 2023-11-29 13:52:47 +01:00
85bdd001fa Set version to 1.0.11 for testing 2023-11-29 13:48:41 +01:00
b909ff0205 Set version to 1.0.10 for testing 2023-11-29 13:44:44 +01:00
c10741325a Set version to 1.0.9 for testing 2023-11-29 13:41:18 +01:00
6c49b90bf7 Set version to 1.0.8 for testing 2023-11-29 13:26:30 +01:00
76c3a0b336 Set version to 1.0.7 for testing 2023-11-29 13:14:19 +01:00
93bf67135f Set version to 1.0.6 for testing 2023-11-29 13:09:47 +01:00
8b5586f600 Set version to 1.0.5 for testing 2023-11-29 13:03:31 +01:00
5ce3f483a2 Set version to 1.0.4 for testing 2023-11-29 12:55:26 +01:00
b37a620e00 Set version to 1.0.3 for testing 2023-11-29 12:48:19 +01:00
48000c8010 Set version to 1.0.2 fot testing 2023-11-29 12:04:01 +01:00
f3c8cda2f8 Set version to 1.0.1 fot testing 2023-11-29 11:39:21 +01:00
40f1468f67 set version to 00003 2023-11-29 10:23:07 +01:00
d7ac519c90 Set version to 00002 2023-11-29 09:21:09 +01:00
6d43d1255f Fix typo: 5670 -> 5760. 2023-11-28 10:26:57 +01:00
c09b626b80 Add new files (used for new templates) 2023-11-24 13:40:34 +01:00
423c7637d3 Revert version to original state: 0001 2023-11-24 09:40:38 +01:00
6ef8c3006e Remove euro sign 2023-11-24 09:34:25 +01:00
2dec7ec263 Switch back to original setting (machine-id 1000, zone 0) 2023-11-24 09:32:40 +01:00
22 changed files with 3731 additions and 65 deletions

71
etc/atb/SystemControl.ini Normal file
View File

@ -0,0 +1,71 @@
[AT_TASKS]
1\arguments=restart, atbapp
1\envs=
1\hourOfDay=4
1\id=ATBAPP_RESTART
1\program=/bin/systemctl
2\arguments=restart, apism
2\envs=
2\hourOfDay=4
2\id=APISM_RESTART
2\program=/bin/systemctl
3\arguments=start, atbupdatetool
3\envs=
3\hourOfDay=1
3\id=PTU5UPDATE
3\program=/bin/systemctl
4\id=CASHBOX_CONTENT
4\program=/opt/app/tools/atbAccountingTool
4\arguments=-q, -c
4\envs=
4\hourOfDay=23
size=4
[BACKLIGHT]
SensorMax=3500
SensorMin=0
curve=1
dimLowValue=499
dimMax=100
dimMin=20
inputBrightness=499
[COMMON]
startBacklightController=true
startMQTTController=false
startMonitoringController=false
startSuspendController=false
[MONITORING]
http_dataFormat=HTTP
http_host=127.0.0.1
http_ignoreSslErrors=on
http_port=5000
http_protocol=http
http_service=
monitoring_heartbeatInterval=60
protocol=mqtt
useDeviceId=on
useRingbuffer=on
[MQTT]
mqtt_QoS=0
mqtt_TopicDeviceType=MP
mqtt_TopicPrefix=ATB
mqtt_TopicScheme=ATB_ISMAS
mqtt_debug=on
mqtt_host=mqtt2.atb-comm.de
mqtt_password=xyz123
mqtt_port=8883
mqtt_useSsl=on
mqtt_username=testuser
[NETWORKCHECK]
PingHost=google.com
networkRestart=/sbin/ifup -a
setOOO=off
useNetworkCheck=on
[SUSPEND]
program=/home/root/system_powerdown_wakeup.sh
suspendLoopTimerValue=8

View File

@ -0,0 +1,244 @@
<?xml version="1.0" encoding="UTF-8"?>
<ATB_APP_STATES version="1.1">
<APP_STATE name="IDLE">
<!-- <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"/>
</APP_STATE>
<APP_STATE name="FREE_PARK">
<EVENT name="SELL_ENABLE" resultingState="IDLE"/>
<SCREEN name="START"/>
<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="SHORT_TERM_PARKING"/>
<SCREEN name="LICENSEPLATE_INPUT"/>
</APP_STATE>
<APP_STATE name="PAYMENT_SELECTION">
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_PAYMETHOD_1" resultingState="IDLE"/>
<EVENT name="BUTTON_PAYMETHOD_2" resultingState="CASH_PAYMENT" setPaymentType="CASH" setCashInputMode="PAY_DOWN"/>
<EVENT name="BUTTON_PAYMETHOD_3" resultingState="CARD_PAYMENT" setPaymentType="CARD"/>
<EVENT name="BUTTON_PAYMETHOD_4" resultingState="IDLE"/>
<SCREEN name="PAYMENT_SELECTION"/>
</APP_STATE>
<APP_STATE name="PARKTIME_SELECTION">
<ENTRY_TASK name="REQUEST_INITIAL_PRICE"/>
<EVENT name="BUTTON_PLUS_STEP" resultingState="PARKTIME_SELECTION_PLUS"/>
<EVENT name="BUTTON_MINUS_STEP" resultingState="PARKTIME_SELECTION_MINUS"/>
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_BACK" resultingState="LICENSEPLATE_INPUT"/>
<EVENT name="BUTTON_NEXT" resultingState="PAYMENT_SELECTION"/>
<SCREEN name="PARKTIME_SELECTION"/>
</APP_STATE>
<APP_STATE name="PARKTIME_SELECTION_PLUS">
<ENTRY_TASK name="REQUEST_STEP_UP_PRICE"/>
<EVENT name="BUTTON_PLUS_STEP" resultingState="PARKTIME_SELECTION_PLUS"/>
<EVENT name="BUTTON_MINUS_STEP" resultingState="PARKTIME_SELECTION_MINUS"/>
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_BACK" resultingState="LICENSEPLATE_INPUT"/>
<EVENT name="BUTTON_NEXT" resultingState="PAYMENT_SELECTION"/>
</APP_STATE>
<APP_STATE name="PARKTIME_SELECTION_MINUS">
<ENTRY_TASK name="REQUEST_STEP_DOWN_PRICE"/>
<EVENT name="BUTTON_PLUS_STEP" resultingState="PARKTIME_SELECTION_PLUS"/>
<EVENT name="BUTTON_MINUS_STEP" resultingState="PARKTIME_SELECTION_MINUS"/>
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_BACK" resultingState="LICENSEPLATE_INPUT"/>
<EVENT name="BUTTON_NEXT" resultingState="PAYMENT_SELECTION"/>
</APP_STATE>
<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="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"/>
</APP_STATE>
<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="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"/>
</APP_STATE>
<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="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"/>
</APP_STATE>
<APP_STATE name="CASH_PAYMENT_ERROR">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CASH_PAYMENT_FAILED" note="screennumber 0x39"/>
</APP_STATE>
<APP_STATE name="CASH_OVERPAYED">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CASH_CHANGE_OVERPAID" note="screennumber 0x8a"/>
</APP_STATE>
<APP_STATE name="CASH_PAYMENT_ABORT">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
</APP_STATE>
<!--
<APP_STATE name="PRINT_TICKET_WAIT">
<ENTRY_TASK name="TIMER" timeout="2000"/>
<EVENT name="TIMEOUT" resultingState="PRINT_TICKET"/>
<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"/>
<EVENT name="PRINT_TICKET_ERROR" resultingState="PRINT_TICKET_FAILED"/>
<SCREEN name="SCREEN_WAITFOR"/>
</APP_STATE>
<APP_STATE name="PRINT_TICKET_CARD">
<ENTRY_TASK name="REQUEST_PRINT_TICKET"/>
<EVENT name="PRINT_TICKET_FINISHED" resultingState="CARD_PAYMENT_CONFIRM"/>
<EVENT name="PRINT_TICKET_ERROR" resultingState="PRINT_TICKET_FAILED"/>
<SCREEN name="SCREEN_WAITFOR"/>
</APP_STATE>
<APP_STATE name="PRINT_TICKET_FAILED">
<ENTRY_TASK name="REQUEST_CC_CANCEL_TRANSACTION"/>
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="PRINT_TICKET_FAILED"/>
</APP_STATE>
<APP_STATE name="CARD_PAYMENT_CONFIRM">
<ENTRY_TASK name="REQUEST_CC_CONFIRM_TRANSACTION"/>
<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: handle changer Error -->
<!-- no screen change here -->
</APP_STATE>
<APP_STATE name="GIVE_CHANGE">
<EVENT name="RECEIVED_CASH_PAYMENT_FINISHED" resultingState="GOODBYE_PAYMENT_OK"/>
<SCREEN name="SCREEN_CHANGE"/>
</APP_STATE>
<APP_STATE name="GOODBYE_PAYMENT_OK">
<ENTRY_TASK name="REQUEST_ISMAS_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="2000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="GOODBYE_3" note="green_hook"/>
</APP_STATE>
<APP_STATE name="CC_PAYMENT_ERROR">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CC_PAYMENT_ERROR"/>
</APP_STATE>
<APP_STATE name="USER_CC_ABORT">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="REQUEST_CC_CANCEL_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="USER_ABORT"/>
</APP_STATE>
<!-- ************** ABORT STATES ************** -->
<APP_STATE name="ABORT_NOCONNECTION">
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_2"/>
</APP_STATE>
<APP_STATE name="ABORT_NOCARD">
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_4"/>
</APP_STATE>
<APP_STATE name="ABORT_CARD_DENIED">
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_5"/>
</APP_STATE>
<APP_STATE name="ABORT_NOT_ALLOWED">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_6"/>
</APP_STATE>
</ATB_APP_STATES>

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,14 @@
{
"title":"DC2C_cash ",
"project":"Schoenau",
"version":"15.10.2023 14:55 02.00.06",
"CoinDenom(15..0)":[200,100,50,0,0,0,0,0,0,255,200,100,50,20,10,5],
"CoinValue(15..0)":[0,380,0,0,0,0,0,0,0,3,200,100,50,20,10,5],
"CoinAccept(15..0)":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"CoinDenom(15..0)":[0,0,0,0,0,0,0,0,0,255,200,100,50,20,10,5],
"CoinValue(15..0)":[0,0,0,0,0,0,0,0,0,3,200,100,50,20,10,5],
"CoinAccept(15..0)":[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0],
"ExchangeRate":1,
"TokenChannel":6,
"BillValues(15..0)":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
"BillAccept(15..0)":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
"BillValues(15..0)":[0,0,0,0,0,0,0,0,0,0,0,0,5000,2000,1000,500],
"BillAccept(15..0)":[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1],
"LocalTaxRate":19,
"ForeignTaxRate":0,
"Surcharge":0,

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

@ -1,12 +1,12 @@
{
"title":"DC2C_config",
"project":"Schoenau",
"version":"15.11.2023 00001",
"Title":"DC2C_config",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"custNum":332,
"machNum":1004,
"borough":0,
"machNum":99,
"borough":101,
"zone":1,
"alias":0,
"location":"Vorplatz 1"
"location":"Atb Buero Gerhardt"
}

View File

@ -1,12 +1,12 @@
{
"title":"DC2C_device",
"project":"Schoenau",
"Version":"15.11.2023 00102",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"printer":1,
"coinChk":3,
"mifRd":1,
"solarPwr":0,
"modem":0,
"modem":1,
"creditCard":1,
"escrow":0,
"RejMotor":0,
@ -23,5 +23,9 @@
"BattWarn":11800,
"BattErr":11200,
"foreign":1,
"refPrint":1
"refundPrint":1,
"billWarnLev":300,
"billFullLev":380,
"housing":1
}

View File

@ -1,7 +1,7 @@
{
"title":"DC2C_pri01",
"project":"Schoenau",
"Version":"15.11.2023 00003",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",

View File

@ -1,8 +1,7 @@
{
"title":"DC2C_pri02",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"issued":"13.11.2023 01.01",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"text":"Standort: ",
"feed":"nl",
"vari":"location",
@ -10,7 +9,6 @@
"text":"Bezahlt: ",
"styl":"size 11",
"vari":"Dynamic07",
"text":"€",
"feed":"nl",
"styl":"size 00",
"text":"Gedruckt am: ",

View File

@ -1,7 +1,7 @@
{
"title":"DC2C_pri03",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"feed":"nl",
"styl":"size 00",
"text":"Automat: ",
@ -14,11 +14,16 @@
"text":"Ort: ",
"vari":"location",
"styl":"align c",
"text":"Schönau am Königsee",
"text":"Schönau am Königssee",
"feed":"nl",
"text":"Ticket-Nr. ",
"vari":"TickCtr",
"feed":"nl",
"text":"Automatentechnik ",
"feed":"nl",
"text":"Baumann GmbH",
"feed":"nl",
"feed":"nl",
"feed":"eject"
}

View File

@ -1,6 +1,6 @@
{
"title":"DC2C_pri04",
"project":"Schoenau",
"Version":"15.11.2023 01.01",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"text":"";
}

View File

@ -0,0 +1,46 @@
{
"title":"DC2C_pri05",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",
"feed":"margin02",
"feed":"rim02",
"text":"PARKTICKET",
"styl":"size 00",
"feed":"nl",
"text":"Bitte gut sichtbar",
"feed":"nl",
"text":"hinter die Scheibe",
"feed":"nl",
"text":"legen",
"feed":"nl",
"feed":"nl",
"styl":"align l",
"text":"Ihr Kennzeichen: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic01",
"styl":"size 00",
"feed":"nl",
"text":"Parkende: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic04",
"vari":"Dynamic03",
"styl":"size 00",
"feed":"nl"
}

View File

@ -0,0 +1,31 @@
{
"title":"DC2C_pri06",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"text":"Standort: ",
"feed":"nl",
"vari":"location",
"feed":"nl",
"text":"Bezahlt: ",
"styl":"size 11",
"vari":"Dynamic07",
"feed":"nl",
"styl":"size 00",
"text":"Gedruckt am: ",
"vari":"wday deu short",
"vari":"date ge",
"vari":"time long"
}

View File

@ -0,0 +1,40 @@
{
"title":"DC2C_pri07",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"feed":"nl",
"styl":"size 00",
"text":"Automat: ",
"vari":"manu",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"feed":"nl",
"text":"Ort: ",
"vari":"location",
"styl":"align c",
"text":"Schönau am Königssee",
"feed":"nl",
"text":"Ticket-Nr. ",
"vari":"TickCtr",
"feed":"nl",
"text":"Automatentechnik ",
"feed":"nl",
"text":"Baumann GmbH",
"feed":"nl",
"feed":"nl",
"feed":"eject"
}

View File

@ -0,0 +1,6 @@
{
"title":"DC2C_pri08",
"Project":"Schoenau",
"Version":"6.7.1-2024-06-17",
"text":"";
}

View File

@ -1,7 +1,7 @@
{
"title":"DC2C_pri31",
"project":"door close print",
"Version":"15.11.2023 00001",
"Project":"door close print",
"Version":"6.7.1-2024-06-17",
"styl":"font 08",
"styl":"size 10",
"feed":"margin02",

View File

@ -1,7 +1,7 @@
{
"title":"DC2C_pri32",
"project":"refund reciept",
"Version":"15.11.2023 00001",
"Project":"refund reciept",
"Version":"6.7.1-2024-06-17",
"styl":"font 08",
"styl":"size 10",
"feed":"margin02",

View File

@ -1,7 +1,7 @@
{
"Project" : "Schoenau",
"Version" : "1.0.0",
"Info" : "",
"Version" : "1.2.0",
"Info" : "<<Tariff for Zone 1>>",
"Currency": [
{
"pcu_id": 1,
@ -38,7 +38,7 @@
"pop_day_night_end_time": "15:20:00",
"pop_price_night": 0,
"pop_min_time": 60,
"pop_max_time": 10080,
"pop_max_time": 14400,
"pop_min_price": 300,
"pop_carry_over": 1,
"pop_daily_card_price": 0,
@ -59,37 +59,52 @@
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 5,
"pra_price": 800
"pra_price": 900
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 7,
"pra_price": 1600
"pra_price": 1800
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 8,
"pra_price": 2400
"pra_price": 2700
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 9,
"pra_price": 3200
"pra_price": 3600
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 10,
"pra_price": 4000
"pra_price": 4500
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 11,
"pra_price": 4800
"pra_price": 5400
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 12,
"pra_price": 5600
"pra_price": 6300
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 13,
"pra_price": 7200
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 14,
"pra_price": 8100
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 15,
"pra_price": 9000
}
],
"Duration": [
@ -126,7 +141,7 @@
{
"pun_id": 9,
"pun_label": "96h",
"pun_duration": 5670
"pun_duration": 5760
},
{
"pun_id": 10,
@ -142,6 +157,21 @@
"pun_id": 12,
"pun_label": "168h",
"pun_duration": 10080
},
{
"pun_id": 13,
"pun_label": "192h",
"pun_duration": 11520
},
{
"pun_id": 14,
"pun_label": "216h",
"pun_duration": 12960
},
{
"pun_id": 15,
"pun_label": "240h",
"pun_duration": 14400
}
]
}

View File

@ -1,7 +1,7 @@
{
"Project" : "Schoenau",
"Version" : "1.0.0",
"Info" : "",
"Version" : "1.2.0",
"Info" : "<<<Tariff for zone 2>>>",
"Currency": [
{
"pcu_id": 1,
@ -38,28 +38,73 @@
"pop_day_night_end_time": "15:07:00",
"pop_price_night": 0,
"pop_min_time": 60,
"pop_max_time": 1440,
"pop_min_price": 200,
"pop_max_time": 14400,
"pop_min_price": 300,
"pop_carry_over": 1,
"pop_daily_card_price": 0,
"pop_multi_hour_price": 5
"pop_multi_hour_price": 8
}
],
"PaymentRate": [
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 1,
"pra_price": 200
"pra_price": 300
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 6,
"pra_price": 400
"pra_price": 500
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 5,
"pra_price": 500
"pra_price": 600
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 7,
"pra_price": 1200
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 8,
"pra_price": 1800
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 9,
"pra_price": 2400
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 10,
"pra_price": 3000
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 11,
"pra_price": 3600
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 12,
"pra_price": 4200
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 13,
"pra_price": 4800
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 14,
"pra_price": 5400
},
{
"pra_payment_option_id": 1100,
"pra_payment_unit_id": 15,
"pra_price": 6000
}
],
"Duration": [
@ -96,7 +141,7 @@
{
"pun_id": 9,
"pun_label": "96h",
"pun_duration": 5670
"pun_duration": 5760
},
{
"pun_id": 10,
@ -112,6 +157,21 @@
"pun_id": 12,
"pun_label": "168h",
"pun_duration": 10080
},
{
"pun_id": 13,
"pun_label": "192h",
"pun_duration": 11520
},
{
"pun_id": 14,
"pun_label": "216h",
"pun_duration": 12960
},
{
"pun_id": 15,
"pun_label": "240h",
"pun_duration": 14400
}
]
}

View File

@ -96,7 +96,7 @@
{
"pun_id": 9,
"pun_label": "96h",
"pun_duration": 5670
"pun_duration": 5760
},
{
"pun_id": 10,

View File

@ -0,0 +1,82 @@
{
"Project" : "Schoenau",
"Version" : "1.3.0",
"Info" : "<<Tariff for Zone 4>> (Bus)",
"Currency": [
{
"pcu_id": 1,
"pcu_sign": "€",
"pcu_major": "Euro",
"pcu_minor": "Cent",
"pcu_active": true
}
],
"PaymentMethod": [
{
"pme_id": 1,
"pme_label": "progressive"
},
{
"pme_id": 2,
"pme_label": "degressive"
},
{
"pme_id": 3,
"pme_label": "linear"
},
{
"pme_id": 4,
"pme_label": "steps"
}
],
"PaymentOption": [
{
"pop_id": 1099,
"pop_label": "Zone 4",
"pop_payment_method_id": 4,
"pop_day_end_time": "15:20:00",
"pop_day_night_end_time": "15:20:00",
"pop_price_night": 0,
"pop_min_time": 60,
"pop_max_time": 1440,
"pop_min_price": 500,
"pop_carry_over": 1,
"pop_daily_card_price": 0,
"pop_multi_hour_price": 8
}
],
"PaymentRate": [
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 1,
"pra_price": 1000
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 6,
"pra_price": 2000
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 5,
"pra_price": 2500
}
],
"Duration": [
{
"pun_id": 1,
"pun_label": "1h",
"pun_duration": 60
},
{
"pun_id": 5,
"pun_label": "24h",
"pun_duration": 1440
},
{
"pun_id": 6,
"pun_label": "5h",
"pun_duration": 300
}
]
}

View File

@ -0,0 +1,177 @@
{
"Project" : "Schoenau",
"Version" : "1.2.1",
"Info" : "<<Tariff for Zone 1>>",
"Currency": [
{
"pcu_id": 1,
"pcu_sign": "€",
"pcu_major": "Euro",
"pcu_minor": "Cent",
"pcu_active": true
}
],
"PaymentMethod": [
{
"pme_id": 1,
"pme_label": "progressive"
},
{
"pme_id": 2,
"pme_label": "degressive"
},
{
"pme_id": 3,
"pme_label": "linear"
},
{
"pme_id": 4,
"pme_label": "steps"
}
],
"PaymentOption": [
{
"pop_id": 1099,
"pop_label": "Zone 1",
"pop_payment_method_id": 4,
"pop_day_end_time": "15:20:00",
"pop_day_night_end_time": "15:20:00",
"pop_price_night": 0,
"pop_min_time": 60,
"pop_max_time": 14400,
"pop_min_price": 300,
"pop_carry_over": 1,
"pop_daily_card_price": 0,
"pop_multi_hour_price": 8
}
],
"PaymentRate": [
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 1,
"pra_price": 300
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 6,
"pra_price": 700
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 5,
"pra_price": 900
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 7,
"pra_price": 1800
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 8,
"pra_price": 2700
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 9,
"pra_price": 3600
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 10,
"pra_price": 4500
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 11,
"pra_price": 5400
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 12,
"pra_price": 6300
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 13,
"pra_price": 7200
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 14,
"pra_price": 8100
},
{
"pra_payment_option_id": 1099,
"pra_payment_unit_id": 15,
"pra_price": 9000
}
],
"Duration": [
{
"pun_id": 1,
"pun_label": "1h",
"pun_duration": 60
},
{
"pun_id": 3,
"pun_label": "15 min",
"pun_duration": 15
},
{
"pun_id": 5,
"pun_label": "24h",
"pun_duration": 1440
},
{
"pun_id": 6,
"pun_label": "3h",
"pun_duration": 180
},
{
"pun_id": 7,
"pun_label": "48h",
"pun_duration": 2880
},
{
"pun_id": 8,
"pun_label": "72h",
"pun_duration": 4320
},
{
"pun_id": 9,
"pun_label": "96h",
"pun_duration": 5760
},
{
"pun_id": 10,
"pun_label": "120h",
"pun_duration": 7200
},
{
"pun_id": 11,
"pun_label": "144h",
"pun_duration": 8640
},
{
"pun_id": 12,
"pun_label": "168h",
"pun_duration": 10080
},
{
"pun_id": 13,
"pun_label": "192h",
"pun_duration": 11520
},
{
"pun_id": 14,
"pun_label": "216h",
"pun_duration": 12960
},
{
"pun_id": 15,
"pun_label": "240h",
"pun_duration": 14400
}
]
}

View File

@ -4,17 +4,13 @@
# opkg-commands added to this file will be executed by ATBUpdateTool.
###############################################################################
#
opkg info atbqt
opkg info atbupdatetool
opkg update
opkg install prepare-update
opkg install atbupdatetool
# opkg remove atb-accountingtool
# opkg install atb-accountingtool
opkg --cache /var/cache/opkg --download-only upgrade
opkg --cache /var/cache/opkg upgrade
# opkg remove apism
# opkg install apism
opkg info apism
opkg info atbqt
opkg info atbupdatetool
#
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