Index: sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp =================================================================== diff -u -r8172c6aa4187be26aa9c0e73a130bc6183ad10dd -rd6231fa108bd5854e6c34f1c713872e5b8d6767d --- sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp (.../VDisinfectAdjustDisinfect.cpp) (revision 8172c6aa4187be26aa9c0e73a130bc6183ad10dd) +++ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp (.../VDisinfectAdjustDisinfect.cpp) (revision d6231fa108bd5854e6c34f1c713872e5b8d6767d) @@ -62,11 +62,12 @@ // *** 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. *** 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_CHEM_STATE : adjustment_DisinfectStartChemical (true); break; - case GuiDisinfectDGStates::DG_DISINFECT_CHEM_FLUSH_STATE : adjustment_DisinfectStartChemFlush(true); break; - default: break; + case GuiDisinfectDGStates::DG_DISINFECT_FLUSH_STATE : adjustment_DisinfectStartFlush (true); break; + case GuiDisinfectDGStates::DG_DISINFECT_HEAT_STATE : adjustment_DisinfectStartHeat (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; + default: break; } } @@ -139,6 +140,15 @@ _data.mState = GuiDisinfectDGStates::DG_DISINFECT_CHEM_FLUSH_STATE; } +/*! + * \brief View::VDisinfectAdjustDisinfect::doDisinfectROPermeate + * \details the invocable slot to send user's Disinfect RO Permeate Request + */ +void View::VDisinfectAdjustDisinfect::doDisinfectROPermeate() +{ + _data.mState = GuiDisinfectDGStates::DG_DISINFECT_RO_PERMEATE_SAMPLE_STATE; +} + void View::VDisinfectAdjustDisinfect::doDisinfectConfirm() { emit didAdjustment(_data);