| 
						
					 | 
					
						
						
							
						
						7bb2cbf01e
					 | 
					
						
						
							
							Add m_priceSteps, ResetPriceSteps() and priceSteps().
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:37:10 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						689bf9b3ba
					 | 
					
						
						
							
							Added compute_price_for_daily_ticket().
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:33:11 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4c07d9fdb9
					 | 
					
						
						
							
							get_minimal_parking_time() -> new PERMIT_TYPE parameter
						
						
						
						
						
						
						
						Added:
  get_maximal_parking_time()
  get_minimal_parkingprice()
  get_maximal_parkingprice(). 
						
						
							
						
					 | 
					
						2024-01-30 10:31:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1e866c74e2
					 | 
					
						
						
							
							Minot: fix alignment.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:30:11 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c39b3527e1
					 | 
					
						
						
							
							Add enum PERMIT_TYPE.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:29:25 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f8dc59532c
					 | 
					
						
						
							
							Implemented GetDailyTicketPrice().
						
						
						
						
						
						
						
						To be tested. 
						
						
							
						
					 | 
					
						2024-01-30 10:27:46 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1ea42f88ba
					 | 
					
						
						
							
							Added dummy member GetPriceSteps().
						
						
						
						
						
						
						
						To implement in a later step. 
						
						
							
						
					 | 
					
						2024-01-30 10:25:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0af858daea
					 | 
					
						
						
							
							Added multimap for Customer.
						
						
						
						
						
						
						
						Using std::optional.
Added member functions:
  QVector<ATBPaymentOption> &getAllPaymentOptions()
  QVector<ATBPaymentOption> const &getAllPaymentOptions() const
  std::optional<QVector<ATBPaymentRate>> getPaymentRateForAllKeys() const
  std::optional<QVector<ATBPaymentRate>> getPaymentRateForKey(int key) const
  std::optional<QVector<ATBDailyTicket>> getDailyTicketsForAllKeys() const
  std::optional<QVector<ATBDailyTicket>> getDailyTicketsForKey(int key) const
  std::optional<ATBCustomer> getCustomerForType(ATBCustomer::CustomerType customerType)
  std::optional<ATBWeekDaysWorktime> getWeekDayWorkTime(QTime const &time, Qt::DayOfWeek dayOfWeek)
