4271c0fb31Fixed compute_next_timestep() for degressive tariff: compute_next_timestep() was actually never called for such a tariff.Gerhard Hoffmann2024-08-02 10:50:25 +02:00
4bce854d77GetDurationFromCost(): Set durationInSecs in case 'pop_accumulate_prices' is not configured in tariff file.Gerhard Hoffmann2024-08-01 16:44:06 +02:00
138221759bGetDurationFromCost(): Minor: removed some debug ouputGerhard Hoffmann2024-08-01 16:43:19 +02:00
9cb7d4aea6compute_price_for_parking_ticket(): Added handling for prepaid and carry-over.Gerhard Hoffmann2024-08-01 16:04:57 +02:00
cde490bab2compute_next_time_step(): Added handling with pop_plus_steps/pop_minus_steps: '+' usually takes more than one time step. '-' is usually 1.Gerhard Hoffmann2024-08-01 16:00:10 +02:00
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-31 08:06:45 +02:00
e4cb992aaeGetTimeSteps() for payment-method degressive. introduced for Valser Alm (location: Fane).Gerhard Hoffmann2024-07-30 15:39:55 +02:00
589d89b73aCalculator::GetDurationFromCost(): Compute duration from cost for PaymentMethod::Degressive: introduced for Valser Alm (location: Fane).Gerhard Hoffmann2024-07-30 15:37:28 +02:00
7536f89d75compute_duration_for_parking_ticket(): read prepaid-setting from tariff-file, if possible.Gerhard Hoffmann2024-07-30 15:32:58 +02:00
9a6b2b195dget_minimal_parking_price(): compute this price dynamically according to settings in the tariff-file. Introduced for Fuchs (500) for Valser Alm (Location: Fane)Gerhard Hoffmann2024-07-30 15:29:47 +02:00
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-30 10:02:57 +02:00
3cd02296b0compute_duration_for_parking_ticket(): Fix: pass PERMIT_TYPE explicitly to correct arity of GetDurationFromCost().Gerhard Hoffmann2024-07-29 11:25:12 +02:00
f1493f417fget_maximal_parkingprice(): implement for SHORT_TERM_PARKING_BUS and SHORT_TERM_PARKING_PKW.Gerhard Hoffmann2024-07-29 11:24:05 +02:00
356e3be178Pass PERMIT_TYPE to get_minimal_parkingtime() and get_maximal_parkingtime() to override default parameter value.Gerhard Hoffmann2024-07-29 11:22:22 +02:00
31b1dd1690ResetTimeSteps(): Check paymentOptionIndex for correct value.Gerhard Hoffmann2024-07-29 11:20:00 +02:00
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 17:35:38 +02:00
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 17:05:45 +02:00
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 13:35:56 +02:00
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 13:12:56 +02:00
8dad8f00e8GetPriceForTimeStep(): Fix: user default payment optionGerhard Hoffmann2024-07-26 13:11:29 +02:00
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 13:01:17 +02:00
805a732c52GetPriceForTimeStep(): add prices for computed timesteps. Return maximal price which is still smaller or equal then (input-)price.Gerhard Hoffmann2024-07-26 12:53:42 +02:00
2b30e9562fRecompute time step list (previously is was saved as an optimization)Gerhard Hoffmann2024-07-23 12:51:08 +02:00
eb4ef0c3b5Allow adjustment of the step list by a tolerance of 5 minutes per stepGerhard Hoffmann2024-07-23 12:48:50 +02:00
da05d004ddIntroduced 'pun_duration_saved': to be used when time steps have to be re-calculated.Gerhard Hoffmann2024-07-23 12:46:44 +02:00
abf4ef0b00GetPriceForTimeStep(): Use special flag 'pop_accumulate_prices' to add up prices given in the tariff json file.Gerhard Hoffmann2024-07-23 11:53:22 +02:00
69edc8e898compute_product_price(): add new Products (CAR, BUS, CAMPER).Gerhard Hoffmann2024-07-23 11:45:34 +02:00
40440e28d3Read pop_accumulate_prices and pop_accumulate_durations.Gerhard Hoffmann2024-07-22 15:56:04 +02:00
ba8e2786fcGetTimeSteps(): updated as well for Schnals (505). Still to be tested.Gerhard Hoffmann2024-07-22 15:54:36 +02:00
b5804408f4GetDurationFromCost(): expanded. still to be tested.Gerhard Hoffmann2024-07-22 15:53:27 +02:00
f7be0e471agetDurationFromCost(): call Calculator::GetInstance().GetTimeSteps(cfg, 0, inputDate); for its side-effects. Timesteps will be used in the following calculation.Gerhard Hoffmann2024-07-22 15:50:36 +02:00
45694106a7GetTimeSteps(): added default parameter 'start'; was set inside the funtion.Gerhard Hoffmann2024-07-22 15:48:21 +02:00
6d125c65feAdded flags pop_accumulate_prices pop_accumulate_durations to decide if values in json files should be accumulated or not.Gerhard Hoffmann2024-07-22 15:46:45 +02:00