Index: sources/view/hd/alarm/VAlarmStatus.cpp =================================================================== diff -u -ra5760947d3ed0d2748ba023a1c25e3c6aa0b1de1 -ra58f91b077c8131bea3dbde0fc338adb113fc9f3 --- sources/view/hd/alarm/VAlarmStatus.cpp (.../VAlarmStatus.cpp) (revision a5760947d3ed0d2748ba023a1c25e3c6aa0b1de1) +++ sources/view/hd/alarm/VAlarmStatus.cpp (.../VAlarmStatus.cpp) (revision a58f91b077c8131bea3dbde0fc338adb113fc9f3) @@ -25,9 +25,6 @@ ACTION_VIEW_CONNECTION(SettingsData ); ADJUST_VIEW_CONNECTION(AlarmSilenceRequestData ); ADJUST_VIEW_CONNECTION(AlarmUserActionRequestData ); - /* // disabled coco begin validated: Manually tested. This model class is a placeholder and there is no use case for this now. - ADJUST_VIEW_CONNECTION(AlarmClearedConditionRequestData ); - // disabled coco end */ } /*! @@ -86,36 +83,17 @@ } /*! - * \brief VAlarmStatus::doClearCondition - * \details Send out a request to notify alarm condition is cleared - * \note this is an example of how to do the clear condition - * later it may require to have a parameter or it needs to be different slots - * currently there is no use case for this - */ -void View::VAlarmStatus::doClearCondition() -{ - // disabled coco begin validated: Manually tested. This model class is a placeholder for the message 63(0x3F00) and there is no use case for this now. - AlarmClearedConditionRequestData data; - data.alarmID = GuiAlarmID::ALARM_ID_TD_COMM_TIMEOUT; - emit didAdjustment(data); -} -// disabled coco end - -/*! * \brief VAlarmStatus::onActionReceive * \details the message received handler * \param vData - Data of the received message */ void VAlarmStatus::onActionReceive(const AlarmStatusData &vData) { GuiAlarmID alarmID = static_cast(vData.mTop); - // disabled coco begin validated: the gDisableTimeout has meant to only being used for debugging purposes. - // has been manually tested during debugging which works fine as expected. if (alarmID == GuiAlarmID::ALARM_ID_TD_COMM_TIMEOUT && gDisableTimeout) { LOG_DEBUG(tr("Suppressing HD communication timeout.")); return; } - // disabled coco end //// ------ HIDE THE DIALOG - if has NO the alarm ------ // DENBUG-182: Phantom Alarm Screen Appears After Clearing Last Alarm