Use pid of update-tool as event-id. (used by christian)
This commit is contained in:
parent
061c57ef51
commit
8a2d710cf8
@ -21,6 +21,7 @@
|
||||
#include <QThread>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include <QCoreApplication>
|
||||
|
||||
#if 0
|
||||
########################
|
||||
@ -380,7 +381,7 @@ QString IsmasClient::updateNewsToIsmas(char const *event,
|
||||
"{"
|
||||
"\"REASON\":\"SW_UP\","
|
||||
"\"TIMESTAMP\":\"%s\","
|
||||
"\"EVENT_ID\":\"0\","
|
||||
"\"EVENT_ID\":\"%d\","
|
||||
"\"EVENT\":\"%s\","
|
||||
"\"EVENTSTATE\":1,"
|
||||
"\"PARAMETER\": {"
|
||||
@ -390,7 +391,7 @@ QString IsmasClient::updateNewsToIsmas(char const *event,
|
||||
"\"STEP_RESULT\" : \"%s\","
|
||||
"\"VERSION\" : \"%s\""
|
||||
"}"
|
||||
"}", ts.toStdString().c_str(), event, percent, resultCode,
|
||||
"}", ts.toStdString().c_str(), QCoreApplication::pid(), event, percent, resultCode,
|
||||
step, step_result, version);
|
||||
return buf;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user