#pragma once // Qt #include // Project #include "MAbstract.h" #include "types.h" // forward declarations class tst_models; namespace Model { /*! * \brief The MAdjustServiceModeResponse class * \details The HD Date and Time adjustment response model * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | * |:----:|:------:|:----:|:---:|:---:|:----:|:-----------:| * |0xB100| 0x020 | Rsp | Y | HD | UI | Service Mode | * * | Payload || * | || * | #1:(U32) | \ref Data::mAccepted | * | #2:(U32) | \ref Data::mReason | * * \sa Data * *

Logging info

* | || * | || * | typeText | Event | * | unitText | HD | * | infoText | ServiceMode | * */ class MAdjustInstitutionalRecordResponse : public MAbstract { // friends friend class ::tst_models; QVariantList parameters() const override; struct { Types::U32 mAccepted ; Types::U32 mReason ; Types::U32 mMinBloodFlowMLPM ; Types::U32 mMaxBloodFlowMLPM ; Types::U32 mMinDialysateFlowMLPM ; Types::U32 mMaxDialysateFlowMLPM ; Types::U32 mMinTxDurationMIN ; Types::U32 mMaxTxDurationMIN ; Types::U32 mMinStopHepDispBeforeTxEndMIN ; Types::U32 mMaxStopHepDispBeforeTxEndMIN ; Types::U32 mMinSalineBolVolumeML ; Types::U32 mMaxSalineBolVolumeML ; Types::F32 mMinDialysateTempC ; Types::F32 mMaxDialysateTempC ; Types::S32 mMinArtPressLimitWindowMMHG ; Types::S32 mMaxArtPressLimitWindowMMHG ; Types::S32 mMinVenPressLimitWindowMMHG ; Types::S32 mMaxVenPressLimitWindowMMHG ; Types::S32 mMinVenAsymPressLimitMMHG ; Types::S32 mMaxVenAsymPressLimitMMHG ; Types::F32 mMinUltrafiltrationVolumeL ; Types::F32 mMaxUltrafiltrationVolumeL ; Types::F32 mMinHepDispRateMLPM ; Types::F32 mMaxHepDispRateMLPM ; Types::F32 mMinHepBolVolumeML ; Types::F32 mMaxHepBolVolumeML ; } _data; public: Type_Enum typeText () const override { return Type_Enum::eEvent ; } Unit_Enum unitText () const override { return Unit_Enum::eHD ; } QString infoText () const override { return QString("InstitutionalRecord") ; } struct Data { bool mAccepted = true ; /*!< Accepted value of type quint32 extracted out */ quint32 mReason = 0 ; /*!< Reason value of type quint32 extracted out */ quint32 mMinBloodFlowMLPM ; quint32 mMaxBloodFlowMLPM ; quint32 mMinDialysateFlowMLPM ; quint32 mMaxDialysateFlowMLPM ; quint32 mMinTxDurationMIN ; quint32 mMaxTxDurationMIN ; quint32 mMinStopHepDispBeforeTxEndMIN ; quint32 mMaxStopHepDispBeforeTxEndMIN ; quint32 mMinSalineBolVolumeML ; quint32 mMaxSalineBolVolumeML ; float mMinDialysateTempC ; float mMaxDialysateTempC ; qint32 mMinArtPressLimitWindowMMHG ; qint32 mMaxArtPressLimitWindowMMHG ; qint32 mMinVenPressLimitWindowMMHG ; qint32 mMaxVenPressLimitWindowMMHG ; qint32 mMinVenAsymPressLimitMMHG ; qint32 mMaxVenAsymPressLimitMMHG ; float mMinUltrafiltrationVolumeL ; float mMaxUltrafiltrationVolumeL ; float mMinHepDispRateMLPM ; float mMaxHepDispRateMLPM ; float mMinHepBolVolumeML ; float mMaxHepBolVolumeML ; }; MAdjustInstitutionalRecordResponse () { } bool fromByteArray (const QByteArray &vByteArray , int *vIndex = nullptr) override; Data data ( ) const ; }; } typedef Model::MAdjustInstitutionalRecordResponse::Data AdjustInstitutionalRecordResponseData;