Index: sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationStateResponse.h =================================================================== diff -u -r4d969a04e6d80a6d2f6b756a4b87aecd6356e6a9 -r1284cf3e36ef692c94c38545121c83072626036d --- sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationStateResponse.h (.../MTreatmentAdjustUltrafiltrationStateResponse.h) (revision 4d969a04e6d80a6d2f6b756a4b87aecd6356e6a9) +++ sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationStateResponse.h (.../MTreatmentAdjustUltrafiltrationStateResponse.h) (revision 1284cf3e36ef692c94c38545121c83072626036d) @@ -7,7 +7,7 @@ * * \file MTreatmentAdjustUltrafiltrationStateResponse.h * \author (last) Behrouz NematiPour - * \date (last) 13-Aug-2020 + * \date (last) 16-Oct-2020 * \author (original) Behrouz NemaiPour * \date (original) 02-Jul-2020 * @@ -31,14 +31,17 @@ * \details The ultrafiltration adjustment state response model * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | - * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:-----------: | - * |0x1000| 0x100 | 9 | Rsp | N | HD | UI | Generic response ACK/NAK | + * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:------------------------:| + * |0x4100| 0x020 | 6 | Rsp | Y | HD | UI | UF Pause/Resume Response | * * | Payload || * | || - * | #1:(U08) | \ref Data::mAccepted | + * | #1:(U32) | \ref Data::mAccepted | + * | #2:(U32) | \ref Data::mReason | + * | #3:(U32) | \ref Data::mState | * * \sa Data + * \sa MAdjustUltrafiltrationStateReq : Ultrafiltration state change Request * *

Logging info

* | || @@ -56,19 +59,20 @@ QVariantList parameters() const override; struct { - Types::U08 mAccepted ; // IMPORTANT : This is a response of AcknowGeneric which has a data of 1 byte for the accepted/rejected state. + Types::U32 mAccepted; + Types::U32 mReason ; + Types::U32 mState ; } _data; public: - // coco begin validated : manually validated. - // this message has been inherited from MAbstract and should use notify but since the response message is not standard can't use notify yet. Type_Enum typeText () const override { return Type_Enum::eEvent ; } - // coco end Unit_Enum unitText () const override { return Unit_Enum::eHD ; } QString infoText () const override { return QString("AdjustUFState"); } struct Data { - bool mAccepted = 0; /*!< Accepted value of type quint32 extracted out */ + bool mAccepted = 0; /*!< Accepted value of type quint32 extracted out */ + quint32 mReason = 0; /*!< Reason value of type quint32 extracted out */ + quint32 mState = 0; /*!< UF State value of type quint32 extracted out */ }; MAdjustUltrafiltrationStateResponse() { }