Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
ProjectConfiguration Class Reference

#include <ProjectConfiguration.h>

Inheritance diagram for ProjectConfiguration:
Inheritance graph
[legend]
Collaboration diagram for ProjectConfiguration:
Collaboration graph
[legend]

Public Member Functions

bool GetFlagDisableCountForInitialAndFinalTicket () const
 
bool GetFlagEnableAdvertisements () const
 
bool GetFlagDontReadPurseLogs () const
 
bool IsDeductionPrint () const
 
bool GetFlagAcceptExpiredDriverCard () const
 
bool GetFlagAutomaticCardHandling () const
 
bool GetFlagPrintListsOnAuditor () const
 
bool GetFlagCardHandlerModuleAuditorEnabled () const
 
bool GetFlagCardHandlerModuleAutoTicketIssueEnabled () const
 
bool GetFlagCardHandlerModuleAutoInfoEnabled () const
 
bool GetAutomaticCommunicationRequestOnDeductionClose () const
 
bool GetAutomaticCommunicationRequestOnTurnOn () const
 
bool GetFlagAutomaticDeductionCloseEnabled () const
 
bool GetFlagSynchronizeSystemTime () const
 
QString GetNtpServerIpAddress () const
 
unsigned int GetMinTimeDiffSecondsToTimeSync () const
 
bool GetFlagDeleteStatisticOnStartup () const
 
bool UseTripVisualisationIssue () const
 
unsigned short GetAutomaticDeductionCloseTimeout () const
 
unsigned short GetMaxToastMessageCount () const
 
unsigned short GetAutomaticPassengerCountingResultMeaning () const
 
unsigned int GetTimeoutOnEndTrip () const
 
unsigned int GetTimeBeforeGoIssue () const
 
unsigned int GetShutdownTimeAfterEngineTurnOff () const
 
int GetScreenSaverTimeout () const
 
long GetUnfinishedOperationTimeout () const
 
int GetAutomaticBrightnessMinBrightness () const
 
int GetAutomaticBrightnessMaxBrightness () const
 
int GetAutomaticBrightnessUpdateInterval () const
 
ApplicationDefines::UnlockPeripheralsOnArrivalMode GetUnlockPeripheralsOnArrival () const
 
ApplicationDefines::DefaultIssueWindowFocus GetDefaultIssueWindowFocus () const
 
QVector< QString > GetAutomaticCommunicationRequestIp () const
 
QString GetBarcodeType (const QString &context) const
 
QString GetBarcodePattern (const QString &context) const
 
QString GetMapDatabaseDirectory () const
 
QString GetMapIconDirectory () const
 
QString GetMapStyleSheetFilePath () const
 
QMap< int, QList
< CameraStreamConfiguration > > 
GetCameraStreamsConfigurations () const
 
QString GetOBCAPIModelRouteGZippedURL () const
 
bool IsVoipFunctionalityActive () const
 
QString GetVoipRegistrar () const
 
QString GetVoipRealm () const
 
QString GetVoipStandardCallURI () const
 
QString GetVoipEmergencyCallURI () const
 
double GetVoipAudioDeviceVolumeLevel (const bool shouldGetVolumeForCaptureDevice) const
 
bool IsScreenSaverWakeUpActionEnabled (const QString &wakeUpActionName) const
 
QString GetAutomaticLoginServiceURL () const
 
int GetAutomaticLoginServiceWebSocketPort () const
 
QString GetInputDataCheckWebServiceURL () const
 
unsigned long GetInputDataCheckStateTimeout () const
 
unsigned long GetInputDataCheckSingleRequestTimeout () const
 
QMap< int, QMap< int,
DigitalInputPinActionConfiguration > > 
GetDigitalInputPinActionConfigurations () const
 
int GetHideOldCommandSegmentsLimit () const
 GetHideOldCommandSegmentsLimit - command segments, which are older than this limit should be hidden. More...
 
int GetHideOldTripsLimit () const
 GetHideOldTripsLimit - trip which are older than this limit should be hidden in deviation line-trip selection. More...
 
int GetDistanceFromFirstBusstopWarning () const
 GetDistanceFromFirstBusstopWarning - returns distance from first trip busstop in meters which is considered to be suspicious and should be warned about when entering the trip. More...
 
