Index: sources/view/VTreatmentCreate.h =================================================================== diff -u -r1d3e80dd50bfe08502c8e52de126a2b809370211 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/view/VTreatmentCreate.h (.../VTreatmentCreate.h) (revision 1d3e80dd50bfe08502c8e52de126a2b809370211) +++ sources/view/VTreatmentCreate.h (.../VTreatmentCreate.h) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-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 VTreatmentCreate.h * \author (last) Behrouz NematiPour - * \date (last) 31-May-2023 + * \date (last) 24-Jan-2024 * \author (original) Peter Lucia * \date (original) 22-Sep-2020 * @@ -24,6 +24,8 @@ // Project #include "MPreTreatmentAdjustParametersValidationResponse.h" +#include "MAdjustHDSerialNumberResponse.h" + #include "GuiController.h" #include "StorageGlobals.h" #include "VView.h" @@ -35,8 +37,6 @@ using namespace Gui; using namespace Model; -#define UNSET 9999 - namespace View { /*! @@ -74,6 +74,8 @@ // friends friend class::tst_views; + QString _HDSerialNumber = ""; + PROPERTY(bool , heparinDispensingRateOff , true) PROPERTY(bool , heparinBolusVolumeOff , true) @@ -100,6 +102,8 @@ VALUESET(QString , patientID ,"") VALUESET(bool , continueEnabled , 0) + PROPERTY(QString , txCode , "") + TRIGGER (quint32 , bloodFlowRateRejectReason , 0 ) TRIGGER (quint32 , dialysateFlowRateRejectReason , 0 ) TRIGGER (quint32 , treatmentDurationRejectReason , 0 ) @@ -123,10 +127,13 @@ VIEW_DEC_CLASS(VTreatmentCreate) VIEW_DEC_SLOT(AdjustParametersValidationResponseData) + VIEW_DEC_SLOT(AdjustSerialNumberHDResponseData) private: QString enumToString(GuiRequestReasons vEnum); + void generateTxCode(); + signals: void didAdjustment(const AdjustParametersValidationRequestData &data); void didAdjustment(const AdjustParametersConfirmRequestData &data);