#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::mMaxHepBolVolumeML | * | #2: (U32) | \ref Data::mMinHepBolVolumeML | * | #3: (U32) | \ref Data::mMaxHepDispRateMLPHR | * | #4: (U32) | \ref Data::mMinHepDispRateMLPHR | * | #5: (U32) | \ref Data::mMaxUltrafiltrationVolumeL | * | #6: (U32) | \ref Data::mMinUltrafiltrationVolumeL | * | #7: (U32) | \ref Data::mMaxVenAsymPressLimitMMHG | * | #8: (U32) | \ref Data::mMinVenAsymPressLimitMMHG | * | #9: (U32) | \ref Data::mMaxVenPressLimitWindowMMHG | * | #10:(U32) | \ref Data::mMinVenPressLimitWindowMMHG | * | #11:(U32) | \ref Data::mMaxArtPressLimitWindowMMHG | * | #12:(U32) | \ref Data::mMinArtPressLimitWindowMMHG | * | #13:(F32) | \ref Data::mMaxDialysateTempC | * | #14:(F32) | \ref Data::mMinDialysateTempC | * | #15:(S32) | \ref Data::mMaxSalineBolVolumeML | * | #16:(S32) | \ref Data::mMinSalineBolVolumeML | * | #17:(S32) | \ref Data::mMaxStopHepDispBeforeTxEndMIN | * | #18:(S32) | \ref Data::mMinStopHepDispBeforeTxEndMIN | * | #19:(S32) | \ref Data::mMaxTxDurationMIN | * | #20:(S32) | \ref Data::mMinTxDurationMIN | * | #21:(F32) | \ref Data::mMaxDialysateFlowMLPM | * | #22:(F32) | \ref Data::mMinDialysateFlowMLPM | * | #23:(F32) | \ref Data::mMaxBloodFlowMLPM | * | #24:(F32) | \ref Data::mMinBloodFlowMLPM | * | #25:(F32) | \ref Data::mReason | * | #26:(F32) | \ref Data::mAccepted | * * \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 mMinHepDispRateMLPHR ; Types::F32 mMaxHepDispRateMLPHR ; 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;