Index: sources/model/hd/data/MTreatmentSalineData.h =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r12e7b6dda53cf8db7707c7fa55dcf6137e7d6997 --- sources/model/hd/data/MTreatmentSalineData.h (.../MTreatmentSalineData.h) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/model/hd/data/MTreatmentSalineData.h (.../MTreatmentSalineData.h) (revision 12e7b6dda53cf8db7707c7fa55dcf6137e7d6997) @@ -27,6 +27,19 @@ namespace Model { +/*! + * \brief The MTreatmentSaline class + * \details The treatment saline bolus data model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(U32) | #2:(F32) | #3:(F32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: |:--: |:--: | + * |0x2F00| 0x040 | 7 | 1 Hz | N | HD | All | Treatment Saline Bolus Data | \ref Data::mTarget | \ref Data::mCumulative | \ref Data::mDelivered | + * + * \sa Data + * \sa MAdjustSalineReq : Saline Bolus Request + * \sa MAdjustSalineResponse : Saline Bolus Response + * + */ class MTreatmentSaline : public MAbstract { // friends @@ -47,9 +60,9 @@ QString infoText() const override { return QString("SalineData") ; } struct Data { - quint32 mTarget = 0; /*!< Target Target volume for the current started saline bolus */ - float mCumulative = 0; /*!< Cumulative Cumulative volume of all saline deliveries during current treatment */ - float mDelivered = 0; /*!< Delivered Current delivered saline volume */ + quint32 mTarget = 0; ///< Target volume for the current started saline bolus + float mCumulative = 0; ///< Cumulative volume of all saline deliveries during current treatment + float mDelivered = 0; ///< Current delivered saline volume }; public: @@ -58,7 +71,6 @@ bool fromByteArray (const QByteArray &vByteArray , int *vIndex = nullptr) override; Data data ( ) const ; }; - } typedef Model::MTreatmentSaline::Data TreatmentSalineData;