int GetDistanceFromFirstBusstopWarningTimeout () const
 GetDistanceFromFirstBusstopWarningTimeout - timeout for message containing warning about the distance from first busstop when entering the trip. More...
 
bool GetFilterDeviationTripsByStartTimeFlag () const
 GetFilterDeviationTripsByStartTimeFlag - returns flag if deviation trips should be filtered by start time instead of trip number. More...
 
bool GetDedicatePanelActionLabelToDriverNumberFlag () const
 GetDedicatePanelActionLabelToDriverNumberFlag - returns flag if PanelActionLabel should be dedicated to driver number (requirement from Izmir) More...
 
bool GetConvertDeviationTripToCommandFlag () const
 GetConvertDeviationTripToCommandFlag - after selection of deviation trip we should look for command cointaining this trip and continue with that command. More...
 
bool GetCheckDeviationTripValidityFlag () const
 GetCheckDeviationTripValidityFlag - flag if trip validity should be checked in selection of deviation line/trip. More...
 
bool GetDisplayDelayOnSynchroPoint () const
 GetDisplayDelayOnSynchroPoint - setting that allows in mode between bus stops to display same delay as sending to dispatching. More...
 
bool GetPlaySoundOnPrematureDeparture () const
 GetPlaySoundOnPrematureDeparture - setting that tells whether to play a sound on premature departure from bus stop. More...
 
bool IsTripStartSignalizationFunctionalityEnabled () const
 
bool IsIssueTicketByLongTariffPressFunctionalityEnabled () const
 IsIssueTicketByLongTariffPressFunctionalityEnabled - this functionality allows to issue cash ticket by long press (tap and hold gesture) on tariff item. More...
 
bool GetShowRepeatMessageOnFailedPrinting () const
 
bool DontCloseCameraStreamOnBusStopDeparture () const
 DontCloseCameraStreamOnBusStopDeparture - flag determining whether camera preview should be closed on bus stop departure or not. More...
 
bool UpdateEMVTerminalOnlyOnClosedDeduction () const
 UpdateEMVTerminalOnlyOnClosedDeduction - tells if EMV terminal update (calling EMV params) will be called only if deduction is closed. More...
 
bool AutomaticallyEnterMatchingOnlineCommand () const
 AutomaticallyEnterMatchingOnlineCommand - functionality allows entering selected command segment (command load from operating data backup) if command number matches current driver or vehicle. More...
 
int GetMinimalTimeToWaitBeforeAutomaticallyEnterIssue () const
 GetMinimalTimeToWaitBeforeAutomaticallyEnterIssue - this specifies minimum time that we stay in state StateCountdownToCommandSegment before entering issue (when AutomaticallyEnterMatchingOnlineCommand functionality is turned on) More...
 
bool CheckTimetableForFutureValidity () const
 CheckInputDataForFutureValidity - setting that tells whether to check input data for future validity at application startup. More...
 
bool SamUpdateAutomation ()
 SamUpdateAutomation - flag if SamUpdate should be called on device shutdown. More...
 
unsigned long GetSamUpdateAutomationIntervalInDays () const
 GetSamUpdateAutomationIntervalInDays - method returns how often should be SAM update automatically called. More...
 
unsigned long GetTimeoutUnlockDevices ()
 GetTimeoutUnlockDevices - timeout when lock devices after unlock devices command processing. More...
 
bool GetFlagShowMessageOnPortableWallet () const
 GetFlagShowMessageOnPortableWallet - if tariff system allows portable wallet and currently issued ticket uses portable wallet, this flag tells us if we need to display confirmation message or just issue ticket without user confirmation. More...
 
bool GetFlagEmvCardDetectionEnabled () const
 GetFlagEmvCardDetectionEnabled - flag if EMV card detection is enabled. More...
 
QString GetCrossroadPreferencesWebServiceURL () const
 GetCrossroadPreferencesWebServiceURL - method returns web service URL for crossroad preferences vehicle sends checkpoints that was driven thru. More...
 
unsigned long GetCrossroadPreferencesRequestTimeout () const
 GetCrossroadPreferencesRequestTimeout - method returns network request timeout value. More...
 
unsigned long GetCrossroadPreferencesRequestAttemptsCount () const
 GetCrossroadPreferencesRequestAttemptsCount - method returns max count of attempts for sending network request. More...
 
bool GetFlagPrintInterchangeTicket () const
 GetFlagPrintInterchangeTicket - method returns if interchange ticket should be printed or not. More...
 
