/*! * * Copyright (c) 2019-2020 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 VPostTreatmentAdjustTreatmentLog.h * \author (last) Behrouz NematiPour * \date (last) 11-Apr-2021 * \author (original) Behrouz NematiPour * \date (original) 11-Apr-2021 * */ #pragma once #include // Project #include "main.h" // Doxygen : don't remove #include "VAdjustmentResponseBase.h" #include "MPostTreatmentAdjustTreatmentLogResponse.h" namespace View { /*! * \brief The VPostTreatmentAdjustmentTreatmentLog class * \details View for Model's Data representation. * * \sa Model::MAdjustTreatmentLogResponse * */ class VPostTreatmentAdjustmentTreatmentLog : public VAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; // coco begin validated: // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI // has been manually tested that it works perfectly fine TRIGGER( bool , adjustment , 0) // coco end PROPERTY(quint32 , bloodFlowRate , 0 ) PROPERTY(quint32 , dialysateFlowRate , 0 ) PROPERTY(quint32 , treatmentDuration , 0 ) PROPERTY(quint32 , actualTreatmentDuration , 0 ) PROPERTY(quint32 , acidConcentrateType , 0 ) PROPERTY(quint32 , bicarbonateConcentrateType , 0 ) PROPERTY(quint32 , potassiumConcentration , 0 ) PROPERTY(quint32 , calciumConcentration , 0 ) PROPERTY(quint32 , bicarbonateConcentration , 0 ) PROPERTY(quint32 , sodiumConcentration , 0 ) PROPERTY(float , dialysateTemperature , 0 ) PROPERTY(quint32 , dialyzerType , 0 ) PROPERTY(quint32 , treatmentDateTime , 0 ) PROPERTY(float , averageBloodFlow , 0 ) PROPERTY(float , averageDialysateFlow , 0 ) PROPERTY(float , dialysateVolumeUsed , 0 ) PROPERTY(float , averageDialysateTemp , 0 ) PROPERTY(float , targetUFVolume , 0 ) PROPERTY(float , actualUFVolume , 0 ) PROPERTY(float , targetUFRate , 0 ) PROPERTY(float , actualUFRate , 0 ) PROPERTY(quint32 , salineBolusVolume , 0 ) PROPERTY(quint32 , heparinType , 0 ) PROPERTY(quint32 , heparinConcentration , 0 ) PROPERTY(float , heparinBolusVolume , 0 ) PROPERTY(float , heparinDispenseRate , 0 ) PROPERTY(quint32 , heparinPreStop , 0 ) PROPERTY(float , heparinDeliveredVolume , 0 ) PROPERTY(float , averageArterialPressure , 0 ) PROPERTY(float , averageVenousPressure , 0 ) PROPERTY(quint32 , endTreatmentEarlyAlarm , 0 ) PROPERTY(quint32 , deviceID , 0 ) PROPERTY(quint32 , waterSampleTestResult , 0 ) VIEW_DEC_CLASS_ADJUSTMENT(VPostTreatmentAdjustmentTreatmentLog, AdjustTreatmentLogResponseData) public slots: void doRequest(); signals: /*! * \brief didAdjustment * \details the notification signal to send the user's Disposables Removal confirm * \param vData - data model includes request information */ void didAdjustment(const AdjustTreatmentLogRequestData &vData); }; }