/*! * * 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 VDGDrainPumpData.cpp * \date 7/2/2020 * \author Behrouz NematiPour * */ #include "VDGDrainPumpData.h" // Project #include "GuiController.h" VIEW_DEF(VDGDrainPump, DGDrainPumpData) /*! * \brief VDGDrainPump::onActionReceive * \details Model data received message handler. * When signal received this method is called to update the view properties. * \param vData - Model data */ void VDGDrainPump::onActionReceive(const DGDrainPumpData &vData) { rpm ( vData.mRPM ); dac ( vData.mDAC ); }