bool IsSlovakLinesToArrivaMobilitySolutionsCardCompanyChangeEnabled () const
 
bool IsTransfareInfoProviderEnabled () const
 IsTransfareInfoProviderEnabled - method returns if sending json transfare information will be available. More...
 
unsigned long GetTransfareInfoProviderSpeedInterval () const
 GetTransfareInfoProviderSpeedInterval - method retuns how often will be json speed information sent. More...
 
QString GetTransfareInfoProviderIP () const
 GetTransfareInfoProviderIP - method returns destination IP, where will be json information sent. More...
 
QString GetBusTableInterchangesWebServiceURL () const
 GetBusTableInterchangesWebServiceURL - method returns web service URL for information about interchanges displayed on LCD bus tables. More...
 
bool GetFlagShowMessageAfterPaperTicketWasPrinted () const
 GetFlagShowMessageAfterPaperTicketWasPrinted - method returns if a message should be shown after printing paper ticket or not. More...
 
QString GetBusTableMessagesFromDispatchingWebServiceURL () const
 GetBusTableMessagesFromDispatchingWebServiceURL - method returns web service URL for downloading of info messages from dispatching. More...
 
unsigned long GetBusTableMessagesFromDispatchingWebServiceDownloadInterval () const
 GetBusTableMessagesFromDispatchingWebServiceDownloadInterval - method returns interval for downloading of info messages from dispatching. More...
 
bool ShowKilometersInTicketIssueWindow () const
 ShowKilometersInTicketIssueWindow - method returns if the kilometers count should be shown in the ticket issue window. More...
 
bool ShowTariffsFromSubstituteTariffGroups () const
 ShowTariffsFromSubstituteTariffGroups - method returns if tariffs from substitute tariff groups should be displayed in issue window. More...
 
bool IsPrintRefuellingTicketWithFinalTicketFunctionalityEnabled () const
 IsPrintRefuellingTicketWithFinalTicketFunctionalityEnabled - method returns if ticket for vehicle refuelling should be printed after printing final deduction ticket. More...
 
QString GetDispatchingTelephoneNumber () const
 GetDispatchingTelephoneNumber - method returns dispatching telephone number. More...
 
QString GetQadraMessagesWebServiceURL () const
 GetQadraMessagesWebServiceURL - method returns web service URL for sending messages from Qadra device. More...
 
unsigned int GetQadraMessagesSendingInterval () const
 GetQadraMessagesSendingInterval - method returns Qadra messages sending interval to the web service in seconds. More...
 
unsigned int GetQadraMessagesSendingTimeout () const
 GetQadraMessagesSendingTimeout - method returns Qadra messages sending timeout to the web service in seconds. More...
 
unsigned int GetQadraMessagesMaxSendingCount () const
 GetQadraMessagesMaxSendingCount - method returns maximum messages count sent to the web service via one request. More...
 
unsigned int GetQadraMessagesDeleteInterval () const
 GetQadraMessagesDeleteInterval - method returns Qadra messages delete interval from database in minutes. More...
 
unsigned int GetQadraMessagesMaxRecordCount () const
 GetQadraMessagesMaxRecordCount - method returns maximum messages count recorded in the database. More...
 
bool AutoQrCodeReadingEnabled () const
 AutoQrCodeReadingEnabled - method returns if automatic QR code reading is enabled. More...
 
unsigned short GetQrPopUpMessageTimeout () const
 GetQrPopUpMessageTimeout - method returns timeout for the PopUp message when evaluating the QR code. More...
 
unsigned short GetQrCodeValidityStartTolerance () const
 GetQrCodeValidityStartTolerance. More...
 
bool UseTestingKeysForQrTickets () const
 UseTestingKeysForQrTickets. More...
 
QString GetQrCodeType () const
 GetQrCodeType. More...
 
QString GetRefuellingTicketCountryCode () const
 GetRefuellingTicketCountryCode - method returns country code for refuelling ticket (first 3 characters of EAN13 code) More...
 
QString GetTripGuaranteedConnectionsWebServiceUrl () const
 GetTripGuaranteedConnectionsWebServiceUrl - method returns web service URL for trip guaranteed connection information. More...
 
int GetTripGuaranteedConnectionsDownloadInterval () const
 GetTripGuaranteedConnectionsDownloadInterval method returns interval for downloading of trip guaranteed connection information. More...
 
