Index: sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp =================================================================== diff -u -raa8f2c87c14c68d1fda6da2540d47144990a596c -raeb915075b9e13e5c1aaf2800ba6db03b6c24a0b --- sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp (.../VCommonAdjustmentVitals.cpp) (revision aa8f2c87c14c68d1fda6da2540d47144990a596c) +++ sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp (.../VCommonAdjustmentVitals.cpp) (revision aeb915075b9e13e5c1aaf2800ba6db03b6c24a0b) @@ -103,14 +103,17 @@ /*! * \brief View::VTreatmentVitals::doReset * \details reset the previously read vital values + * \param vEnabled - Disable or enable the vitals. + * \note it's still unknown that how to stop in case of the treatment ended by alarm or system fault. */ -void View::VTreatmentVitals::doReset() +void View::VTreatmentVitals::doReset(bool vEnabled) { epoch ( 0 ); lastRead ( ""); systolic ( 0 ); diastolic ( 0 ); heartRate ( 0 ); + enabled (vEnabled); // force notify the Gui emit epochChanged ( 0 );