diff --git a/UpdatePTUDevCtrl/worker.h b/UpdatePTUDevCtrl/worker.h index e1e167b..bc66063 100644 --- a/UpdatePTUDevCtrl/worker.h +++ b/UpdatePTUDevCtrl/worker.h @@ -894,10 +894,24 @@ private: } break; case UPDATE_STEP::CHECK_ISMAS_TRIGGER_SUCCESS: { ismasClient.setProgressInPercent(_CHECK_ISMAS_TRIGGER_SUCCESS); - ismasClient.sendRequestReceiveResponse(IsmasClient::APISM::DB_PORT, + QString const &ismasUpdateNews = QString("#M=APISM#C=CMD_EVENT#J=") + - ismasClient.updateTriggerSet("ISMAS TRIGGER SET", - instance->m_versionInfo.size() >= 1 ? instance->m_versionInfo.at(0).toUtf8().constData() : "N/A")); + ismasClient.updateNewsToIsmas( + _ISMAS_CONTINUE, // + _CHECK_ISMAS_TRIGGER_SUCCESS, + (instance->m_updateNotNecessary) + ? IsmasClient::RESULT_CODE::NO_UPDATE_NECESSARY + : IsmasClient::RESULT_CODE::SUCCESS, + smap[UPDATE_STEP::CHECK_ISMAS_TRIGGER_SUCCESS], + instance->m_updateNotNecessary + ? QString("NO-UPDATE-NECESSARY (%1:%2)") + .arg(instance->m_customerRepository) + .arg(instance->m_gc.branchName()).toStdString().c_str() + : QString("ISMAS-TRIGGER ON WAIT").toStdString().c_str(), + instance->m_versionInfo.size() >= 1 + ? instance->m_versionInfo.at(0).toUtf8().constData() : "N/A"); + ismasClient.sendRequestReceiveResponse( + IsmasClient::APISM::DB_PORT, ismasUpdateNews); } break; case UPDATE_STEP::CHECK_ISMAS_TRIGGER_WRONG_VALUE: { ismasClient.setProgressInPercent(_CHECK_ISMAS_TRIGGER_WRONG_VALUE);