QString GetTripGetPlatformChangeWebServiceUrl () const
 GetTripGetPlatformChangeWebServiceUrl - method returns web service URL for trip platform change information. More...
 
unsigned int GetTripGetPlatformChangeInterval () const
 GetTripGetPlatformChangeInterval - method returns interval for checking bus stop platform change. More...
 
bool ShouldCheckBusStopForPlatformChange (const int32_t busStopId) const
 ShouldCheckBusStopForPlatformChange - TEMPORARY method which tells if we have to send requst to web service to check updated bus stop platform. More...
 
QString GetTripsDelaysWebServiceURL () const
 
bool GetFlagIgnoreByways () const
 GetFlagIgnoreByways method returns if byways should be ignored or not. More...
 
QString GetSlaveIssueSoundFile () const
 GetSlaveIssueSoundFile method returns sound filename which OBC should play when SLAVE issues ticket. More...
 
QStringList GetSupportedLanguages () const
 GetSupportedLanguages - returns list of supported additional languages (default language is always supported) More...
 
bool ManualConfirmationOfCrossingSegmentsIsRequired () const
 ManualConfirmationOfCrossingSegmentsIsRequired - returns flag if crossing segments are expected to be manually confirmed by driver. More...
 

Member Function Documentation

bool ProjectConfiguration::AutomaticallyEnterMatchingOnlineCommand ( ) const

AutomaticallyEnterMatchingOnlineCommand - functionality allows entering selected command segment (command load from operating data backup) if command number matches current driver or vehicle.

Returns
true - command segment can be entered automatically false - command segment can be entered only manually
bool ProjectConfiguration::AutoQrCodeReadingEnabled ( ) const

AutoQrCodeReadingEnabled - method returns if automatic QR code reading is enabled.

Returns
true - if automatic QR code reading is enabled, otherwise return false
bool ProjectConfiguration::CheckTimetableForFutureValidity ( ) const

CheckInputDataForFutureValidity - setting that tells whether to check input data for future validity at application startup.

Returns
- functionality is turned on - true, turned off - false
bool ProjectConfiguration::DontCloseCameraStreamOnBusStopDeparture ( ) const

DontCloseCameraStreamOnBusStopDeparture - flag determining whether camera preview should be closed on bus stop departure or not.

Returns
true - don't close camera preview, false - close camera preview
int ProjectConfiguration::GetAutomaticBrightnessMaxBrightness ( ) const
int ProjectConfiguration::GetAutomaticBrightnessMinBrightness ( ) const
int ProjectConfiguration::GetAutomaticBrightnessUpdateInterval ( ) const
QVector< QString > ProjectConfiguration::GetAutomaticCommunicationRequestIp ( ) const
bool ProjectConfiguration::GetAutomaticCommunicationRequestOnDeductionClose ( ) const
bool ProjectConfiguration::GetAutomaticCommunicationRequestOnTurnOn ( ) const
unsigned short ProjectConfiguration::GetAutomaticDeductionCloseTimeout ( ) const
QString ProjectConfiguration::GetAutomaticLoginServiceURL ( ) const
int ProjectConfiguration::GetAutomaticLoginServiceWebSocketPort ( ) const
unsigned short ProjectConfiguration::GetAutomaticPassengerCountingResultMeaning ( ) const
QString ProjectConfiguration::GetBarcodePattern ( const QString &  context) const
QString ProjectConfiguration::GetBarcodeType ( const QString &  context) const
QString ProjectConfiguration::GetBusTableInterchangesWebServiceURL ( ) const

GetBusTableInterchangesWebServiceURL - method returns web service URL for information about interchanges displayed on LCD bus tables.

Returns
web service URL or empty string if functionality not enabled
unsigned long ProjectConfiguration::GetBusTableMessagesFromDispatchingWebServiceDownloadInterval ( ) const

GetBusTableMessagesFromDispatchingWebServiceDownloadInterval - method returns interval for downloading of info messages from dispatching.

Returns
- value greater than zero, if interval was properly set; zero - if interval was not set
QString ProjectConfiguration::GetBusTableMessagesFromDispatchingWebServiceURL ( ) const

GetBusTableMessagesFromDispatchingWebServiceURL - method returns web service URL for downloading of info messages from dispatching.

