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

#include <DailyIdentificationRecordBusinessLogic.h>

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

Classes

class  DataClass
 

Public Member Functions

 DailyIdentificationRecordBusinessLogic ()
 
virtual ~DailyIdentificationRecordBusinessLogic ()
 
bool IsDailyIdentificationRecordUsed ()
 IsDailyIdentificationRecordUsed - Check if daily identification record should be used based on tariff system settings. More...
 
bool IsTachographValueRequired ()
 IsTachographValueRequired - Check if tachograph value should be entered when closing daily identification record. More...
 
bool IsRefueledVolumeRequired ()
 IsRefueledVolumeRequired - Check if refueled volume should be entered when closing daily identification record. More...
 
bool IsHeatingValueRequired ()
 IsHeatingValueRequired - Check if heating value should be entered when closing daily identification record. More...
 
bool IsAirConditioningValueRequired ()
 IsAirConditioningValueRequired - Check if air conditioning should be entered when closing daily identification record. More...
 
bool GetDailyIdentificationRecordNumberFromOnlinePlan (const long driverNumber, const long vehicleIdentificationNumber, QList< EM::Strojcek::VstupneUdaje::Turnusy::EDuty * > &foundDailyRecords, unsigned long &foundCommandNumber)
 
bool GetCommandNumberFromOnlinePlan (const long driverNumber, const long vehicleIdentificationNumber, unsigned long &foundCommandNumber)
 
bool IsCommandSuitableForDriverOrVehicle (const long commandNumber, const long driverNumber, const long vehicleIdentificationNumber)
 
EM::Strojcek::VstupneUdaje::Turnusy::EDuty * GetActualValidDuty (const long driverNumber, const long vehicleIdentificationNumber)
 
QList
< EM::Strojcek::VstupneUdaje::Turnusy::EDuty * > 
GetValidDuties (const long driverNumber, const long vehicleIdentificationNumber)
 
bool IsDailyIdentificationRecordOpen (unsigned int &dailyIdentificationRecordNumber) const
 
bool OpenDailyIdentificationRecord (const int dailyIdentificationRecordNumber)
 
bool CloseDailyIdentificationRecord ()
 
unsigned GetLastOpenDailyIdentificationRecordNumberForRefuellingTicket () const
 
- Public Member Functions inherited from BusinessLogic
 BusinessLogic (ApplicationDefines::BusinessLogicType businessLogicType, ApplicationDefines::BusinessLogicLifeTimeType businessLogicLifeTimeType)
 
virtual ~BusinessLogic ()
 
ApplicationDefines::BusinessLogicType GetBusinessLogicType () const
 
ApplicationDefines::BusinessLogicLifeTimeType GetBusinessLogicLifeTimeType () const
 

Static Public Attributes

static const unsigned UNDEFINED_DAILY_IDENTIFICATION_RECORD_NUMBER = 0
 
static const
ApplicationDefines::BusinessLogicType 
mBusinessLogicType = ApplicationDefines::DailyIdentificationRecordBusinessLogic
 

Constructor & Destructor Documentation

DailyIdentificationRecordBusinessLogic::DailyIdentificationRecordBusinessLogic ( )

Here is the call graph for this function:

DailyIdentificationRecordBusinessLogic::~DailyIdentificationRecordBusinessLogic ( )
virtual

Member Function Documentation

bool DailyIdentificationRecordBusinessLogic::CloseDailyIdentificationRecord ( )
EDuty * DailyIdentificationRecordBusinessLogic::GetActualValidDuty ( const long  driverNumber,
const long  vehicleIdentificationNumber 
)

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::GetCommandNumberFromOnlinePlan ( const long  driverNumber,
const long  vehicleIdentificationNumber,
unsigned long &  foundCommandNumber 
)

Here is the call graph for this function:

bool DailyIdentificationRecordBusinessLogic::GetDailyIdentificationRecordNumberFromOnlinePlan ( const long  driverNumber,
const long  vehicleIdentificationNumber,
QList< EM::Strojcek::VstupneUdaje::Turnusy::EDuty * > &  foundDailyRecords,
unsigned long &  foundCommandNumber 
)

Here is the call graph for this function:

unsigned DailyIdentificationRecordBusinessLogic::GetLastOpenDailyIdentificationRecordNumberForRefuellingTicket ( ) const
QList< EM::Strojcek::VstupneUdaje::Turnusy::EDuty * > DailyIdentificationRecordBusinessLogic::GetValidDuties ( const long  driverNumber,
const long  vehicleIdentificationNumber 
)

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::IsAirConditioningValueRequired ( )

IsAirConditioningValueRequired - Check if air conditioning should be entered when closing daily identification record.

Returns
true if value should be entered, false otherwise

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::IsCommandSuitableForDriverOrVehicle ( const long  commandNumber,
const long  driverNumber,
const long  vehicleIdentificationNumber 
)

Here is the call graph for this function:

bool DailyIdentificationRecordBusinessLogic::IsDailyIdentificationRecordOpen ( unsigned int &  dailyIdentificationRecordNumber) const

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::IsDailyIdentificationRecordUsed ( )

IsDailyIdentificationRecordUsed - Check if daily identification record should be used based on tariff system settings.

Returns
true if daily identification record is used by TS, false otherwise

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::IsHeatingValueRequired ( )

IsHeatingValueRequired - Check if heating value should be entered when closing daily identification record.

Returns
true if value should be entered, false otherwise

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::IsRefueledVolumeRequired ( )

IsRefueledVolumeRequired - Check if refueled volume should be entered when closing daily identification record.

Returns
true if value should be entered, false otherwise

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::IsTachographValueRequired ( )

IsTachographValueRequired - Check if tachograph value should be entered when closing daily identification record.

Returns
true if value should be entered, false otherwise

Here is the caller graph for this function:

bool DailyIdentificationRecordBusinessLogic::OpenDailyIdentificationRecord ( const int  dailyIdentificationRecordNumber)

Member Data Documentation

const ApplicationDefines::BusinessLogicType DailyIdentificationRecordBusinessLogic::mBusinessLogicType = ApplicationDefines::DailyIdentificationRecordBusinessLogic
static
const unsigned DailyIdentificationRecordBusinessLogic::UNDEFINED_DAILY_IDENTIFICATION_RECORD_NUMBER = 0
static

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