|
AppCore
|
#include <ECardDataFacadeService.h>
Public Member Functions | |
| ECardDataFacadeService (ECardDataStorage *dataStorage) | |
| ~ECardDataFacadeService () | |
| void | Clear () |
| clear all data More... | |
| ECardFacadeDefines::ReturnValues | Init () |
| set to member actual card implementation and call init on actual implementation More... | |
| bool | GetValidityEnd (unsigned long &validityEnd) const |
| Method returns end validity time of service section on card. More... | |
| bool | SetValidityEnd (const unsigned long validityEnd) const |
| Method sets end validity time of service section on card. More... | |
| bool | GetCardName (std::string &name, ECardFacadeDefines::TextEncoding &encoding) const |
| Method returns name of driver ( if possible from service section, otherwise from common section ) More... | |
| bool | GetPersonalNumber (unsigned long &personalNumber) const |
| Method returns personal number of card holder. More... | |
| bool | GetCardCompanyNumber (unsigned long &companyNumber) const |
| Returns company number that is "permanently" written on card (not the company number that is written during auditor check-in) More... | |
| bool | CheckPassword (const unsigned long pin, bool &matched) const |
| Method performs PIN check with PIN on card. More... | |
| bool | SetDriverNumber (const unsigned long driverNumber) const |
| Function set driver number to service data type on card. More... | |
| bool | GetDriverNumber (unsigned long &driverNumber) const |
| Function get driver number actual service data type on card Method returns number of logged driver which was stored on card during auditor's check in. More... | |
| bool | SetCompanyNumber (const unsigned long companyNumber) const |
| Function company number number to service data type on card. More... | |
| bool | GetCompanyNumber (unsigned long &companyNumber) const |
| Function get company number actual service data type on card. More... | |
| bool | SetLineNumber (const unsigned long lineNumber) const |
| Function set line number to service data type on card. More... | |
| bool | GetLineNumber (unsigned long &lineNumber) const |
| Function get line number actual service data type on card. More... | |
| bool | SetTripNumber (const unsigned long tripNumber) const |
| Function set trip number to service data type on card. More... | |
| bool | GetTripNumber (unsigned long &tripNumber) const |
| Function get trip number actual service data type on card. More... | |
| bool | SetLineOrder (const unsigned short lineOrder) const |
| Function set lone order to service data type on card. More... | |
| bool | GetLineOrder (unsigned short &lineOrder) const |
| Function get line order actual service data type on card. More... | |
| bool | SetZone (const unsigned short actualZone) const |
| Function set zone to service data type on card. More... | |
| bool | SetZone2 (const unsigned short zone2) const |
| Function set zone2 to service data type on card. More... | |
| bool | SetTariffArea (const unsigned short tariffArea) const |
| Function set tariff area to service data type on card. More... | |
| bool | GetTariffArea (unsigned short &tariffArea) const |
| Function get tariff area from card. More... | |
| bool | GetZone (unsigned short &actualZone) const |
| Function get actual zone actual service data type on card. More... | |
| bool | GetZone2 (unsigned short &zone2) const |
| Function get zone2 actual service data type on card. More... | |
| bool | SetProtectNumber (const unsigned short protectNumber) const |
| Function set protect number to service data type on card. More... | |
| bool | GetProtectNumber (unsigned short &protectNumber) const |
| Function get protect number actual service data type on card. More... | |
| bool | SetServiceCounter (const unsigned char serviceCounter) const |
| Funciton set service counter to service data type on card. More... | |
| bool | GetServiceCounter (unsigned char &serviceCounter) const |
| Funciton get service counter to service data type on card. More... | |
| bool | GetServiceCardType (ECardFacadeDefines::ServiceCardType &cardType) const |
| Function get service card type. More... | |
| bool | IsUnlockDataValid (bool &valid) const |
| Functions tells if data containing result of SAM unlocking are present. More... | |
| bool | WasUnlockSuccessfull (bool &successfull) const |
| Function returns if SAM unlocking was successfull (SAM was unlocked) More... | |
| bool | IsCardBlocked (bool &blocked) const |
| Checks the status of card. In case of all cards except Em-DesFire it returns the same as CommonFacade->IsCardBlocked, but in case of EmDesFire it checks status of card, not virtual card (taht is checked by commonFacade) More... | |
| bool | AddDataToWriteRequest (EM::PT::EDataCollection *writeRequest) const |
| bool | AddDataTypeToReadRequest (PT::EAplRequest *readRequest[], const unsigned short dataTypesOperation) const |
| bool | IsModifiedData () const |
| bool | IsCardFeatureEnabled (const ECardFacadeDefines::ServiceCardFeatures feature, bool &enabled) const |
| unsigned short | GetRequiredDataReadOperation () const |
| ECardDataFacadeService (ECardDataStorage *dataStorage) | |
| ~ECardDataFacadeService () | |
| void | Clear () |
| ECardFacadeDefines::ReturnValues | Init () |
| bool | GetValidityEnd (unsigned long &validityEnd) const |
| Method returns end validity time of service section on card. More... | |
| bool | SetValidityEnd (const unsigned long validityEnd) const |
| Method sets end validity time of service section on card. More... | |
| bool | GetCardName (std::string &name, ECardFacadeDefines::TextEncoding &encoding) const |
| Method returns name of driver ( if possible from service section, otherwise from common section ) More... | |
| bool | GetPersonalNumber (unsigned long &personalNumber) const |
| Method returns personal number of card holder. More... | |
| bool | GetCardCompanyNumber (unsigned long &companyNumber) const |
| Returns company number that is "permanently" written on card (not the company number that is written during auditor check-in) More... | |
| bool | CheckPassword (const unsigned long pin, bool &matched) const |
| Method performs PIN check with PIN on card. More... | |
| bool | SetDriverNumber (const unsigned long driverNumber) const |
| Function set driver number to service data type on card. More... | |
| bool | GetDriverNumber (unsigned long &driverNumber) const |
| Function get driver number actual service data type on card Method returns number of logged driver which was stored on card during auditor's check in. More... | |
| bool | SetCompanyNumber (const unsigned long companyNumber) const |
| Function company number number to service data type on card. More... | |
| bool | GetCompanyNumber (unsigned long &companyNumber) const |
| Function get company number actual service data type on card. More... | |
| bool | SetLineNumber (const unsigned long lineNumber) const |
| Function set line number to service data type on card. More... | |
| bool | GetLineNumber (unsigned long &lineNumber) const |
| Function get line number actual service data type on card. More... | |
| bool | SetTripNumber (const unsigned long tripNumber) const |
| Function set trip number to service data type on card. More... | |
| bool | GetTripNumber (unsigned long &tripNumber) const |
| Function get trip number actual service data type on card. More... | |
| bool | SetLineOrder (const unsigned short lineOrder) const |
| Function set lone order to service data type on card. More... | |
| bool | GetLineOrder (unsigned short &lineOrder) const |
| Function get line order actual service data type on card. More... | |
| bool | SetZone (const unsigned short actualZone) const |
| Function set zone to service data type on card. More... | |
| bool | SetZone2 (const unsigned short zone2) const |
| Function set zone2 to service data type on card. More... | |
| bool | SetTariffArea (const unsigned short tariffArea) const |
| Function set tariff area to service data type on card. More... | |
| bool | GetTariffArea (unsigned short &tariffArea) const |
| Function get tariff area from card. More... | |
| bool | GetZone (unsigned short &actualZone) const |
| Function get actual zone actual service data type on card. More... | |
| bool | GetZone2 (unsigned short &zone2) const |
| Function get zone2 actual service data type on card. More... | |
| bool | SetProtectNumber (const unsigned short protectNumber) const |
| Function set protect number to service data type on card. More... | |
| bool | GetProtectNumber (unsigned short &protectNumber) const |
| Function get protect number actual service data type on card. More... | |
| bool | SetServiceCounter (const unsigned char serviceCounter) const |
| Funciton set service counter to service data type on card. More... | |
| bool | GetServiceCounter (unsigned char &serviceCounter) const |
| Funciton get service counter to service data type on card. More... | |
| bool | GetServiceCardType (ECardFacadeDefines::ServiceCardType &cardType) const |
| Function get service card type. More... | |
| bool | IsUnlockDataValid (bool &valid) const |
| Functions tells if data containing result of SAM unlocking are present. More... | |
| bool | WasUnlockSuccessfull (bool &successfull) const |
| Function returns if SAM unlocking was successfull (SAM was unlocked) More... | |
| bool | IsCardBlocked (bool &blocked) const |
| Checks the status of card. In case of all cards except Em-DesFire it returns the same as CommonFacade->IsCardBlocked, but in case of EmDesFire it checks status of card, not virtual card (taht is checked by commonFacade) More... | |
| bool | AddDataToWriteRequest (EM::PT::EDataCollection *writeRequest) const |
| bool | AddDataTypeToReadRequest (PT::EAplRequest *readRequest[], const unsigned short dataTypesOperation) const |
| bool | IsModifiedData () const |
| bool | IsCardFeatureEnabled (const ECardFacadeDefines::ServiceCardFeatures feature, bool &enabled) const |
| unsigned short | GetRequiredDataReadOperation () const |
| INTERNAL ECardDataFacadeService::ECardDataFacadeService | ( | ECardDataStorage * | dataStorage | ) |
CONSTRUCTOR
| ECardDataFacadeService::~ECardDataFacadeService | ( | ) |
DESTRUCTOR
| EM::CardFacade::ECardDataFacadeService::ECardDataFacadeService | ( | ECardDataStorage * | dataStorage | ) |
| EM::CardFacade::ECardDataFacadeService::~ECardDataFacadeService | ( | ) |
| bool EM::CardFacade::ECardDataFacadeService::AddDataToWriteRequest | ( | EM::PT::EDataCollection * | writeRequest | ) | const |
| bool EM::CardFacade::ECardDataFacadeService::AddDataToWriteRequest | ( | EM::PT::EDataCollection * | writeRequest | ) | const |
| bool EM::CardFacade::ECardDataFacadeService::AddDataTypeToReadRequest | ( | PT::EAplRequest * | readRequest[], |
| const unsigned short | dataTypesOperation | ||
| ) | const |
| bool EM::CardFacade::ECardDataFacadeService::AddDataTypeToReadRequest | ( | PT::EAplRequest * | readRequest[], |
| const unsigned short | dataTypesOperation | ||
| ) | const |
| bool ECardDataFacadeService::CheckPassword | ( | const unsigned long | pin, |
| bool & | matched | ||
| ) | const |
Method performs PIN check with PIN on card.
| pin | PIN to be matched |
| matched | returns whether password was matched |
CheckPassword
| bool EM::CardFacade::ECardDataFacadeService::CheckPassword | ( | const unsigned long | pin, |
| bool & | matched | ||
| ) | const |
Method performs PIN check with PIN on card.
| pin | PIN to be matched |
| matched | returns whether password was matched |
| EM::CardFacade::ECardDataFacadeService::Clear | ( | ) |
clear all data
Clear
| void EM::CardFacade::ECardDataFacadeService::Clear | ( | ) |
| bool EM::CardFacade::ECardDataFacadeService::GetCardCompanyNumber | ( | unsigned long & | companyNumber | ) | const |
Returns company number that is "permanently" written on card (not the company number that is written during auditor check-in)
| companyNumber |
| bool ECardDataFacadeService::GetCardCompanyNumber | ( | unsigned long & | companyNumber | ) | const |
Returns company number that is "permanently" written on card (not the company number that is written during auditor check-in)
| companyNumber |
GetCardCompanyNumber

