Add variables for handling ptu-package-versions and append corresponding data
to CMD_SENDVERSION.
This commit is contained in:
@@ -690,7 +690,8 @@ QString IsmasClient::updateOfPSASendVersion(PSAInstalled const &psa) {
|
||||
"\"libTCP_ZVT_CCPlugin.so\" : {"
|
||||
"\"VERSION\" : \"%s\""
|
||||
"}"
|
||||
"}"
|
||||
"},"
|
||||
"\"PTU-PACKAGE-VERSIONS\" : %s"
|
||||
"}",
|
||||
psa.versionInfo.reason.toStdString().c_str(),
|
||||
psa.versionInfo.created.toStdString().c_str(),
|
||||
@@ -801,9 +802,11 @@ QString IsmasClient::updateOfPSASendVersion(PSAInstalled const &psa) {
|
||||
psa.pluginVersion.mobilisisCalculatePriceConfigUi.toStdString().c_str(),
|
||||
psa.pluginVersion.prmCalculatePrice.toStdString().c_str(),
|
||||
psa.pluginVersion.prmCalculatePriceConfigUi.toStdString().c_str(),
|
||||
psa.pluginVersion.tcpZVT.toStdString().c_str());
|
||||
psa.pluginVersion.tcpZVT.toStdString().c_str(),
|
||||
|
||||
qInfo() << buf;
|
||||
psa.ptuPackageVersion.toStdString().c_str());
|
||||
|
||||
qInfo() << buf;
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
@@ -77,6 +77,8 @@ struct PSAInstalled {
|
||||
|
||||
DC2C print[32];
|
||||
|
||||
QString ptuPackageVersion;
|
||||
|
||||
explicit PSAInstalled() {
|
||||
tariff.name = "N/A";
|
||||
tariff.version = "N/A";
|
||||
|
Reference in New Issue
Block a user