1 #ifndef STATISTICBUSINESSLOGIC_H
2 #define STATISTICBUSINESSLOGIC_H
6 #include "appcore/ticketissuelogic/ETicketIssueLogicDefines.h"
13 namespace VstupneUdaje
15 namespace CestovnePoriadky
31 static bool InitStatistic(
bool flagDisableCountForInitialAndFinalTicket );
57 void OnPositionChanged(
const int32_t latitude,
const int32_t longitude,
const double altitude ,
const double speed,
const int32_t numberOfSatellites )
const;
61 QScopedPointer<DataClass> d;
64 #endif // STATISTICBUSINESSLOGIC_H
ApplicationDefines::ResultValue WriteContinuousTripRecord(EM::Strojcek::VstupneUdaje::CestovnePoriadky::ESpoj *actualTrip)
Definition: StatisticBusinessLogic.cpp:472
ApplicationDefines::ResultValue WriteDeductionClose(const bool preFinal)
Definition: StatisticBusinessLogic.cpp:564
static const ApplicationDefines::BusinessLogicType mBusinessLogicType
Definition: StatisticBusinessLogic.h:26
bool CreateInitialStatisticRecord()
Definition: StatisticBusinessLogic.cpp:175
bool FillAndWritePeripheralsStatisticRecord(EM::TicketIssueLogic::EIssueLogicDefines::PeripheralsStatisticEventType eventType)
Definition: StatisticBusinessLogic.cpp:277
The BusinessLogic class is the base class of all business logic classes. Every inherited class has to...
Definition: BusinessLogic.h:11
ApplicationDefines::ResultValue WriteChangeTripRecord(const int32_t lineNumber, const int32_t tripNumber, const int8_t lineType)
Definition: StatisticBusinessLogic.cpp:446
ApplicationDefines::ResultValue WriteChangeCommand(const int32_t commandNumber)
Definition: StatisticBusinessLogic.cpp:576
ResultValue
Definition: ApplicationDefines.h:92
bool FillSAMNumberToDeductionNumber(long deviceSnr)
Definition: StatisticBusinessLogic.cpp:210
void LogoutDriverFromStatistic()
Definition: StatisticBusinessLogic.cpp:559
virtual ~StatisticBusinessLogic()
Definition: StatisticBusinessLogic.cpp:130
StatisticBusinessLogic()
Definition: StatisticBusinessLogic.cpp:124
ApplicationDefines::ResultValue DriverStatisticLogin(unsigned long login, unsigned long pin, long deviceSnr, const char *applicationVersion, const bool isDispatcher=false)
Definition: StatisticBusinessLogic.cpp:405
ApplicationDefines::ResultValue CheckDriverCredentials(unsigned long login, unsigned long pin, long deviceSnr, const char *applicationVersion)
Definition: StatisticBusinessLogic.cpp:392
bool IsDriverLoggedInToStatistic()
Definition: StatisticBusinessLogic.cpp:548
ApplicationDefines::ResultValue OnBusStopArrival(const int32_t tripBusStopIndex, const GPSDefines::BusStopChangeType busStopChangeType) const
Definition: StatisticBusinessLogic.cpp:315
bool IsDeductionOpened()
Definition: StatisticBusinessLogic.cpp:537
Definition: AutomaticCardHandlingBusinessLogic.h:6
Definition: StatisticBusinessLogic.h:23
BusinessLogicType
Definition: ApplicationDefines.h:186
static bool InitStatistic(bool flagDisableCountForInitialAndFinalTicket)
Definition: StatisticBusinessLogic.cpp:357
Definition: ApplicationDefines.h:196
void OnPositionChanged(const int32_t latitude, const int32_t longitude, const double altitude, const double speed, const int32_t numberOfSatellites) const
Definition: StatisticBusinessLogic.cpp:347
bool CreateAndFillDeductionNumber(long deviceSnr, const char *applicationVersion)
Definition: StatisticBusinessLogic.cpp:134
void DeleteStatisticAndReinit()
Definition: StatisticBusinessLogic.cpp:369
bool WriteDailyIdentificationVehicleRecord(unsigned long dailyIdentificationRecordNumber, unsigned long vehicleIdentificationNumber, std::string vehicleLicensePlate)
Definition: StatisticBusinessLogic.cpp:428
Definition: StatisticBusinessLogic.cpp:73
ApplicationDefines::ResultValue OnBusStopDeparture(const int32_t tripBusStopIndex, const GPSDefines::BusStopChangeType busStopChangeType) const
Definition: StatisticBusinessLogic.cpp:331
BusStopChangeType
Definition: GPSDefines.h:30