| bool ECardDataFacadeService::GetCardName | ( | std::string & | name, |
| ECardFacadeDefines::TextEncoding & | encoding | ||
| ) | const |
Method returns name of driver ( if possible from service section, otherwise from common section )
| name | returned name of driver |
| encoding | returned encoding of text if determined |
GetCardName
| bool EM::CardFacade::ECardDataFacadeService::GetCardName | ( | std::string & | name, |
| ECardFacadeDefines::TextEncoding & | encoding | ||
| ) | const |
Method returns name of driver ( if possible from service section, otherwise from common section )
| name | returned name of driver |
| encoding | returned encoding of text if determined |
| bool ECardDataFacadeService::GetCompanyNumber | ( | unsigned long & | companyNumber | ) | const |
Function get company number actual service data type on card.
GetCompanyNumber
| bool EM::CardFacade::ECardDataFacadeService::GetCompanyNumber | ( | unsigned long & | companyNumber | ) | const |
Function get company number actual service data type on card.
| bool ECardDataFacadeService::GetDriverNumber | ( | unsigned long & | driverNumber | ) | const |
Function get driver number actual service data type on card Method returns number of logged driver which was stored on card during auditor's check in.
| driverNumber | - number of driver logged in vehicle, stored on card |
GetDriverNumber
| bool EM::CardFacade::ECardDataFacadeService::GetDriverNumber | ( | unsigned long & | driverNumber | ) | const |
Function get driver number actual service data type on card Method returns number of logged driver which was stored on card during auditor's check in.
| driverNumber | - number of driver logged in vehicle, stored on card |
| bool EM::CardFacade::ECardDataFacadeService::GetLineNumber | ( | unsigned long & | lineNumber | ) | const |
Function get line number actual service data type on card.
| bool ECardDataFacadeService::GetLineNumber | ( | unsigned long & | lineNumber | ) | const |
Function get line number actual service data type on card.
GetLineNumber
| bool ECardDataFacadeService::GetLineOrder | ( | unsigned short & | lineOrder | ) | const |
Function get line order actual service data type on card.
GetLineOrder
| bool EM::CardFacade::ECardDataFacadeService::GetLineOrder | ( | unsigned short & | lineOrder | ) | const |
Function get line order actual service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::GetPersonalNumber | ( | unsigned long & | personalNumber | ) | const |
Method returns personal number of card holder.
| personalNumber | returned personal number of card holder. |
| bool ECardDataFacadeService::GetPersonalNumber | ( | unsigned long & | personalNumber | ) | const |
Method returns personal number of card holder.
| personalNumber | returned personal number of card holder. |
GetPersonalNumber

