Index: sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp =================================================================== diff -u -r89736e4c0a2e534eeeee5395a4537d08a3d0f3bd -rb41595237e9943f367b58b79e3304e5879719abf --- sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp (.../VDisinfectAdjustDisinfect.cpp) (revision 89736e4c0a2e534eeeee5395a4537d08a3d0f3bd) +++ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp (.../VDisinfectAdjustDisinfect.cpp) (revision b41595237e9943f367b58b79e3304e5879719abf) @@ -6,8 +6,8 @@ * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file VDisinfectAdjustDisinfect.cpp - * \author (last) Behrouz NematiPour - * \date (last) 28-May-2023 + * \author (last) Dara Navaei + * \date (last) 16-Jul-2024 * \author (original) Behrouz NematiPour * \date (original) 18-Apr-2021 * @@ -63,10 +63,11 @@ // *** otherwise will use the Previous values before being set. *** switch ( _data.mState ) { case GuiDisinfectDGStates::DG_DISINFECT_FLUSH_STATE : adjustment_DisinfectStartFlush (true); break; - case GuiDisinfectDGStates::DG_DISINFECT_HEAT_STATE : adjustment_DisinfectStartHeat (true); break; + case GuiDisinfectDGStates::DG_DISINFECT_HEAT_STATE_ACTIVE_COOL : adjustment_DisinfectStartHeatActive (true); break; case GuiDisinfectDGStates::DG_DISINFECT_CHEM_STATE : adjustment_DisinfectStartChemical (true); break; case GuiDisinfectDGStates::DG_DISINFECT_CHEM_FLUSH_STATE : adjustment_DisinfectStartChemFlush (true); break; case GuiDisinfectDGStates::DG_DISINFECT_RO_PERMEATE_SAMPLE_STATE: adjustment_DisinfectStartROPermeate (true); break; + case GuiDisinfectDGStates::DG_DISINFECT_HEAT_STATE_PASSIVE_COOL : adjustment_DisinfectStartHeatPassive (true); break; default: break; } } @@ -113,12 +114,12 @@ } /*! - * \brief View::VDisinfectAdjustDisinfect::doDisinfectHeat - * \details the invocable slot to send user's Disinfect Heat Request + * \brief View::VDisinfectAdjustDisinfect::doDisinfectHeatActiveCool + * \details the invocable slot to send user's Disinfect Heat Request with active cool */ -void View::VDisinfectAdjustDisinfect::doDisinfectHeat() +void View::VDisinfectAdjustDisinfect::doDisinfectHeatActiveCool() { - _data.mState = GuiDisinfectDGStates::DG_DISINFECT_HEAT_STATE; + _data.mState = GuiDisinfectDGStates::DG_DISINFECT_HEAT_STATE_ACTIVE_COOL; } /*! @@ -148,7 +149,17 @@ _data.mState = GuiDisinfectDGStates::DG_DISINFECT_RO_PERMEATE_SAMPLE_STATE; } +/*! + * \brief View::VDisinfectAdjustDisinfect::doDisinfectHeatPassiveCool + * \details the invocable slot to send user's Disinfect Heat Request with passive cool + */ +void View::VDisinfectAdjustDisinfect::doDisinfectHeatPassiveCool() +{ + _data.mState = GuiDisinfectDGStates::DG_DISINFECT_HEAT_STATE_PASSIVE_COOL; +} + void View::VDisinfectAdjustDisinfect::doDisinfectConfirm() { emit didAdjustment(_data); } +