Index: sources/model/hd/data/treatmentlog/MTreatmentLogAvrgeData.h =================================================================== diff -u -rab7ffd27ecea1277d8645a8b62ff48c0cb3f6ff4 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/model/hd/data/treatmentlog/MTreatmentLogAvrgeData.h (.../MTreatmentLogAvrgeData.h) (revision ab7ffd27ecea1277d8645a8b62ff48c0cb3f6ff4) +++ sources/model/hd/data/treatmentlog/MTreatmentLogAvrgeData.h (.../MTreatmentLogAvrgeData.h) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * 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 MTreatmentLogAvrgeDataData.h + * \file MTreatmentLogAvrgeData.h * \author (last) Behrouz NematiPour - * \date (last) 15-May-2021 + * \date (last) 13-Sep-2023 * \author (original) Behrouz NematiPour * \date (original) 15-May-2021 * @@ -37,8 +37,8 @@ * * | Payload || * | || - * | #1:(U32) | \ref Data::mBloodFlowRate | - * | #2:(U32) | \ref Data::mDialysateFlowRate | + * | #1:(F32) | \ref Data::mBloodFlowRate | + * | #2:(F32) | \ref Data::mDialysateFlowRate | * | #3:(F32) | \ref Data::mUFRate | * | #4:(F32) | \ref Data::mArterialPressure | * | #5:(F32) | \ref Data::mVenousPressure | @@ -62,8 +62,8 @@ QVariantList parameters() const override; struct { - Types::U32 mBloodFlowRate ; ///< (U32) Blood Flow Rate (mL/min) - Types::U32 mDialysateFlowRate ; ///< (U32) Dialysate Flow Rate (mL/min) + Types::F32 mBloodFlowRate ; ///< (F32) Blood Flow Rate (mL/min) + Types::F32 mDialysateFlowRate ; ///< (F32) Dialysate Flow Rate (mL/min) Types::F32 mUFRate ; ///< (F32) Ultrafiltration Rate (mmHg) Types::F32 mArterialPressure ; ///< (F32) Arterial Pressure (mmHg) Types::F32 mVenousPressure ; ///< (F32) Venous Pressure (mmHg) @@ -77,14 +77,14 @@ struct Data { quint64 mTimeStamp = 0; ///< Timestamp of the received message in secs since epoch - quint32 mBloodFlowRate = 0; ///< Blood Flow Rate (mL/min) - quint32 mDialysateFlowRate = 0; ///< Dialysate Flow Rate (mL/min) + float mBloodFlowRate = 0; ///< Blood Flow Rate (mL/min) + float mDialysateFlowRate = 0; ///< Dialysate Flow Rate (mL/min) float mUFRate = 0; ///< Ultrafiltration Rate (mmHg) float mArterialPressure = 0; ///< Arterial Pressure (mmHg) float mVenousPressure = 0; ///< Venous Pressure (mmHg) - quint32 mSystolic = 0; ///< Systolic Blood Pressure - This value is not coming from FW and will be get from UI and User. - quint32 mDiastolic = 0; ///< Diastolic Blood Pressure - This value is not coming from FW and will be get from UI and User. - quint32 mHeartRate = 0; ///< Heart Rate - This value is not coming from FW and will be get from UI and User. + quint16 mSystolic = 0; ///< Systolic Blood Pressure - This value is not coming from FW and will be get from UI and User. + quint16 mDiastolic = 0; ///< Diastolic Blood Pressure - This value is not coming from FW and will be get from UI and User. + quint16 mHeartRate = 0; ///< Heart Rate - This value is not coming from FW and will be get from UI and User. }; MTreatmentLogAvrgeData() { }