| bool ECardDataFacadeService::GetProtectNumber | ( | unsigned short & | protectNumber | ) | const |
Function get protect number actual service data type on card.
GetProtectNumber
| bool EM::CardFacade::ECardDataFacadeService::GetProtectNumber | ( | unsigned short & | protectNumber | ) | const |
Function get protect number actual service data type on card.
| unsigned short ECardDataFacadeService::GetRequiredDataReadOperation | ( | ) | const |

| unsigned short EM::CardFacade::ECardDataFacadeService::GetRequiredDataReadOperation | ( | ) | const |
| bool EM::CardFacade::ECardDataFacadeService::GetServiceCardType | ( | ECardFacadeDefines::ServiceCardType & | cardType | ) | const |
Function get service card type.
| bool ECardDataFacadeService::GetServiceCardType | ( | ECardFacadeDefines::ServiceCardType & | cardType | ) | const |
Function get service card type.
GetServiceCardType

| bool EM::CardFacade::ECardDataFacadeService::GetServiceCounter | ( | unsigned char & | serviceCounter | ) | const |
Funciton get service counter to service data type on card.
| bool ECardDataFacadeService::GetServiceCounter | ( | unsigned char & | serviceCounter | ) | const |
Funciton get service counter to service data type on card.
| bool ECardDataFacadeService::GetTariffArea | ( | unsigned short & | tariffArea | ) | const |
Function get tariff area from card.
| bool EM::CardFacade::ECardDataFacadeService::GetTariffArea | ( | unsigned short & | tariffArea | ) | const |
Function get tariff area from card.
| bool ECardDataFacadeService::GetTripNumber | ( | unsigned long & | tripNumber | ) | const |
Function get trip number actual service data type on card.
GetTripNumber
| bool EM::CardFacade::ECardDataFacadeService::GetTripNumber | ( | unsigned long & | tripNumber | ) | const |
Function get trip number actual service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::GetValidityEnd | ( | unsigned long & | validityEnd | ) | const |
Method returns end validity time of service section on card.
| validityEnd | returned end validity of service section on card |
| bool ECardDataFacadeService::GetValidityEnd | ( | unsigned long & | validityEnd | ) | const |
Method returns end validity time of service section on card.
| validityEnd | returned end validity of service section on card |
GetValidityEnd

