/*! * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file VTreatmentAdjustmentHDVersions.cpp * \author (last) Peman Montazemi * \date (last) 6-Nov-2020 * \author (original) Peman Montazemi * \date (original) 6-Nov-2020 * */ #include "VTreatmentAdjustmentHDVersions.h" // Project #include "guicontroller.h" VIEW_DEF_CLASS_ADJUSTMENT(VTreatmentAdjustmentHDVersions, AdjustHDVersionsResponseData) void VTreatmentAdjustmentHDVersions::initConnections() { ACTION_VIEW_CONNECTION(AdjustHDVersionsResponseData); ADJUST_VIEW_CONNECTION( AdjustVersionsRequestData); } void VTreatmentAdjustmentHDVersions::onActionReceive(const AdjustHDVersionsResponseData &vData) { verMajor (vData.mMajor ); verMinor (vData.mMinor ); verMicro (vData.mMicro ); verBuild (vData.mBuild ); verFPGAId (vData.mFPGAId ); verFPGAMajor (vData.mFPGAMajor); verFPGAMinor (vData.mFPGAMinor); verFPGALab (vData.mFPGALab ); // *** has to be the last to let the information to be set and then emit the signal *** // *** otherwise will use the previous values before being set. *** adjustment(true); // set here only because adjustment parent needs it, but HD Versions does not }