|
9a6b2b195d
|
get_minimal_parking_price(): compute this price dynamically according to settings
in the tariff-file. Introduced for Fuchs (500) for Valser Alm (Location: Fane)
|
2024-07-30 15:29:47 +02:00 |
|
|
894e23332f
|
compute option index using permit type.
|
2024-07-29 17:32:15 +02:00 |
|
|
fbc255a6f2
|
Fix: compute_next_time_step(): removed check for product ids.
|
2024-07-29 17:31:33 +02:00 |
|
|
3cd02296b0
|
compute_duration_for_parking_ticket():
Fix: pass PERMIT_TYPE explicitly to correct arity of GetDurationFromCost().
|
2024-07-29 11:25:12 +02:00 |
|
|
f1493f417f
|
get_maximal_parkingprice():
implement for SHORT_TERM_PARKING_BUS and SHORT_TERM_PARKING_PKW.
|
2024-07-29 11:24:05 +02:00 |
|
|
356e3be178
|
Pass PERMIT_TYPE to get_minimal_parkingtime() and get_maximal_parkingtime()
to override default parameter value.
|
2024-07-29 11:22:22 +02:00 |
|
|
b84f80887e
|
Checkin for testing
|
2024-07-26 17:01:44 +02:00 |
|
|
b7facb9d60
|
checkin for tariff02.json
|
2024-07-26 10:59:45 +02:00 |
|
|
b0ecef0361
|
Use of permitType in several places
|
2024-07-25 09:48:12 +02:00 |
|
|
b19cfd693c
|
Minor: add some debug output.
|
2024-07-24 12:34:05 +02:00 |
|
|
eb4ef0c3b5
|
Allow adjustment of the step list by a tolerance of 5 minutes per step
|
2024-07-23 12:48:50 +02:00 |
|
|
49fb860129
|
Minor: fixed printing of 'cost'.
|
2024-07-23 11:47:48 +02:00 |
|
|
69edc8e898
|
compute_product_price(): add new Products (CAR, BUS, CAMPER).
|
2024-07-23 11:45:34 +02:00 |
|
|
c153652b3d
|
compute_next_timestep(): allow some tolerance for first time-step
|
2024-07-16 16:50:11 +02:00 |
|
|
57ccbc150a
|
compute_duration_for_parking_ticket(): set calcState according to string
returned from tariff calculation.
|
2024-06-05 17:03:33 +02:00 |
|
|
8fa4335669
|
Minor: fixed typo.
|
2024-06-05 17:03:10 +02:00 |
|
|
6fb4d245cb
|
Added CalcState &setStatus(QString const &desc);
|
2024-06-05 16:58:12 +02:00 |
|
|
bdaea1106c
|
Fix: 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.
|
2024-06-04 11:24:15 +02:00 |
|
|
bc17213597
|
Minor: Add/change some debug putput.
|
2024-06-04 11:23:35 +02:00 |
|
|
2d53224feb
|
Minor: add some (commented out) debug output -> used for debugging.
|
2024-05-15 15:23:12 +02:00 |
|
|
38964ad9a8
|
get_minimal_parkingprice(): for PERMIT_TYPE::DAY_TICKET
call compute_product_price(cfg, permitType, start) to get
minimal price dependent on 'start' datetime.
|
2024-05-15 15:21:38 +02:00 |
|
|
eb20410849
|
Use paymentOptionIndex in getPaymentOptions()
|
2024-05-08 16:34:07 +02:00 |
|
|
1dd81d4a56
|
get_minimal_parkingtime(): const Configuration parameter.
Cast of const pointer necessary.
get_maximal_parkingtime(): const Configuration parameter.
|
2024-04-30 14:08:08 +02:00 |
|
|
c7623429d9
|
Compute end_parking_time using "netto_parking_time", which is the
current timestep.
|
2024-04-25 15:41:52 +02:00 |
|
|
1852f552a3
|
compute_price_for_parking_ticket(): compute paymentOptionIndex.
(a tariff-file can conatin more than one payment options).
|
2024-04-19 13:28:35 +02:00 |
|
|
b70094abb5
|
Extend compute_product_price() for use of PERMIT_TYPE::DAY_TICKET.
First time used for Neuhauder-Pernegg-an-der-Mur.
|
2024-04-16 12:10:34 +02:00 |
|
|
4e7fa83507
|
get_minimal_parkingtime()
get_maximal_parkingtime()
get_minimal_parkingprice()
get_maximal_parkingprice():
use new parameter paymentOptionIndex.
|
2024-04-12 14:27:08 +02:00 |
|
|
aba38d2614
|
compute_price_for_parking_ticket(): add handling for PaymentMethod::Steps.
|
2024-04-08 13:58:24 +02:00 |
|
|
57d6b85f52
|
get_maximal_parking_price(): add handling for PaymentMethod::Steps.
|
2024-04-08 13:57:40 +02:00 |
|
|
627d14204d
|
Use paymentRate.last() instead of aymentRate.at(0) so we can enter new entries
in tariff-files to provide the prices for an hour.
|
2024-03-07 08:17:32 +01:00 |
|
|
a744a1ebb3
|
compute_product_price(): add handling for FOOD_STAMP
|
2024-02-28 12:06:02 +01:00 |
|
|
8bbec596c9
|
Check for 08:00 <= currentTime <= 20:00 removed:
assumption is prepaid.
|
2024-02-28 09:58:00 +01:00 |
|
|
87b14ee3f8
|
Added check for NEUHAUSER_NORDISCHES_AUSBILDUNGSZENTRUM:
08:00 <= currentTime <= 20:00.
|
2024-02-28 09:26:51 +01:00 |
|
|
bd1bdf8a8c
|
Implement compute_procuct_price()
|
2024-02-22 16:38:41 +01:00 |
|
|
c0f81f174a
|
compute_price_for_parking_ticket(): added parameter bool prepaid. Set to true as default.
|
2024-02-22 09:42:02 +01:00 |
|
|
ce61e5d3b2
|
compute_next_timestep(): use fpr PaymentMenthod::Progressive
same code as for PaymentMethod::Steps, as GetTimeSteps() inside
the Calculator class has been adapted accordingly.
|
2024-02-21 11:11:09 +01:00 |
|
|
690267c388
|
get_maximal_parkingprice(): in case of progressive tariff, read maximal parking time
directly form tariff-file as there is not price per hour.
|
2024-02-20 15:47:02 +01:00 |
|
|
8470bdd574
|
Minor: change type of parameter 'start-parking-time' to non-const.
|
2024-02-15 16:14:21 +01:00 |
|
|
87c0f4397b
|
Remove meset for price. Rely on default-constructor.
|
2024-01-31 15:15:44 +01:00 |
|
|
4c1cd45866
|
Implemented compute_price_for_daily_ticket().
|
2024-01-30 10:41:29 +01:00 |
|
|
6bf3960349
|
Re-implemented get_minimal_parkingtime() using PERMIT_TYPE-parameter.
Implemented get_maximal_parkingtime(), get_minimal_parkingprice()
and get_maximal_parkingprice().
|
2024-01-30 10:39:24 +01:00 |
|
|
1b933c05a6
|
Remove static instance of calculator. Replaced with use of Calculator-singleton-calss.
|
2024-01-23 10:55:00 +01:00 |
|
|
179d3348b9
|
Minor: Fixed typo
|
2024-01-22 15:44:13 +01:00 |
|
|
b43fa274bd
|
Implement get_minimal_parkingtime() and get_time_steps().
|
2024-01-22 15:41:20 +01:00 |
|
|
0671a6dde6
|
Add get_time_steps().
|
2024-01-22 14:46:40 +01:00 |
|
|
d7757773bd
|
Implement get_calculator()
|
2024-01-22 14:29:02 +01:00 |
|
|
88e92dddb9
|
Fix: nextTimeStep must be between minParkingTime and maxParkingTime.
|
2023-12-11 09:00:24 +01:00 |
|
|
0f05a1a784
|
(1) Fix debug output.
(2) Use UpDown-Argument for calculation of next tiem step.
|
2023-12-08 10:16:52 +01:00 |
|
|
5598b02816
|
Make distinction base on PaymentMethod, not on some
other data contained in json-tariff-file.
|
2023-12-07 17:00:28 +01:00 |
|
|
b9a7c04db9
|
Add compute_next_timestep() computing timesteps if PaymentMethod = Steps.
Add additional code for computing time steps dynamically if PaymentMethod = Linear.
|
2023-12-07 16:28:17 +01:00 |
|