From a7b1c6e085d59f4f1f3ee52e3cc3830c9e62004d Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Mon, 29 Jan 2024 09:55:13 +0100 Subject: [PATCH] First commit --- etc/psa_tariff/tariff01.json | 150 +++++++++++++++++++++++++++++++++++ etc/psa_update/opkg_commands | 19 +++++ 2 files changed, 169 insertions(+) create mode 100644 etc/psa_tariff/tariff01.json create mode 100755 etc/psa_update/opkg_commands diff --git a/etc/psa_tariff/tariff01.json b/etc/psa_tariff/tariff01.json new file mode 100644 index 0000000..660cd6a --- /dev/null +++ b/etc/psa_tariff/tariff01.json @@ -0,0 +1,150 @@ +{ + "Project" : "Kirchdorf", + "Version" : "1.0.0", + "Info" : "", + "Currency": [ + { + "pcu_id": 2, + "pcu_sign": "€", + "pcu_major": "EUR", + "pcu_minor": "", + "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": 1049, + "pop_label": "Zone 1", + "pop_payment_method_id": 3, + "pop_day_end_time": "00:00:00", + "pop_day_night_end_time": "00:00:00", + "pop_price_night": 0, + "pop_min_time": 30, + "pop_max_time": 90, + "pop_min_price": 30, + "pop_carry_over": 0, + "pop_daily_card_price": 0 + } + ], + "PaymentRate": [ + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 1, + "pra_price": 10 + } + ], + "Duration": [ + { + "pun_id": 1, + "pun_label": "5 min", + "pun_duration": 5 + }, + { + "pun_id": 3, + "pun_label": "15 min", + "pun_duration": 15 + }, + { + "pun_id": 4, + "pun_label": "1 min", + "pun_duration": 1 + } + ], + "WeekDaysWorktime": [ + { + "pwd_id": 621, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 1, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 621, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 1, + "pwd_time_from": "14:00:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 622, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 2, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 622, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 2, + "pwd_time_from": "14:00:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 623, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 3, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 623, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 3, + "pwd_time_from": "14:00:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 624, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 4, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 624, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 4, + "pwd_time_from": "14:00:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 625, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 5, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 625, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 5, + "pwd_time_from": "14:00:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 626, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 6, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + } + ] +} diff --git a/etc/psa_update/opkg_commands b/etc/psa_update/opkg_commands new file mode 100755 index 0000000..807f1f1 --- /dev/null +++ b/etc/psa_update/opkg_commands @@ -0,0 +1,19 @@ +############################################################################### +# !!! NOTE !!! +############################################################################### +# opkg-commands added to this file will be executed by ATBUpdateTool. +############################################################################### +# +opkg update +opkg install prepare-update +opkg install atbupdatetool +opkg install mxt-touch-reset +# 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