| bool ECardDataFacadeService::GetZone | ( | unsigned short & | actualZone | ) | const |
Function get actual zone actual service data type on card.
GetZone
| bool EM::CardFacade::ECardDataFacadeService::GetZone | ( | unsigned short & | actualZone | ) | const |
Function get actual zone actual service data type on card.
| bool ECardDataFacadeService::GetZone2 | ( | unsigned short & | zone2 | ) | const |
Function get zone2 actual service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::GetZone2 | ( | unsigned short & | zone2 | ) | const |
Function get zone2 actual service data type on card.
| ECardFacadeDefines::ReturnValues EM::CardFacade::ECardDataFacadeService::Init | ( | ) |
| EM::CardFacade::ECardDataFacadeService::Init | ( | ) |
set to member actual card implementation and call init on actual implementation
Init
| bool ECardDataFacadeService::IsCardBlocked | ( | bool & | blocked | ) | const |
Checks the status of card. In case of all cards except Em-DesFire it returns the same as CommonFacade->IsCardBlocked, but in case of EmDesFire it checks status of card, not virtual card (taht is checked by commonFacade)
| bool EM::CardFacade::ECardDataFacadeService::IsCardBlocked | ( | bool & | blocked | ) | const |
Checks the status of card. In case of all cards except Em-DesFire it returns the same as CommonFacade->IsCardBlocked, but in case of EmDesFire it checks status of card, not virtual card (taht is checked by commonFacade)
| bool ECardDataFacadeService::IsCardFeatureEnabled | ( | const ECardFacadeDefines::ServiceCardFeatures | feature, |
| bool & | enabled | ||
| ) | const |
| bool EM::CardFacade::ECardDataFacadeService::IsCardFeatureEnabled | ( | const ECardFacadeDefines::ServiceCardFeatures | feature, |
| bool & | enabled | ||
| ) | const |
| bool ECardDataFacadeService::IsModifiedData | ( | ) | const |
IsModifiedData
| bool EM::CardFacade::ECardDataFacadeService::IsModifiedData | ( | ) | const |
| bool EM::CardFacade::ECardDataFacadeService::IsUnlockDataValid | ( | bool & | valid | ) | const |
Functions tells if data containing result of SAM unlocking are present.
| bool ECardDataFacadeService::IsUnlockDataValid | ( | bool & | valid | ) | const |
Functions tells if data containing result of SAM unlocking are present.
IsUnlockDataValid
| bool ECardDataFacadeService::SetCompanyNumber | ( | const unsigned long | companyNumber | ) | const |
Function company number number to service data type on card.
SetCompanyNumber
| bool EM::CardFacade::ECardDataFacadeService::SetCompanyNumber | ( | const unsigned long | companyNumber | ) | const |
Function company number number to service data type on card.
| bool ECardDataFacadeService::SetDriverNumber | ( | const unsigned long | driverNumber | ) | const |
Function set driver number to service data type on card.
SetDriverNumber
| bool EM::CardFacade::ECardDataFacadeService::SetDriverNumber | ( | const unsigned long | driverNumber | ) | const |
Function set driver number to service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::SetLineNumber | ( | const unsigned long | lineNumber | ) | const |
Function set line number to service data type on card.
| bool ECardDataFacadeService::SetLineNumber | ( | const unsigned long | lineNumber | ) | const |
Function set line number to service data type on card.
SetLineNumber
| bool ECardDataFacadeService::SetLineOrder | ( | const unsigned short | lineOrder | ) | const |
Function set lone order to service data type on card.
SetLineOrder
| bool EM::CardFacade::ECardDataFacadeService::SetLineOrder | ( | const unsigned short | lineOrder | ) | const |
Function set lone order to service data type on card.
| bool ECardDataFacadeService::SetProtectNumber | ( | const unsigned short | protectNumber | ) | const |
Function set protect number to service data type on card.
SetProtectNumber
| bool EM::CardFacade::ECardDataFacadeService::SetProtectNumber | ( | const unsigned short | protectNumber | ) | const |
Function set protect number to service data type on card.
| bool ECardDataFacadeService::SetServiceCounter | ( | const unsigned char | serviceCounter | ) | const |
Funciton set service counter to service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::SetServiceCounter | ( | const unsigned char | serviceCounter | ) | const |
Funciton set service counter to service data type on card.
| bool ECardDataFacadeService::SetTariffArea | ( | const unsigned short | tariffArea | ) | const |
Function set tariff area to service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::SetTariffArea | ( | const unsigned short | tariffArea | ) | const |
Function set tariff area to service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::SetTripNumber | ( | const unsigned long | tripNumber | ) | const |
Function set trip number to service data type on card.
| bool ECardDataFacadeService::SetTripNumber | ( | const unsigned long | tripNumber | ) | const |
Function set trip number to service data type on card.
SetTripNumber
| bool ECardDataFacadeService::SetValidityEnd | ( | const unsigned long | validityEnd | ) | const |
Method sets end validity time of service section on card.
| validityEnd | end validity of service section on card to be set |
SetValidityEnd
| bool EM::CardFacade::ECardDataFacadeService::SetValidityEnd | ( | const unsigned long | validityEnd | ) | const |
Method sets end validity time of service section on card.
| validityEnd | end validity of service section on card to be set |
| bool ECardDataFacadeService::SetZone | ( | const unsigned short | actualZone | ) | const |
Function set zone to service data type on card.
SetZone
| bool EM::CardFacade::ECardDataFacadeService::SetZone | ( | const unsigned short | actualZone | ) | const |
Function set zone to service data type on card.
| bool ECardDataFacadeService::SetZone2 | ( | const unsigned short | zone2 | ) | const |
Function set zone2 to service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::SetZone2 | ( | const unsigned short | zone2 | ) | const |
Function set zone2 to service data type on card.
| bool EM::CardFacade::ECardDataFacadeService::WasUnlockSuccessfull | ( | bool & | successfull | ) | const |
Function returns if SAM unlocking was successfull (SAM was unlocked)
| bool ECardDataFacadeService::WasUnlockSuccessfull | ( | bool & | successfull | ) | const |
Function returns if SAM unlocking was successfull (SAM was unlocked)
WasUnlockSuccessfull
1.8.8