Returns
- web service URL for downloading of info messages from dispatching or empty string if functionality not enabled
QMap< int, QList< CameraStreamConfiguration > > ProjectConfiguration::GetCameraStreamsConfigurations ( ) const
bool ProjectConfiguration::GetCheckDeviationTripValidityFlag ( ) const

GetCheckDeviationTripValidityFlag - flag if trip validity should be checked in selection of deviation line/trip.

Returns
true - trip validity should be checked, false otherwise
bool ProjectConfiguration::GetConvertDeviationTripToCommandFlag ( ) const

GetConvertDeviationTripToCommandFlag - after selection of deviation trip we should look for command cointaining this trip and continue with that command.

Returns
true if deviation trip should be converted to command, false otherwise
unsigned long ProjectConfiguration::GetCrossroadPreferencesRequestAttemptsCount ( ) const

GetCrossroadPreferencesRequestAttemptsCount - method returns max count of attempts for sending network request.

Returns
attempts count
unsigned long ProjectConfiguration::GetCrossroadPreferencesRequestTimeout ( ) const

GetCrossroadPreferencesRequestTimeout - method returns network request timeout value.

Returns
timeout in miliseconds
QString ProjectConfiguration::GetCrossroadPreferencesWebServiceURL ( ) const

GetCrossroadPreferencesWebServiceURL - method returns web service URL for crossroad preferences vehicle sends checkpoints that was driven thru.

Returns
web service URL for crossroad preferences or empty string if functionality not enabled
bool ProjectConfiguration::GetDedicatePanelActionLabelToDriverNumberFlag ( ) const

GetDedicatePanelActionLabelToDriverNumberFlag - returns flag if PanelActionLabel should be dedicated to driver number (requirement from Izmir)

Returns
true if PanelActionLabel is dedicated to driver number, false otherwise
ApplicationDefines::DefaultIssueWindowFocus ProjectConfiguration::GetDefaultIssueWindowFocus ( ) const
QMap< int, QMap< int, DigitalInputPinActionConfiguration > > ProjectConfiguration::GetDigitalInputPinActionConfigurations ( ) const
QString ProjectConfiguration::GetDispatchingTelephoneNumber ( ) const

GetDispatchingTelephoneNumber - method returns dispatching telephone number.

Returns
dispatching telephone number
bool ProjectConfiguration::GetDisplayDelayOnSynchroPoint ( ) const

GetDisplayDelayOnSynchroPoint - setting that allows in mode between bus stops to display same delay as sending to dispatching.

Returns
true - allow display same delay as sending to dispatching
int ProjectConfiguration::GetDistanceFromFirstBusstopWarning ( ) const

GetDistanceFromFirstBusstopWarning - returns distance from first trip busstop in meters which is considered to be suspicious and should be warned about when entering the trip.

See also
GetDistanceFromFirstBusstopWarningTimeout
Returns
distance in meters
int ProjectConfiguration::GetDistanceFromFirstBusstopWarningTimeout ( ) const

GetDistanceFromFirstBusstopWarningTimeout - timeout for message containing warning about the distance from first busstop when entering the trip.

See also
GetDistanceFromFirstBusstopWarning
Returns
timeout in seconds
bool ProjectConfiguration::GetFilterDeviationTripsByStartTimeFlag ( ) const

GetFilterDeviationTripsByStartTimeFlag - returns flag if deviation trips should be filtered by start time instead of trip number.

Returns
true if trips should be filtered by start time instead of trip number
bool ProjectConfiguration::GetFlagAcceptExpiredDriverCard ( ) const
bool ProjectConfiguration::GetFlagAutomaticCardHandling ( ) const
bool ProjectConfiguration::GetFlagAutomaticDeductionCloseEnabled ( ) const
bool ProjectConfiguration::GetFlagCardHandlerModuleAuditorEnabled ( ) const
bool ProjectConfiguration::GetFlagCardHandlerModuleAutoInfoEnabled ( ) const
bool ProjectConfiguration::GetFlagCardHandlerModuleAutoTicketIssueEnabled ( ) const
bool ProjectConfiguration::GetFlagDeleteStatisticOnStartup ( ) const
bool ProjectConfiguration::GetFlagDisableCountForInitialAndFinalTicket ( ) const
bool ProjectConfiguration::GetFlagDontReadPurseLogs ( ) const
bool ProjectConfiguration::GetFlagEmvCardDetectionEnabled ( ) const

