From e0a0ff54e1f7e5d7ab25ae8ac91d7fad53ae666f Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 28 Sep 2023 12:08:42 +0200 Subject: [PATCH] Added comment for U00-ISMAS values. Deactivated finalResult() --- ismas/ismas_client.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ismas/ismas_client.cpp b/ismas/ismas_client.cpp index 0e5ba65..774ce36 100644 --- a/ismas/ismas_client.cpp +++ b/ismas/ismas_client.cpp @@ -23,6 +23,15 @@ #include #if 0 +######################## +# Spec vom 27.10.2023: +# U0010 -> %-Werte +# U0001 -> 100% +# U0003 -> "FAIL" +# U0002 -> "" (OK -> WAIT state reset) +# ISMAS -> "WAIT" +######################## +# # $1: EVENT: U0001 update finished: 100% # U0002 reset TRG # U0003 error @@ -858,6 +867,7 @@ QString IsmasClient::jsonParseFailed(int resultCode, QString reason, QString con } std::optional IsmasClient::finalResult(int resultCode, QString reason, QString const &version) { + /* m_progressInPercent = 100; if (resultCode == RESULT_CODE::SUCCESS) { return updateNewsToIsmas("U0002", @@ -875,6 +885,7 @@ std::optional IsmasClient::finalResult(int resultCode, QString reason, reason.toStdString().c_str(), version.toStdString().c_str()); } + */ return std::nullopt; }