Index: sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp =================================================================== diff -u -r88563177f10f20ced98750b2e40036201728131d -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp (.../VTreatmentAdjustmentRecirculate.cpp) (revision 88563177f10f20ced98750b2e40036201728131d) +++ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp (.../VTreatmentAdjustmentRecirculate.cpp) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file VTreatmentAdjustmentRecirculate.cpp * \author (last) Behrouz NematiPour - * \date (last) 07-Feb-2021 + * \date (last) 23-Apr-2023 * \author (original) Behrouz NematiPour - * \date (original) 20-Nov-2020 + * \date (original) 11-Apr-2021 * */ #include "VTreatmentAdjustmentRecirculate.h" @@ -48,30 +48,38 @@ * \brief View::VTreatmentAdjustmentRecirculate::doReconnect * \details User requests to re-connect to system (stop re-circulating, clamp arterial and venous lines) */ -void View::VTreatmentAdjustmentRecirculate::doReconnect() { - doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_RECONNECT ); +void View::VTreatmentAdjustmentRecirculate::doReconnect () { // 0 + doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_RECONNECT ); } /*! - * \brief View::VTreatmentAdjustmentRecirculate::doConfirm + * \brief View::VTreatmentAdjustmentRecirculate::doConfirmReconnect * \details User confirms patient connected, lines un-shunted to return to treatment */ -void View::VTreatmentAdjustmentRecirculate::doConfirm() { - doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_CONFIRM_RECONNECT ); +void View::VTreatmentAdjustmentRecirculate::doConfirmReconnect () { // 1 + doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_CONFIRM_RECONNECT ); } /*! * \brief View::VTreatmentAdjustmentRecirculate::doResume * \details User requests to resume re-circulation */ -void View::VTreatmentAdjustmentRecirculate::doResume() { - doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_RESUME_RC ); +void View::VTreatmentAdjustmentRecirculate::doResume () { // 2 + doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_RESUME_RC ); } /*! * \brief View::VTreatmentAdjustmentRecirculate::doTreatmentEnd * \details User requests to end treatment */ -void View::VTreatmentAdjustmentRecirculate::doTreatmentEnd() { - doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_END_TREATMENT ); +void View::VTreatmentAdjustmentRecirculate::doTreatmentEnd () { // 3 + doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_END_TREATMENT ); } + +/*! + * \brief View::VTreatmentAdjustmentRecirculate::doConfirmDisconnect + * \details User confirms patient disconnected, lines shunted to begin re-circulation + */ +void View::VTreatmentAdjustmentRecirculate::doConfirmDisconnect () { // 4 + doAdjustment( GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_CONFIRM_DISCONNECT ); +}