From 493b410292f7358d656776bb2a78d860fe3e15eb Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 7 May 2024 16:09:11 +0200 Subject: [PATCH] first working version for langzeit-tarif --- etc/psa_tariff/tariff05.json | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/etc/psa_tariff/tariff05.json b/etc/psa_tariff/tariff05.json index d96d2ed..fa9a2eb 100644 --- a/etc/psa_tariff/tariff05.json +++ b/etc/psa_tariff/tariff05.json @@ -34,6 +34,23 @@ "pme_label": "steps" } ], + "TimeRange" : [ + { + "time_range_id": 1, + "time_range_from": "18:00:00", + "time_range_to": "08:00:00" + }, + { + "time_range_id": 2, + "time_range_from": "08:00:00", + "time_range_to": "18:00:00" + }, + { + "time_range_id": 3, + "time_range_from": "08:00:00", + "time_range_to": "18:00:00" + } + ], "PaymentOption": [ { "pop_id": 1049, @@ -45,7 +62,11 @@ "pop_min_time": 20, "pop_max_time": 10080, "pop_min_price": 0, - "pop_carry_over": 0, + "pop_max_price": 2500, + "pop_carry_over": 1, + "pop_carry_over_time_range": 1, + "pop_carry_over_start_time_range": 2, + "pop_carry_over_end_time_range": 3, "pop_daily_card_price": 500, "pop_business_hours": 163584, "comment_1": "163584 = 0x27F00 = 10|0111|1111|0000|0000 -> all days with restricted hours"