GetFlagEmvCardDetectionEnabled - flag if EMV card detection is enabled.

Returns
true - EMV card detection is enabled false - EMV card detection is disabled
bool ProjectConfiguration::GetFlagEnableAdvertisements ( ) const
bool ProjectConfiguration::GetFlagIgnoreByways ( ) const

GetFlagIgnoreByways method returns if byways should be ignored or not.

Returns
bool
bool ProjectConfiguration::GetFlagPrintInterchangeTicket ( ) const

GetFlagPrintInterchangeTicket - method returns if interchange ticket should be printed or not.

Returns
bool - if interchange ticket should be printed or not
bool ProjectConfiguration::GetFlagPrintListsOnAuditor ( ) const
bool ProjectConfiguration::GetFlagShowMessageAfterPaperTicketWasPrinted ( ) const

GetFlagShowMessageAfterPaperTicketWasPrinted - method returns if a message should be shown after printing paper ticket or not.

Note
used for example in DPMM because of paper tickets issued by driver and printed on validator's printer out of his sight
Returns
bool - if message should be shown or not
bool ProjectConfiguration::GetFlagShowMessageOnPortableWallet ( ) const

GetFlagShowMessageOnPortableWallet - if tariff system allows portable wallet and currently issued ticket uses portable wallet, this flag tells us if we need to display confirmation message or just issue ticket without user confirmation.

Note
- portable wallet is used when card type doesn't match with issued ticket tariff discount
Returns
true - display confirmation message with question if ticket should be issued on portable wallet false - issue ticket without confirmation
bool ProjectConfiguration::GetFlagSynchronizeSystemTime ( ) const
int ProjectConfiguration::GetHideOldCommandSegmentsLimit ( ) const

GetHideOldCommandSegmentsLimit - command segments, which are older than this limit should be hidden.

Returns
limit value in minutes
int ProjectConfiguration::GetHideOldTripsLimit ( ) const

GetHideOldTripsLimit - trip which are older than this limit should be hidden in deviation line-trip selection.

Returns
limit value in minutes
unsigned long ProjectConfiguration::GetInputDataCheckSingleRequestTimeout ( ) const
unsigned long ProjectConfiguration::GetInputDataCheckStateTimeout ( ) const
QString ProjectConfiguration::GetInputDataCheckWebServiceURL ( ) const
QString ProjectConfiguration::GetMapDatabaseDirectory ( ) const
QString ProjectConfiguration::GetMapIconDirectory ( ) const
QString ProjectConfiguration::GetMapStyleSheetFilePath ( ) const
unsigned short ProjectConfiguration::GetMaxToastMessageCount ( ) const
int ProjectConfiguration::GetMinimalTimeToWaitBeforeAutomaticallyEnterIssue ( ) const

GetMinimalTimeToWaitBeforeAutomaticallyEnterIssue - this specifies minimum time that we stay in state StateCountdownToCommandSegment before entering issue (when AutomaticallyEnterMatchingOnlineCommand functionality is turned on)

Returns
value in seconds
unsigned int ProjectConfiguration::GetMinTimeDiffSecondsToTimeSync ( ) const
QString ProjectConfiguration::GetNtpServerIpAddress ( ) const
QString ProjectConfiguration::GetOBCAPIModelRouteGZippedURL ( ) const
bool ProjectConfiguration::GetPlaySoundOnPrematureDeparture ( ) const

GetPlaySoundOnPrematureDeparture - setting that tells whether to play a sound on premature departure from bus stop.

Returns
true - sound should be played on premature departure from bus stop, false otherwise
unsigned int ProjectConfiguration::GetQadraMessagesDeleteInterval ( ) const

GetQadraMessagesDeleteInterval - method returns Qadra messages delete interval from database in minutes.

Returns
minutes count
unsigned int ProjectConfiguration::GetQadraMessagesMaxRecordCount ( ) const

GetQadraMessagesMaxRecordCount - method returns maximum messages count recorded in the database.

Returns
record count
unsigned int ProjectConfiguration::GetQadraMessagesMaxSendingCount ( ) const

GetQadraMessagesMaxSendingCount - method returns maximum messages count sent to the web service via one request.

Returns
maximum messages count
unsigned int ProjectConfiguration::GetQadraMessagesSendingInterval ( ) const

