#pragma once // Qt #include // Project #include "MAbstract.h" #include "types.h" // forward declarations class tst_models; namespace Model { /*! * \brief The MTDRespInitiateTreatmentWorkflow class * \details The The ID_TDRespInitiateTreatmentWorkflow data model * * | MSG | CAN ID | Type | Ack | Src | Dst | Description | * |:----:|:------:|:------:|:---:|:---:|:---:|:-----------: | * |0x4600| 0x040 | 1 Hz | Y | TD | All | ID_TDRespInitiateTreatmentWorkflow data | * * | Payload || * | || * | #1:(U32) | \ref Data::maccepted | * | #2:(U32) | \ref Data::mrejectionReason | * * \sa Data * *

Logging info

* | || * | || * | typeText | eDatum | * | unitText | TD | * | infoText | MTDRespInitiateTreatmentWorkflow | * */ class MTDRespInitiateTreatmentWorkflow : public MAbstract { // friends friend class ::tst_models; QVariantList parameters() const override; struct { Types::U32 mAccepted ; Types::U32 mRejectionreason; } _data; public: Type_Enum typeText () const override { return Type_Enum::eDatum ; } Unit_Enum unitText () const override { return Unit_Enum::eTD ; } QString infoText () const override { return QString("RespInitiateTreatmentWorkflow"); } struct Data { quint32 mAccepted = 0; quint32 mRejectionreason = 0; }; MTDRespInitiateTreatmentWorkflow() {} bool fromByteArray (const QByteArray &vByteArray , int *vIndex = nullptr) override; Data data ( ) const ; }; } typedef Model::MTDRespInitiateTreatmentWorkflow::Data TDRespInitiateTreatmentWorkflowData;