Index: sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h =================================================================== diff -u -r88563177f10f20ced98750b2e40036201728131d -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h (.../MTreatmentAdjustUltrafiltrationEditResponse.h) (revision 88563177f10f20ced98750b2e40036201728131d) +++ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h (.../MTreatmentAdjustUltrafiltrationEditResponse.h) (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 MTreatmentAdjustUltrafiltrationEditResponse.h - * \author (last) Behrouz NematiPour - * \date (last) 16-Oct-2020 - * \author (original) Behrouz NemaiPour - * \date (original) 02-Jul-2020 + * \file MTreatmentAdjustUltrafiltrationEditResponse.h + * \author (last) Behrouz NematiPour + * \date (last) 22-Mar-2023 + * \author (original) Behrouz NematiPour + * \date (original) 11-Apr-2021 * */ #pragma once @@ -41,9 +41,9 @@ * | | | * | #3:(F32) | \ref Data::mVolume | * | #4:(U32) | \ref Data::mDuration | - * | #5:(F32) | \ref Data::mRate | + * | #5:(S32) | \ref Data::mDurationDiff | * | | | - * | #6:(S32) | \ref Data::mDurationDiff | + * | #6:(F32) | \ref Data::mRate | * | #7:(F32) | \ref Data::mRateDiff | * | #8:(F32) | \ref Data::mRateOld | * @@ -65,6 +65,9 @@ public: QString stringPrefix = "AdjustUFEdit"; + //NOTE: The correct order is followed in cpp to fill in the values regarding the payload byte orders. + // The struct here is just the values not in correct order + // since has been inherited from the confirm to borrow some struct variables. struct Data : public MAdjustUltrafiltrationConfirmResponse::Data { qint32 mDurationDiff= 0; /*!< durationDiff value of type quint32 extracted out */ float mRateDiff = 0; /*!< rateDiff value of type float extracted out */