oddělení, čištění, kontrola ELC1
This commit is contained in:
43
_old/licenceELC31.h
Normal file
43
_old/licenceELC31.h
Normal file
@@ -0,0 +1,43 @@
|
||||
#ifndef PLC_LICENCE31_H
|
||||
#define PLC_LICENCE31_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include "utils.h"
|
||||
#include "licenceCommon.h"
|
||||
#include "pugixml.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class LicenceELC31
|
||||
{
|
||||
struct LicData
|
||||
{
|
||||
string station = "";
|
||||
string distributor = "";
|
||||
string licenceName = "";
|
||||
string projectDescription = "";
|
||||
string cid = ""; // CID z SD karty
|
||||
string csd = ""; // CSD z SD karty
|
||||
string uid = ""; // jedinečný identifikátor z jiného systému
|
||||
pugi::xml_document *doc;
|
||||
};
|
||||
|
||||
LicData lData;
|
||||
bool processInputConfiguration();
|
||||
LicenceIdentification lIdentification;
|
||||
|
||||
|
||||
public:
|
||||
LicenceELC31();
|
||||
~LicenceELC31();
|
||||
LicenceELC31(LicData & licData);
|
||||
LicenceELC31(LicenceIdentification & licIdentification);
|
||||
void createLicence();
|
||||
void readLicence();
|
||||
int getDataPointsCount(int protocolId);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user