GetQadraMessagesSendingInterval - method returns Qadra messages sending interval to the web service in seconds.

Returns
seconds count
unsigned int ProjectConfiguration::GetQadraMessagesSendingTimeout ( ) const

GetQadraMessagesSendingTimeout - method returns Qadra messages sending timeout to the web service in seconds.

Returns
seconds count
QString ProjectConfiguration::GetQadraMessagesWebServiceURL ( ) const

GetQadraMessagesWebServiceURL - method returns web service URL for sending messages from Qadra device.

Returns
web service URL or empty string if functionality not enabled
QString ProjectConfiguration::GetQrCodeType ( ) const

GetQrCodeType.

See also
AutoQrCodeReadingEnabled
Returns
a string representation of the QR code type
unsigned short ProjectConfiguration::GetQrCodeValidityStartTolerance ( ) const

GetQrCodeValidityStartTolerance.

See also
AutoQrCodeReadingEnabled
Returns
QR code can be accepted before it's validity start - this setting specifies how many minutes
unsigned short ProjectConfiguration::GetQrPopUpMessageTimeout ( ) const

GetQrPopUpMessageTimeout - method returns timeout for the PopUp message when evaluating the QR code.

See also
AutoQrCodeReadingEnabled
Returns
timeout for the PopUp message in seconds
QString ProjectConfiguration::GetRefuellingTicketCountryCode ( ) const

GetRefuellingTicketCountryCode - method returns country code for refuelling ticket (first 3 characters of EAN13 code)

Returns
- GS1 country code (000 by default)
unsigned long ProjectConfiguration::GetSamUpdateAutomationIntervalInDays ( ) const

GetSamUpdateAutomationIntervalInDays - method returns how often should be SAM update automatically called.

Returns
- interval in days
int ProjectConfiguration::GetScreenSaverTimeout ( ) const
bool ProjectConfiguration::GetShowRepeatMessageOnFailedPrinting ( ) const
unsigned int ProjectConfiguration::GetShutdownTimeAfterEngineTurnOff ( ) const
QString ProjectConfiguration::GetSlaveIssueSoundFile ( ) const

GetSlaveIssueSoundFile method returns sound filename which OBC should play when SLAVE issues ticket.

Returns
full sound filename or empty string, if no sound should be played
QStringList ProjectConfiguration::GetSupportedLanguages ( ) const

GetSupportedLanguages - returns list of supported additional languages (default language is always supported)

Returns
list of supported additional languages
unsigned int ProjectConfiguration::GetTimeBeforeGoIssue ( ) const
unsigned int ProjectConfiguration::GetTimeoutOnEndTrip ( ) const
unsigned long ProjectConfiguration::GetTimeoutUnlockDevices ( )

GetTimeoutUnlockDevices - timeout when lock devices after unlock devices command processing.

Returns
timeout in seconds
QString ProjectConfiguration::GetTransfareInfoProviderIP ( ) const

GetTransfareInfoProviderIP - method returns destination IP, where will be json information sent.

Returns
QString - IP, where will be json information sent
unsigned long ProjectConfiguration::GetTransfareInfoProviderSpeedInterval ( ) const

GetTransfareInfoProviderSpeedInterval - method retuns how often will be json speed information sent.

Returns
unsigned long - interval in seconds
unsigned int ProjectConfiguration::GetTripGetPlatformChangeInterval ( ) const

GetTripGetPlatformChangeInterval - method returns interval for checking bus stop platform change.

Returns
interval in seconds
QString ProjectConfiguration::GetTripGetPlatformChangeWebServiceUrl ( ) const

GetTripGetPlatformChangeWebServiceUrl - method returns web service URL for trip platform change information.

Returns
web service URL or empty string if functionality not enabled
int ProjectConfiguration::GetTripGuaranteedConnectionsDownloadInterval ( ) const

GetTripGuaranteedConnectionsDownloadInterval method returns interval for downloading of trip guaranteed connection information.

Returns
download interval in seconds (15 by default)
QString ProjectConfiguration::GetTripGuaranteedConnectionsWebServiceUrl ( ) const

GetTripGuaranteedConnectionsWebServiceUrl - method returns web service URL for trip guaranteed connection information.

