From 6d125c65fe0502afa1194f4a135d04691ba08820 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Mon, 22 Jul 2024 15:46:45 +0200 Subject: [PATCH] Added flags pop_accumulate_prices pop_accumulate_durations to decide if values in json files should be accumulated or not. --- library/include/mobilisis/payment_opt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/include/mobilisis/payment_opt.h b/library/include/mobilisis/payment_opt.h index 8c40dc1..ed74f23 100644 --- a/library/include/mobilisis/payment_opt.h +++ b/library/include/mobilisis/payment_opt.h @@ -27,6 +27,8 @@ public: pop_carry_over_option_id = -1; pop_prepaid_option_id = -1; pop_truncate_last_interpolation_step = false; + pop_accumulate_prices = false; + pop_accumulate_durations = false; pop_carry_over_target = false; pop_carry_over_time_range_id = -1; pop_carry_over_start_time_range = -1; @@ -57,6 +59,8 @@ public: int pop_daily_card_price; uint64_t pop_business_hours; int pop_time_step_config; + bool pop_accumulate_prices; + bool pop_accumulate_durations; struct ATBMaxDateTime { int direction;