kk
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <map>
|
||||
#include <cstring>
|
||||
@@ -109,27 +108,11 @@ int main(int argc, char *argv[])
|
||||
const int csdLength = argumentsString["-csd"].length();
|
||||
char csdArg[32] = {};
|
||||
getCharsFromString(argumentsString["-csd"], csdArg, csdLength);
|
||||
//cout << "csd delka pred: " << strlen(csdArg) << "\n";
|
||||
|
||||
//cout << "csd delka po: " << strlen(csdArg) << "\n";
|
||||
//cout << "csd:" << csdArg << "\n";
|
||||
|
||||
const int cidLength = argumentsString["-cid"].length();
|
||||
char cidArg[32] = {};
|
||||
getCharsFromString(argumentsString["-cid"], cidArg, cidLength);
|
||||
//cout << "cid delka pred: " << strlen(cidArg) << "\n";
|
||||
|
||||
//for (int i=0;i<32;i++) cidArg[i]=argumentsString["-cid"][i];
|
||||
//cout << "cid delka po: " << strlen(cidArg) << "\n";
|
||||
//cout << "cid delka sizeof po: " << sizeof(cidArg) << "\n";
|
||||
//cout << "cid:" << cidArg;
|
||||
|
||||
// char cidTest = getCharArray(argumentsString["-cid"]);
|
||||
|
||||
// PlcLicence plcWriteLicence = PlcLicence(argumentsString);
|
||||
// PlcLicence plcWriteLicence = PlcLicence(cidArg, csdArg, stationName, switchName, licenceType, binaryType, nullptr);
|
||||
// PlcLicence plcWriteLicence = PlcLicence(arguments["-cid"], arguments["-csd"], stationName, switchName, licenceType, binaryType, nullptr);
|
||||
|
||||
PlcLicence plcWriteLicence = PlcLicence(cidArg, csdArg, argumentsString["-outputType"], argumentsString["-configFileName"]);
|
||||
if (plcWriteLicence.CreateLicence() == false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user