Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
StateTicketIssue::DataClass Class Reference
Collaboration diagram for StateTicketIssue::DataClass:
Collaboration graph
[legend]

Public Member Functions

 DataClass (StateTicketIssue *dataClassOwner, ApplicationStateManager *stateManager)
 
 ~DataClass ()
 
bool CompareDictionaryWithAppOperatingDataBackup (long lineNumber, long tripNumber, unsigned long issueEnterReason, int oldLineNumber, int oldTripNumber, unsigned oldIssueEnterReason)
 
ApplicationDefines::ResultValue InitStatisticData ()
 
void InitDefaultTariffIndex ()
 
void InitTimeTableData ()
 
void InitProtectNumberData ()
 
void InitTicketIssueStorageData (StorageList &storageList)
 
ApplicationDefines::ResultValue LoadTariffSystemData (unsigned char tariffGroupNumber) const
 
ApplicationDefines::ResultValue LoadTariffList ()
 
ApplicationDefines::ResultValue LoadBusStopList ()
 
ApplicationDefines::ResultValue CalculateCheckoutBusstopOnUrbanLine ()
 
void UpdateOperatingDataBackup (bool &sameLineTrip)
 
void UpdateBusStopList ()
 
void UpdateBusStopIfOnSameTrip (bool sameLineTrip)
 
ApplicationDefines::ResultValue SwitchToDefaultTariff ()
 
ApplicationDefines::ResultValue UpdateTariffDataOnBusStopChange (const int32_t checkOutBusStopItemIndex)
 
void RefreshPassengersCount ()
 
void RefreshTicketSummary ()
 
void RefreshAndShowActualBusStopPopUpNotification (bool showOnlyNotificationPanelStatus=false)
 
void SetCurrentBusStopItem (bool &actualBusstopCommentHasChanged)
 
void EvaluateDeviceBlockedState (const bool sameLineTrip)
 
void ChangeStateToTripEndCountdown ()
 
void OnCloseTicketIssueErrorMessage ()
 
void ShowMessageIfDeviceBlocked ()
 
void HideAutoInfoMessage ()
 
void HidePopUpIfDisplayed ()
 
bool ShowBusStopOnPrinterDisplay ()
 
void ShowWeekendTicketPopupMessage (StorageList &storageList)
 
void OnWeekendTicketConfirmed ()
 
bool IsActualBusStopTripStartBusStop ()
 
bool IsOnLastTripBusStop ()
 
void OnLastBusStopArrival ()
 
void GetBusStopInformation (long tripBusStopIndex, QString &busStopSpatialUnitNumber, QString &busStopDepartureTime, QString &busStopName, QString &busStopTariffNumber)
 
void GetBusStopInformation (long tripBusStopIndex, QString &busStopSpatialUnitNumber, QString &busStopDepartureTime, QString &busStopName, QString &busStopTariffNumber, bool &busStopFromContinuousTrip)
 StateCompactTicketIssue::DataClass::GetBusStopInformation - Gets information about bus stop by trip bus stop index. More...
 
void ExecuteAutoModules (ApplicationDefines::AutoModules modules)
 ExecuteAutoModules executes automatic card handling modules specified in the parameter. For more information about automatic card handling modules. More...
 
void RecalculatePriceAndShowApproachCardMessageOnDevices (bool &displayBothPrices, QString &tariffText, QString &priceText)
 

Public Attributes

StateTicketIssuemDataClassOwner
 
ApplicationStateManagermStateManager
 
TicketIssueFormLogicInterfacemTicketIssueFormLogic
 
bool mIsUrbanLine
 
int mSelectedTicketCount
 
int mDefaultTariffListRow
 
int mSelectedCheckOutBusStopTripIndex
 
int mAutoInfoMessageId
 
int mStartBusStopTripOrder
 
QVector< QPair< ETarifa
*, unsigned char > > 
mTariffListRowToTariff
 
ETarifa * mSelectedTariff
 
bool mIsTariffPressed
 
bool mSetDefaultTariffAfterTariffReleased
 
bool mDisableSwitchingToDefaultTariff
 
bool mShowOnlyNotificationPanelStatus
 
QString mLastGuaranteedInterchangeMessage
 
PopUpMessageIDType mLastGuaranteedInterchangePopUpMessageIDType
 

Constructor & Destructor Documentation

StateTicketIssue::DataClass::DataClass ( StateTicketIssue dataClassOwner,
ApplicationStateManager stateManager 
)
inline
StateTicketIssue::DataClass::~DataClass ( )
inline

Member Function Documentation

ApplicationDefines::ResultValue StateTicketIssue::DataClass::CalculateCheckoutBusstopOnUrbanLine ( )

Here is the call graph for this function:

void StateTicketIssue::DataClass::ChangeStateToTripEndCountdown ( )
bool StateTicketIssue::DataClass::CompareDictionaryWithAppOperatingDataBackup ( long  lineNumber,
long  tripNumber,
unsigned long  issueEnterReason,
int  oldLineNumber,
int  oldTripNumber,
unsigned  oldIssueEnterReason 
)
Returns
True if current issue data are same as the ones saved in application operating data backup
void StateTicketIssue::DataClass::EvaluateDeviceBlockedState ( const bool  sameLineTrip)
void StateTicketIssue::DataClass::ExecuteAutoModules ( ApplicationDefines::AutoModules  modules)

ExecuteAutoModules executes automatic card handling modules specified in the parameter. For more information about automatic card handling modules.

