1 #ifndef ECARDDATAFACADESERVICE_H
2#define ECARDDATAFACADESERVICE_H
5#include "appcore/cardfacade/ECardFacadeDefines.h"
12 class EDataCollection;
17 class ECardDataStorage;
18 class DLL_API ECardDataFacadeService
140 bool SetZone(
const unsigned short actualZone )
const;
160 bool GetZone(
unsigned short &actualZone )
const;
#define DLL_API
Definition ECardFacadeDefines.h:8
bool GetZone2(unsigned short &zone2) const
Function get zone2 actual service data type on card.
bool IsCardFeatureEnabled(const ECardFacadeDefines::ServiceCardFeatures feature, bool &enabled) const
bool SetTripNumber(const unsigned long tripNumber) const
Function set trip number to service data type on card.
bool GetProtectNumber(unsigned short &protectNumber) const
Function get protect number actual service data type on card.
bool SetTariffArea(const unsigned short tariffArea) const
Function set tariff area to service data type on card.
bool SetZone(const unsigned short actualZone) const
Function set zone to service data type on card.
bool SetServiceCounter(const unsigned char serviceCounter) const
Funciton set service counter to service data type on card.
unsigned short GetRequiredDataReadOperation() const
~ECardDataFacadeService()
bool SetValidityEnd(const unsigned long validityEnd) const
Method sets end validity time of service section on card.
bool CheckPassword(const unsigned long pin, bool &matched) const
Method performs PIN check with PIN on card.
bool AddDataTypeToReadRequest(PT::EAplRequest *readRequest[], const unsigned short dataTypesOperation) const
bool SetProtectNumber(const unsigned short protectNumber) const
Function set protect number to service data type on card.
bool IsUnlockDataValid(bool &valid) const
Functions tells if data containing result of SAM unlocking are present.
bool GetPersonalNumber(unsigned long &personalNumber) const
Method returns personal number of card holder.
bool GetCompanyNumber(unsigned long &companyNumber) const
Function get company number actual service data type on card.
bool SetCompanyNumber(const unsigned long companyNumber) const
Function company number number to service data type on card.
ECardFacadeDefines::ReturnValues Init()
bool GetValidityEnd(unsigned long &validityEnd) const
Method returns end validity time of service section on card.
bool SetLineOrder(const unsigned short lineOrder) const
Function set lone order to service data type on card.
bool AddDataToWriteRequest(EM::PT::EDataCollection *writeRequest) const
bool IsModifiedData() const
bool GetDriverNumber(unsigned long &driverNumber) const
Function get driver number actual service data type on card Method returns number of logged driver wh...
bool SetLineNumber(const unsigned long lineNumber) const
Function set line number to service data type on card.
bool GetServiceCardType(ECardFacadeDefines::ServiceCardType &cardType) const
Function get service card type.
bool GetServiceCounter(unsigned char &serviceCounter) const
Funciton get service counter to service data type on card.
bool GetTripNumber(unsigned long &tripNumber) const
Function get trip number actual service data type on card.
bool GetTariffArea(unsigned short &tariffArea) const
Function get tariff area from card.
bool GetCardName(std::string &name, ECardFacadeDefines::TextEncoding &encoding) const
Method returns name of driver ( if possible from service section, otherwise from common section )
bool IsCardBlocked(bool &blocked) const
Checks the status of card. In case of all cards except Em-DesFire it returns the same as CommonFacade...
bool SetDriverNumber(const unsigned long driverNumber) const
Function set driver number to service data type on card.
bool WasUnlockSuccessfull(bool &successfull) const
Function returns if SAM unlocking was successfull (SAM was unlocked)
bool SetZone2(const unsigned short zone2) const
Function set zone2 to service data type on card.
ECardDataFacadeService(ECardDataStorage *dataStorage)
bool GetCardCompanyNumber(unsigned long &companyNumber) const
Returns company number that is "permanently" written on card (not the company number that is written ...
bool GetZone(unsigned short &actualZone) const
Function get actual zone actual service data type on card.
bool GetLineNumber(unsigned long &lineNumber) const
Function get line number actual service data type on card.
bool GetLineOrder(unsigned short &lineOrder) const
Function get line order actual service data type on card.
card data storage, who fill if card readed
Definition ECardDataStorage.h:60
ServiceCardFeatures
Definition ECardFacadeDefines.h:104
ReturnValues
Definition ECardFacadeDefines.h:145
ServiceCardType
Definition ECardFacadeDefines.h:239
TextEncoding
Definition ECardFacadeDefines.h:217
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7