oddělení, čištění, kontrola ELC1
This commit is contained in:
@@ -7,19 +7,20 @@
|
||||
#include <stdint.h>
|
||||
#include "pugixml.hpp"
|
||||
#include "licenceCommon.h"
|
||||
#include "licenceELC11.h"
|
||||
#include "licenceELC21.h"
|
||||
#include "licenceELC31.h"
|
||||
// #include "licenceELC11.h"
|
||||
// #include "licenceELC21.h"
|
||||
// #include "licenceELC31.h"
|
||||
|
||||
#include "licGenELC1.h"
|
||||
#include "licGenELC2.h"
|
||||
#include "licGenELC3.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
class LicenceGenerator
|
||||
{
|
||||
|
||||
public:
|
||||
struct LicData
|
||||
{
|
||||
string station = "";
|
||||
@@ -32,31 +33,27 @@ class LicenceGenerator
|
||||
pugi::xml_document *doc;
|
||||
};
|
||||
|
||||
public:
|
||||
LicData licData;
|
||||
int elcSwitchType;
|
||||
string operationErrors = "";
|
||||
pugi::xml_document doc;
|
||||
bool argumentsCorrect = false;
|
||||
ErrorMessage error;
|
||||
LicenceELC11 *licence11;
|
||||
LicenceELC21 *licence21;
|
||||
LicenceELC31 *licence31;
|
||||
// LicenceELC11 *licence11;
|
||||
// LicenceELC21 *licence21;
|
||||
// LicenceELC31 *licence31;
|
||||
Mapping mapping;
|
||||
|
||||
|
||||
LicenceGenerator();
|
||||
~LicenceGenerator();
|
||||
LicenceGenerator(string uid, string cid, string csd, string dataFileName);
|
||||
|
||||
|
||||
void createLicenceFile();
|
||||
|
||||
|
||||
LicenceInfoGeneral licenceInfo;
|
||||
|
||||
|
||||
private:
|
||||
LicenceIdentification licIdentification;
|
||||
LicData licData;
|
||||
string configFileName = "";
|
||||
|
||||
void *licence = nullptr;
|
||||
@@ -66,7 +63,6 @@ private:
|
||||
void createLicenceELC1();
|
||||
void createLicenceELC2();
|
||||
void createLicenceELC3();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user