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
6b88213644GetTimeSteps(): return step-list as reference; return only a non-empty step-list.Gerhard Hoffmann2024-07-13 13:57:07 +02:00
dda04434fcAllow some tolerance when looking for a match for the first time-stepGerhard Hoffmann2024-07-13 13:55:24 +02:00
a7f3477752GetTimeSteps(): changed return type, so comoute_next_timestep() can change the first element of step-listGerhard Hoffmann2024-07-13 13:53:53 +02:00
48fccafe76Fix: GetDurationFromCost() -> set inputDate if next valid working time-range in on another day and break the loop iterating through next days.
stockerau
2.3.0
Gerhard Hoffmann2024-06-06 14:04:04 +02:00
57ccbc150acompute_duration_for_parking_ticket(): set calcState according to string returned from tariff calculation.Gerhard Hoffmann2024-06-05 17:03:33 +02:00