3cd02296b0compute_duration_for_parking_ticket(): Fix: pass PERMIT_TYPE explicitly to correct arity of GetDurationFromCost().Gerhard Hoffmann2024-07-29 11:25:12 +0200
f1493f417fget_maximal_parkingprice(): implement for SHORT_TERM_PARKING_BUS and SHORT_TERM_PARKING_PKW.Gerhard Hoffmann2024-07-29 11:24:05 +0200
356e3be178Pass PERMIT_TYPE to get_minimal_parkingtime() and get_maximal_parkingtime() to override default parameter value.Gerhard Hoffmann2024-07-29 11:22:22 +0200
31b1dd1690ResetTimeSteps(): Check paymentOptionIndex for correct value.Gerhard Hoffmann2024-07-29 11:20:00 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 17:35:38 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 17:05:45 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 13:35:56 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 13:12:56 +0200
8dad8f00e8GetPriceForTimeStep(): Fix: user default payment optionGerhard Hoffmann2024-07-26 13:11:29 +0200
Merge branch 'kleipeda-experimental' of /home/siegert/atbfs01entwicklung/Elektronik/PTU/git_bare_repos/libmobilisis-calc into kleipeda-experimentalSiegfried Siegert2024-07-26 13:01:17 +0200
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 +0200
2b30e9562fRecompute time step list (previously is was saved as an optimization)Gerhard Hoffmann2024-07-23 12:51:08 +0200
eb4ef0c3b5Allow adjustment of the step list by a tolerance of 5 minutes per stepGerhard Hoffmann2024-07-23 12:48:50 +0200
da05d004ddIntroduced 'pun_duration_saved': to be used when time steps have to be re-calculated.Gerhard Hoffmann2024-07-23 12:46:44 +0200
abf4ef0b00GetPriceForTimeStep(): Use special flag 'pop_accumulate_prices' to add up prices given in the tariff json file.Gerhard Hoffmann2024-07-23 11:53:22 +0200
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 +0200
45694106a7GetTimeSteps(): added default parameter 'start'; was set inside the funtion.Gerhard Hoffmann2024-07-22 15:48:21 +0200
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 +0200
6b88213644GetTimeSteps(): return step-list as reference; return only a non-empty step-list.Gerhard Hoffmann2024-07-13 13:57:07 +0200
dda04434fcAllow some tolerance when looking for a match for the first time-stepGerhard Hoffmann2024-07-13 13:55:24 +0200
a7f3477752GetTimeSteps(): changed return type, so comoute_next_timestep() can change the first element of step-listGerhard Hoffmann2024-07-13 13:53:53 +0200
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 +0200
57ccbc150acompute_duration_for_parking_ticket(): set calcState according to string returned from tariff calculation.Gerhard Hoffmann2024-06-05 17:03:33 +0200
2dc93271fdAdded WORKING_DAYS_WITH_RESTRICTED_HOURS (introduced for Neuhauder/Stockerau/748)Gerhard Hoffmann2024-06-05 16:52:54 +0200
5be5798681Declared iterator-arguments as const-references to get rid of compiler warning: parameter passing for argument multi_map changed in gcc7.1
2.2.1
Gerhard Hoffmann2024-06-04 11:48:50 +0200
bdaea1106cFix: read price for daily ticket directly from entry PaymentOptions in tariff-file if it is not given as part of a Json-Product-Array in tariff-file.Gerhard Hoffmann2024-06-04 11:24:15 +0200
64b2b4bd85Fix: Handle case if "pop_carry_over_start_time_range" and "pop_carry_over_end_time_range" is not given in tariff file.Gerhard Hoffmann2024-06-04 11:19:39 +0200
8737508839Minor: add case for PERMIT_TYPE::TWENTY_FOUR_HOURS_TICKET (TODO).Gerhard Hoffmann2024-06-04 11:18:47 +0200
38964ad9a8get_minimal_parkingprice(): for PERMIT_TYPE::DAY_TICKET call compute_product_price(cfg, permitType, start) to get minimal price dependent on 'start' datetime.Gerhard Hoffmann2024-05-15 15:21:38 +0200
d3f18f3b82get_minimal_parkingprice(): add default parameter 'start', set to value of QDateTime::currentDateTime();Gerhard Hoffmann2024-05-15 15:19:47 +0200