ELC 3
This commit is contained in:
@@ -52,6 +52,7 @@ enum class GeneralError
|
||||
LicenceSizeCardMismatch = 53,
|
||||
LicenceMismatch = 54,
|
||||
LicenceCRCMismatch = 54,
|
||||
UIDReadError = 55,
|
||||
ItemsCountMismatch = 61
|
||||
};
|
||||
|
||||
@@ -168,6 +169,13 @@ struct LicenceELC2Info
|
||||
map<DWORD, DWORD> licences = {};
|
||||
};
|
||||
|
||||
/* struktury pro ELC 3 */
|
||||
// defaultní struktura pro ELC 3
|
||||
struct LicenceELC3Info
|
||||
{
|
||||
map<DWORD, DWORD> licences = {};
|
||||
};
|
||||
|
||||
// struct LicenceELC2Info_1
|
||||
// {
|
||||
// map<int, int> licences = {};
|
||||
@@ -180,13 +188,27 @@ struct LicenceELC2Item
|
||||
DWORD dataPointsCount{};
|
||||
};
|
||||
|
||||
// struktura polozky ELC 2,
|
||||
// struktura polozky ELC 2 pro další kompatibility
|
||||
struct LicenceELC2Item_1
|
||||
{
|
||||
DWORD protocolId{};
|
||||
DWORD dataPointsCount{};
|
||||
};
|
||||
|
||||
// defaultni struktura polozky ELC 3
|
||||
struct LicenceELC3Item
|
||||
{
|
||||
DWORD protocolId{};
|
||||
DWORD dataPointsCount{};
|
||||
};
|
||||
|
||||
// struktura polozky ELC 3 pro další kompatibility,
|
||||
struct LicenceELC3Item_1
|
||||
{
|
||||
DWORD protocolId{};
|
||||
DWORD dataPointsCount{};
|
||||
};
|
||||
|
||||
class LicenceException : public std::exception
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user