260973cd09
Added pop_plus_steps/pop_minus_steps to control step sizes
2024-08-01 15:44:06 +02:00
52b7c2390a
Minor: introduce using-typedef for Duration
2024-07-29 17:33:49 +02:00
24ab01695d
GetPriceForTimeStep(): remove default parameter.
2024-07-29 17:28:27 +02:00
31b1dd1690
ResetTimeSteps():
...
Check paymentOptionIndex for correct value.
2024-07-29 11:20:00 +02:00
b7facb9d60
checkin for tariff02.json
2024-07-26 10:59:45 +02:00
003b7e8e8a
getPaymentOption() functions and getPaymentOptionIndex()
2024-07-25 09:46:46 +02:00
7ef2d44fc4
Add parameter PermitType to GetCostForDuration() and GetDurationFromCost()
2024-07-25 09:45:36 +02:00
8f203184b6
Add additional parameter (PermitType) to several functions
2024-07-25 09:44:24 +02:00
7d452c82b7
Added pop_product_id and pop_product_name
2024-07-24 17:33:53 +02:00
0a08221381
Added conversion from QString to PermitType
2024-07-24 17:33:06 +02:00
da05d004dd
Introduced 'pun_duration_saved': to be used when time steps have to be re-calculated.
2024-07-23 12:46:44 +02:00
45694106a7
GetTimeSteps():
...
added default parameter 'start'; was set inside the funtion.
2024-07-22 15:48:21 +02:00
6d125c65fe
Added flags
...
pop_accumulate_prices
pop_accumulate_durations
to decide if values in json files should be accumulated or not.
2024-07-22 15:46:45 +02:00
3503306637
save experimental
2024-07-21 20:58:12 +02:00
f2356bec55
Added new products
2024-07-19 14:04:20 +02:00
2d6ef2d158
Add prepaid and carry over option
2024-07-19 14:03:46 +02:00
02927be9c9
Added interpolation, carryover and prepaid types
2024-07-19 14:02:41 +02:00
c6d396f34b
Added handling for interpolation, carry over and prepaid.
2024-07-19 14:01:27 +02:00
026c791c79
Add interpolation and operator<<
2024-07-19 14:01:00 +02:00
507b5d1b9c
Add Interpolation, Prepaid and CarryOver structures to streamline Json-File layout.
2024-07-19 13:58:22 +02:00
c3c888dc04
GetTimeSteps(): remove list as reference so compute_next_timestep)_ can change it
2024-07-16 16:46:43 +02:00
34fbefc138
save for the weekend
2024-06-07 13:33:04 +02:00
6fb4d245cb
Added CalcState &setStatus(QString const &desc);
2024-06-05 16:58:12 +02:00
2dc93271fd
Added WORKING_DAYS_WITH_RESTRICTED_HOURS (introduced for Neuhauder/Stockerau/748)
2024-06-05 16:52:54 +02:00
5be5798681
Declared iterator-arguments as const-references to get rid of compiler
...
warning: parameter passing for argument multi_map changed in gcc7.1
2024-06-04 11:48:50 +02:00
e121cef17e
Added: uint32_t getDailyTicketCardPrice(Configuration const *cfg, PaymentMethod methodId);
2024-06-04 11:26:36 +02:00
d3f18f3b82
get_minimal_parkingprice(): add default parameter 'start', set to
...
value of QDateTime::currentDateTime();
2024-05-15 15:19:47 +02:00
4d5583df2d
Handling for pop_carry_over_traget.
2024-05-07 14:59:00 +02:00
de6f263817
Add FRI/SAT/SUN with restricted hours.
2024-05-07 14:57:41 +02:00
1606a784a4
Add macro _WEEKEND_WITH_RESTRICTED_HOURS_.
2024-05-03 13:49:15 +02:00
9f2cf613e1
Add struct ATBMaxDateTime.
2024-05-03 13:48:27 +02:00
dbd9644047
Add ATBPaymentOptionType = std::multimap<int, ATBPaymentOption>
2024-05-03 13:47:28 +02:00
f93cf11d23
get_minimal_parkingtime()
...
get_maximal_parkingtime(): made configuration parameter const.
2024-04-30 14:06:04 +02:00
9d0ac4f8ce
Add TWENTY_FOUR_HOURS_TICKET. Add toString() and implement conversion
...
operators in therm of toString().
2024-04-30 13:51:31 +02:00
ed9e60a972
Declaration for getTariffProductForProductTypeName().
2024-04-30 13:45:22 +02:00
5d35331c83
Minor: introduced TariffProductType.
2024-04-30 13:44:53 +02:00
e93b08505a
Minor: introduce TimeRangeType as typedef for std::multimap<int, ATBTimeRange>.
2024-04-24 13:14:04 +02:00
e17e54b315
Minor: add define: _ALL_DAYS_WITH_RESTRICTED_HOURS_
2024-04-19 14:10:47 +02:00
0cd4424434
Add utilities
...
isDayIncluded(), SpecialDaysWorkTimeFrom() and specialDaysWorkTimeUntil().
2024-04-19 13:19:26 +02:00
1991853b66
Add new enum-values for business_hours. Keep the old ones for
...
backward-compatibility.
2024-04-19 13:18:02 +02:00
b31fcc5f4f
Minor: add explicit default constructor.
2024-04-19 13:17:00 +02:00
dbe649d0e4
Add member variables
...
pop_carry_over_start_time_range
pop_carry_over_end_time_range:
If carry-over has been set, then provide the limits
for the carry-over: at the end of day1 (start) and
at the beginning of the next day (end).
2024-04-19 13:12:46 +02:00
dfd74a455a
Add getPaymentOptionIndexIfSpecialDay().
...
Add isSpecialDay(), isSpecialDay((), specialDayId(),
specialDay(), isSpecialDay(), specialDayId(), specialDay(),
isDayIncluded(), isDayIncludedAsSpecialDay() and isDayIncludedAsSpecialDay().
2024-04-19 13:09:53 +02:00
10828e0708
Add private mathods isParkingAllowedForWeekDay() and isParkingAllowedForSpecialDay().
...
Overload isParkingAllowed().
GetCostFromDuration(): add default parameter "int paymentOptionIndex=0"
2024-04-19 13:06:37 +02:00
2dbcc7018c
start header for global defines
2024-04-19 13:04:36 +02:00
18ed85430d
Minor: first commit
2024-04-18 08:52:15 +02:00
aa15d1c126
Add default-parameters to compute_product_price():
...
start [in]: currentDateTime(): start date-time for daily-ticket-price computation.
startProduct, endProduct: real start- and end-date/time for daily-ticket.
Used first time for Neuhauser-Pernegg-an-der-Mur (747).
2024-04-16 12:07:18 +02:00
475487c2ce
Minor: add utility getProductPrice()
2024-04-16 12:03:42 +02:00
ac76f194e1
Added new constants
2024-04-12 14:26:03 +02:00
fe485b7b39
pop_business_hours as uint64_t.
2024-04-12 14:24:32 +02:00