Index: sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp =================================================================== diff -u -r2216ac6ac7f77437a7c29ac8b4043be01bc4609e -rb3eb8bc9696c4db9867ad1cf13b47c455a94e0fe --- sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision 2216ac6ac7f77437a7c29ac8b4043be01bc4609e) +++ sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision b3eb8bc9696c4db9867ad1cf13b47c455a94e0fe) @@ -32,6 +32,11 @@ void View::VPostTreatmentAdjustmentTreatmentLog::initConnections() { ADJUST_VIEW_CONNECTION(AdjustTreatmentLogRequestData ); ACTION_VIEW_CONNECTION(AdjustTreatmentLogResponseData); + + ACTION_VIEW_CONNECTION(TreatmentLogAvrgeData); + ACTION_VIEW_CONNECTION(TreatmentLogAlarmData); + ACTION_VIEW_CONNECTION(TreatmentLogEventData); + connect(&_TreatmentLog , &TreatmentLog::isIdleNotified, this , [=](bool vIdle){isIdle(vIdle);}); } @@ -46,6 +51,14 @@ } /*! + * \brief View::VPostTreatmentAdjustmentTreatmentLog::doExport + * \details the invocable slot to send user's treatment log export request to the controller + */ +void View::VPostTreatmentAdjustmentTreatmentLog::doExport() { + _TreatmentLog.doExport(); +} + +/*! * \brief VPostTreatmentAdjustmentUltrafiltrationInit::onActionReceive * \details received response model data handler * \param vData - model data @@ -101,6 +114,11 @@ adjustment ( true ); } -void View::VPostTreatmentAdjustmentTreatmentLog::doExport() { - _TreatmentLog.doExport(); -} +/*! + * \brief VPostTreatmentAdjustmentUltrafiltrationInit::onActionReceive + * \details received response model data handler + * \param vData - model data + */ +void View::VPostTreatmentAdjustmentTreatmentLog::onActionReceive(const TreatmentLogAvrgeData &vData){ _TreatmentLog.append(vData); } +void View::VPostTreatmentAdjustmentTreatmentLog::onActionReceive(const TreatmentLogAlarmData &vData){ _TreatmentLog.append(vData); } +void View::VPostTreatmentAdjustmentTreatmentLog::onActionReceive(const TreatmentLogEventData &vData){ _TreatmentLog.append(vData); }