Returns
web service URL or empty string if functionality not enabled
QString ProjectConfiguration::GetTripsDelaysWebServiceURL ( ) const
long ProjectConfiguration::GetUnfinishedOperationTimeout ( ) const
ApplicationDefines::UnlockPeripheralsOnArrivalMode ProjectConfiguration::GetUnlockPeripheralsOnArrival ( ) const
double ProjectConfiguration::GetVoipAudioDeviceVolumeLevel ( const bool  shouldGetVolumeForCaptureDevice) const
QString ProjectConfiguration::GetVoipEmergencyCallURI ( ) const
QString ProjectConfiguration::GetVoipRealm ( ) const
QString ProjectConfiguration::GetVoipRegistrar ( ) const
QString ProjectConfiguration::GetVoipStandardCallURI ( ) const
bool ProjectConfiguration::IsDeductionPrint ( ) const
bool ProjectConfiguration::IsIssueTicketByLongTariffPressFunctionalityEnabled ( ) const

IsIssueTicketByLongTariffPressFunctionalityEnabled - this functionality allows to issue cash ticket by long press (tap and hold gesture) on tariff item.

Note
- functionality works only in compact ticket issue
Returns
- method returns if functionality is turned on - true, or turned off - false
bool ProjectConfiguration::IsPrintRefuellingTicketWithFinalTicketFunctionalityEnabled ( ) const

IsPrintRefuellingTicketWithFinalTicketFunctionalityEnabled - method returns if ticket for vehicle refuelling should be printed after printing final deduction ticket.

Returns
true - refuelling ticket should be printed after deduction ticket; false - refuelling ticket should NOT be printed after deduction closure
bool ProjectConfiguration::IsScreenSaverWakeUpActionEnabled ( const QString &  wakeUpActionName) const
bool ProjectConfiguration::IsSlovakLinesToArrivaMobilitySolutionsCardCompanyChangeEnabled ( ) const
bool ProjectConfiguration::IsTransfareInfoProviderEnabled ( ) const

IsTransfareInfoProviderEnabled - method returns if sending json transfare information will be available.

Returns
bool - flag if json transfare information will be sent or won't
bool ProjectConfiguration::IsTripStartSignalizationFunctionalityEnabled ( ) const
bool ProjectConfiguration::IsVoipFunctionalityActive ( ) const
bool ProjectConfiguration::ManualConfirmationOfCrossingSegmentsIsRequired ( ) const

ManualConfirmationOfCrossingSegmentsIsRequired - returns flag if crossing segments are expected to be manually confirmed by driver.

Returns
bool
bool ProjectConfiguration::SamUpdateAutomation ( )

SamUpdateAutomation - flag if SamUpdate should be called on device shutdown.

Returns
true - SamUpdate should be called on device shutdown false - SamUpdate should not be called on device shutdown
bool ProjectConfiguration::ShouldCheckBusStopForPlatformChange ( const int32_t  busStopId) const

ShouldCheckBusStopForPlatformChange - TEMPORARY method which tells if we have to send requst to web service to check updated bus stop platform.

Parameters
busStopId- bus stop which has to be checked (o NOT) for platform change
Returns
true if request to web service has to be sent; false - platform from input data has to be used
bool ProjectConfiguration::ShowKilometersInTicketIssueWindow ( ) const

ShowKilometersInTicketIssueWindow - method returns if the kilometers count should be shown in the ticket issue window.

Returns
bool - if the kilometres count should be shown or not
bool ProjectConfiguration::ShowTariffsFromSubstituteTariffGroups ( ) const

ShowTariffsFromSubstituteTariffGroups - method returns if tariffs from substitute tariff groups should be displayed in issue window.

Returns
bool (true by default)
bool ProjectConfiguration::UpdateEMVTerminalOnlyOnClosedDeduction ( ) const

UpdateEMVTerminalOnlyOnClosedDeduction - tells if EMV terminal update (calling EMV params) will be called only if deduction is closed.

Note
- EMV terminal update (calling EMV params) is called on device shutdown only if it is needed
Returns
true - EMV terminal update will be called on shutdown only if deduction is closed false - EMV terminal update will be called on shutdown no matter what current deduction state is
bool ProjectConfiguration::UseTestingKeysForQrTickets ( ) const

UseTestingKeysForQrTickets.

See also
AutoQrCodeReadingEnabled
Returns
bool
bool ProjectConfiguration::UseTripVisualisationIssue ( ) const

The documentation for this class was generated from the following files: