Set pid into news to ISMAS (used by Christian to reorder events correctly)
This commit is contained in:
		@@ -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(), static_cast<int>(QCoreApplication::applicationPid()), event, percent, resultCode,
 | 
			
		||||
             step, step_result, version);
 | 
			
		||||
    return buf;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user