Upravy popisků

This commit is contained in:
2024-04-03 09:38:01 +02:00
parent 2175852bc0
commit 79cc4998bc
3 changed files with 7 additions and 6 deletions

View File

@@ -51,9 +51,9 @@ enum class GeneralError
enum class ELCType
{
ELC1 = 1,
ELC2 = 2,
ELC3 = 3
ELC1 = 1, //starý původní licenční soubor
ELC2 = 2, //modifikovaný starý licenční soubor umoznující modifikace dle paramatetrů
ELC3 = 3 //budoucí softwarový licenční soubor, který není zalození na existenci CID a CSD
};
enum class ELCSubType
{
@@ -90,6 +90,7 @@ enum class FileNameGenerationType
DEFAULT = 1
};
//indexy musí být velká písmena ze základní ASCI tabulky
struct Mapping
{
unordered_map<string, LicenceType> licMapTypes = {{"EOV_OSV", LicenceType::EOS_EOV}, {"DDTS", LicenceType::DDTS}, {"DRT", LicenceType::DRT}};
@@ -105,13 +106,13 @@ struct ErrorMessage
struct LicenceIdentification
{
ELCType licElcType = ELCType::ELC2;
ELCType licElcType = ELCType::ELC2; //hlavní typ licenčního souboru
LicenceType licLicenceType;
string licTypeName = "";
PlcType licPlcType;
uint8_t licenceVersion = 1; // verze licence, určuje kodování, pojmenování souborů
uint8_t licenceIndex = 0;
uint8_t licenceIndex = 0; //index licenčního souboru v případě, ze jich je víc
uint8_t revision;
uint8_t licCompatibility = 0; // identikator hlavního ELC. 0 = nedefinová a vrací se defaultní k danému ELC
uint16_t licItemsCount = 0;

Binary file not shown.