#include "VROGenWaterMode.h" // Project #include "GuiController.h" VIEW_DEF(VROGenWaterMode, ROGenWaterModeData) void VROGenWaterMode::onActionReceive(const ROGenWaterModeData &vData) { genWaterExecState ( vData.mGenwaterexecstate ); setFlowRate ( vData.mSetflowrate ); // *** 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 ); }