Index: sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationStateResponse.h =================================================================== diff -u -r6cad9b004e904200b71de7431c745795256080df -r2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95 --- sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationStateResponse.h (.../MTreatmentAdjustUltrafiltrationStateResponse.h) (revision 6cad9b004e904200b71de7431c745795256080df) +++ sources/model/hd/adjustment/MTreatmentAdjustUltrafiltrationStateResponse.h (.../MTreatmentAdjustUltrafiltrationStateResponse.h) (revision 2c9421bd6da03c7e0bd0bfa1f49fa95c2bd18a95) @@ -30,15 +30,18 @@ * \brief The MAdjustUltrafiltrationStateResponse class * \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 | + * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | + * |:---:|:------:|:-----:|:----:|:---:|:---:|:----:|:------------------------:| + * | 65 | 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() { }