From bc56340a9098bb72955607dfb4dd80daf1ae1812 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 4 Jun 2024 12:46:18 +0200 Subject: [PATCH] Start project. --- etc/psa_tariff/tariff01.json | 176 +++++++++++++++++++++++++++++++++++ etc/psa_update/opkg_commands | 11 +++ 2 files changed, 187 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..965becd --- /dev/null +++ b/etc/psa_tariff/tariff01.json @@ -0,0 +1,176 @@ +{ + "Project" : "Stockerau", + "Version" : "1.0.0", + "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": 360, + "pop_max_time": 7440, + "pop_min_price": 600, + "pop_max_price": 4000, + "pop_carry_over": 1, + "pop_daily_card_price": 0, + "pop_business_hours": 32512, + "comment_pop_business_hours": "0x7F00 -> MON-SUN" + } + ], + "PaymentRate": [ + { + "pra_payment_option_id": 1099, + "pra_payment_unit_id": 1, + "pra_price": 600 + }, + { + "pra_payment_option_id": 1099, + "pra_payment_unit_id": 2, + "pra_price": 700 + }, + { + "pra_payment_option_id": 1099, + "pra_payment_unit_id": 3, + "pra_price": 800 + }, + { + "pra_payment_option_id": 1099, + "pra_payment_unit_id": 4, + "pra_price": 1600 + }, + { + "pra_payment_option_id": 1099, + "pra_payment_unit_id": 5, + "pra_price": 2400 + }, + { + "pra_payment_option_id": 1099, + "pra_payment_unit_id": 6, + "pra_price": 3200 + }, + { + "pra_payment_option_id": 1099, + "pra_payment_unit_id": 7, + "pra_price": 4000 + } + ], + "Duration": [ + { + "pun_id": 1, + "pun_label": "360 min", + "pun_duration": 360 + }, + { + "pun_id": 2, + "pun_label": "420 min", + "pun_duration": 420 + }, + { + "pun_id": 3, + "pun_label": "24h", + "pun_duration": 1440 + }, + { + "pun_id": 4, + "pun_label": "48h", + "pun_duration": 2880 + }, + { + "pun_id": 5, + "pun_label": "72h", + "pun_duration": 4320 + }, + { + "pun_id": 6, + "pun_label": "90h", + "pun_duration": 5400 + }, + { + "pun_id": 7, + "pun_label": "124h", + "pun_duration": 7440 + } + ], + "WeekDaysWorktime": [ + { + "pwd_id": 621, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 1, + "pwd_time_from": "00:00:00", + "pwd_time_to": "23:59:00" + }, + { + "pwd_id": 622, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 2, + "pwd_time_from": "00:00:00", + "pwd_time_to": "23:59:00" + }, + { + "pwd_id": 623, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 3, + "pwd_time_from": "00:00:00", + "pwd_time_to": "23:59:00" + }, + { + "pwd_id": 624, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 4, + "pwd_time_from": "00:00:00", + "pwd_time_to": "23:59:00" + }, + { + "pwd_id": 625, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 5, + "pwd_time_from": "00:00:00", + "pwd_time_to": "23:59:00" + }, + { + "pwd_id": 626, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 6, + "pwd_time_from": "00:00:00", + "pwd_time_to": "23:59:00" + }, + { + "pwd_id": 626, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 7, + "pwd_time_from": "00:00:00", + "pwd_time_to": "23:59:00" + } + ] +} + diff --git a/etc/psa_update/opkg_commands b/etc/psa_update/opkg_commands new file mode 100755 index 0000000..3651cda --- /dev/null +++ b/etc/psa_update/opkg_commands @@ -0,0 +1,11 @@ +############################################################################### +# !!! NOTE !!! +############################################################################### +# opkg-commands added to this file will be executed by ATBUpdateTool. +############################################################################### +# +opkg update +#opkg install --force-downgrade https://firmware.ptu5.atb-comm.de/testing/00700/atb-plugin-calculateprice-mobilisis_1.5.0+git0+034adf9096-r1-00700_cortexa9t2hf-neon.ipk +#opkg install --force-downgrade https://firmware.ptu5.atb-comm.de/testing/00700/libmobilisis-calc2_2.1.99+git0+c7623429d9-r0-00700_cortexa9t2hf-neon.ipk + +