Removed: QVector<ATBDailyTicket> const &getDailyTickets() const; 
						
						
							
						
					 | 
					
						2024-01-30 10:20:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3311537fee
					 | 
					
						
						
							
							Add reset(). Changed print-format.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:17:56 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5b8ac6cc59
					 | 
					
						
						
							
							Add AllDaysWithRestrictedHours.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:16:55 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						809df53658
					 | 
					
						
						
							
							Add reset()
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:16:16 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ea5ca54c4c
					 | 
					
						
						
							
							Add cust_id. Changed print-format.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:15:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b347b6e50e
					 | 
					
						
						
							
							Minor: add debug output
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-30 10:14:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						124fd60c41
					 | 
					
						
						
							
							Add testcases for schoenau
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-24 16:36:29 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f40ae7200b
					 | 
					
						
						
							
							GetCostFromDuration public for testing
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-24 16:35:58 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1173732172
					 | 
					
						
						
							
							removed typo
						
						
						
						
						
						
							
 2.0.2
						
					 | 
					
						2024-01-23 11:03:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1b933c05a6
					 | 
					
						
						
							
							Remove static instance of calculator. Replaced with use of Calculator-singleton-calss.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-23 10:55:00 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ac45ebb926
					 | 
					
						
						
							
							GetTimeSteps(): compute time step only once, when calling get_minimal_parkingprice().
						
						
						
						
						
						
						
						Otherwise use timeSteps-member in Calculator. 
						
						
							
						
					 | 
					
						2024-01-23 10:53:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9af39fa83f
					 | 
					
						
						
							
							Turn Calculator into a singletome and move the list of timesteps inside calculator.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-23 10:51:25 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						17ae11212a
					 | 
					
						
						
							
							Test cases
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-23 10:50:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						89b7589600
					 | 
					
						
						
							
							Minor: add debug output
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-23 09:02:55 +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 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0ce630dfa3
					 | 
					
						
						
							
							Add get_minimum_parkingtime()
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 15:39:47 +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 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						99a3c34d53
					 | 
					
						
						
							
							forward declare class Calculator
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 14:28:22 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6ce8a86c5f
					 | 
					
						
						
							
							Added get_calculator(): access for Calculator instance
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 14:26:57 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bcd5aaf932
					 | 
					
						
						
							
							Minor: add debug output
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 13:41:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						acb88efc5a
					 | 
					
						
						
							
							re-add 'private'
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 13:37:44 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e9b10166d2
					 | 
					
						
						
							
							Minor: implement getPaymentOptions() for const. Add getPaymentOptions() for non-const
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 13:33:23 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						33731faba9
					 | 
					
						
						
							
							GetTimeSteps(): compute minimal parking time and set pop_min_time.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 13:31:00 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						15700a363d
					 | 
					
						
						
							
							Remove m_start member.
						
						
						
						
						
						
						
						Add defualt parameter start for GetTimeSteps(). 
						
						
							
						
					 | 
					
						2024-01-22 13:28:38 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						506a665592
					 | 
					
						
						
							
							provide GetPaymentOptions() with two signatures.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 13:27:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7679eb9481
	
				 
					 | 
					
						
						
							
							Remove 'VERSION' in project file ...
						
						
						
						
						
						
						
						'VERSION' conflicts with 'EXTRA_QMAKEVARS_PRE' in yocto recipe. 
						
						
							
						
					 | 
					
						2024-01-22 10:50:59 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a8de97a528
					 | 
					
						
						
							
							Initialize TimeBase multimap.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-22 10:24:32 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ed6592c273
					 | 
					
						
						
							
							Add:
						
						
						
						
						
						
						
						multimap<int, ATBTimeBase> TimeBase 
						
						
							
						
					 | 
					
						2024-01-22 10:23:41 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cc702a413e
					 | 
					
						
						
							
							Minor: add compile switches -g -O
						
						
						
						
						
						
							
 v1.0.0
						
					 | 
					
						2024-01-18 15:05:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						51a58bfa15
					 | 
					
						
						
							
							Minor: Add VERSION variable
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 15:03:24 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ff314c810f
					 | 
					
						
						
							
							Add TimeBase to configuration object.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 15:00:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						80fa2fe0e2
					 | 
					
						
						
							
							Extend computation of time steps in GetTimeSteps() for the case
						
						
						
						
						
						
						
						of dynamic time steps (e.g. for Neuhauser, Galtuer (745)). 
						
						
							
						
					 | 
					
						2024-01-18 14:57:04 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						89e0f2137b
					 | 
					
						
						
							
							Add handling of pun_duration_min and pun_duration_max
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 14:56:20 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f68d8816c0
					 | 
					
						
						
							
							Add handling of pop_carry_over_time_range_id and pop_time_step_config.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 14:55:16 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7ce93ddd7a
					 | 
					
						
						
							
							Extend handling of TimeRangeType.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 14:53:57 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7f8ed9165d
					 | 
					
						
						
							
							Add handling for TimeStepConfig.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 14:53:01 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0b901954aa
					 | 
					
						
						
							
							Add members m_start and m_timeStepCompensation (used for Neuhauser, Galtuer (745) at the moment).
						
						
						
						
						
						
						
						Add several setters/getters. 
						
						
							
						
					 | 
					
						2024-01-18 14:49:56 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9f4b10bb9a
					 | 
					
						
						
							
							Add and fill
						
						
						
						
						
						
						
						multimap<int, ATBTimeRange> TimeRange;
multimap<int, ATBTimeStepConfig> TimeStepConfig;
when parsing json-file. 
						
						
							
						
					 | 
					
						2024-01-18 14:43:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2f939d607d
					 | 
					
						
						
							
							Add
						
						
						
						
						
						
						
						include/mobilisis/tariff_timebase.h
include/mobilisis/tariff_timestep_config.h 
						
						
							
						
					 | 
					
						2024-01-18 14:41:54 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						283e970be4
					 | 
					
						
						
							
							Add pun_duration_min and pun_duration_max
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 14:41:12 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e14edea07f
					 | 
					
						
						
							
							Add TimeRangeType and TimeStepConfigType.
						
						
						
						
						
						
							
						
					 | 
					
						2024-01-18 14:39:57 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 |