See also
smb://user@192.168.241.25/DokumentaciaTD/VyvojovyUsek/VyvojSW/TransFare/OnboardComputer/PopisSpravania*.pdf, section 'Automatické vyčítavanie karty'
Parameters
modules- ApplicationDefines::AutoModules - bit-oriented flag that specifies which automatic card handling modules should be executed.

Here is the call graph for this function:

void StateTicketIssue::DataClass::GetBusStopInformation ( long  tripBusStopIndex,
QString &  busStopSpatialUnitNumber,
QString &  busStopDepartureTime,
QString &  busStopName,
QString &  busStopTariffNumber 
)
void StateTicketIssue::DataClass::GetBusStopInformation ( long  tripBusStopIndex,
QString &  busStopSpatialUnitNumber,
QString &  busStopDepartureTime,
QString &  busStopName,
QString &  busStopTariffNumber,
bool &  busStopFromContinuousTrip 
)

StateCompactTicketIssue::DataClass::GetBusStopInformation - Gets information about bus stop by trip bus stop index.

void StateTicketIssue::DataClass::HideAutoInfoMessage ( )
void StateTicketIssue::DataClass::HidePopUpIfDisplayed ( )

Here is the call graph for this function:

void StateTicketIssue::DataClass::InitDefaultTariffIndex ( )
void StateTicketIssue::DataClass::InitProtectNumberData ( )
ApplicationDefines::ResultValue StateTicketIssue::DataClass::InitStatisticData ( )
void StateTicketIssue::DataClass::InitTicketIssueStorageData ( StorageList &  storageList)
void StateTicketIssue::DataClass::InitTimeTableData ( )
bool StateTicketIssue::DataClass::IsActualBusStopTripStartBusStop ( )
bool StateTicketIssue::DataClass::IsOnLastTripBusStop ( )
ApplicationDefines::ResultValue StateTicketIssue::DataClass::LoadBusStopList ( )
ApplicationDefines::ResultValue StateTicketIssue::DataClass::LoadTariffList ( )

Here is the call graph for this function:

ApplicationDefines::ResultValue StateTicketIssue::DataClass::LoadTariffSystemData ( unsigned char  tariffGroupNumber) const

Here is the call graph for this function:

void StateTicketIssue::DataClass::OnCloseTicketIssueErrorMessage ( )

Here is the caller graph for this function:

void StateTicketIssue::DataClass::OnLastBusStopArrival ( )

Here is the call graph for this function:

void StateTicketIssue::DataClass::OnWeekendTicketConfirmed ( )

Here is the caller graph for this function:

void StateTicketIssue::DataClass::RecalculatePriceAndShowApproachCardMessageOnDevices ( bool &  displayBothPrices,
QString &  tariffText,
QString &  priceText 
)
void StateTicketIssue::DataClass::RefreshAndShowActualBusStopPopUpNotification ( bool  showOnlyNotificationPanelStatus = false)

Here is the call graph for this function:

void StateTicketIssue::DataClass::RefreshPassengersCount ( )

Here is the call graph for this function:

void StateTicketIssue::DataClass::RefreshTicketSummary ( )

Here is the call graph for this function:

void StateTicketIssue::DataClass::SetCurrentBusStopItem ( bool &  actualBusstopCommentHasChanged)
bool StateTicketIssue::DataClass::ShowBusStopOnPrinterDisplay ( )
void StateTicketIssue::DataClass::ShowMessageIfDeviceBlocked ( )
void StateTicketIssue::DataClass::ShowWeekendTicketPopupMessage ( StorageList &  storageList)

Here is the call graph for this function:

ApplicationDefines::ResultValue StateTicketIssue::DataClass::SwitchToDefaultTariff ( )
void StateTicketIssue::DataClass::UpdateBusStopIfOnSameTrip ( bool  sameLineTrip)
void StateTicketIssue::DataClass::UpdateBusStopList ( )
void StateTicketIssue::DataClass::UpdateOperatingDataBackup ( bool &  sameLineTrip)
ApplicationDefines::ResultValue StateTicketIssue::DataClass::UpdateTariffDataOnBusStopChange ( const int32_t  checkOutBusStopItemIndex)

Member Data Documentation

int StateTicketIssue::DataClass::mAutoInfoMessageId
StateTicketIssue* StateTicketIssue::DataClass::mDataClassOwner
int StateTicketIssue::DataClass::mDefaultTariffListRow
bool StateTicketIssue::DataClass::mDisableSwitchingToDefaultTariff
bool StateTicketIssue::DataClass::mIsTariffPressed
bool StateTicketIssue::DataClass::mIsUrbanLine
QString StateTicketIssue::DataClass::mLastGuaranteedInterchangeMessage
PopUpMessageIDType StateTicketIssue::DataClass::mLastGuaranteedInterchangePopUpMessageIDType
int StateTicketIssue::DataClass::mSelectedCheckOutBusStopTripIndex
ETarifa* StateTicketIssue::DataClass::mSelectedTariff
int StateTicketIssue::DataClass::mSelectedTicketCount
bool StateTicketIssue::DataClass::mSetDefaultTariffAfterTariffReleased
bool StateTicketIssue::DataClass::mShowOnlyNotificationPanelStatus
int StateTicketIssue::DataClass::mStartBusStopTripOrder
ApplicationStateManager* StateTicketIssue::DataClass::mStateManager
QVector<QPair<ETarifa *, unsigned char> > StateTicketIssue::DataClass::mTariffListRowToTariff
TicketIssueFormLogicInterface* StateTicketIssue::DataClass::mTicketIssueFormLogic

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