Index: sources/model/dg/data/MDGPressuresData.h =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r12e7b6dda53cf8db7707c7fa55dcf6137e7d6997 --- sources/model/dg/data/MDGPressuresData.h (.../MDGPressuresData.h) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/model/dg/data/MDGPressuresData.h (.../MDGPressuresData.h) (revision 12e7b6dda53cf8db7707c7fa55dcf6137e7d6997) @@ -26,12 +26,22 @@ namespace Model { +/*! + * \brief The MDGPressures class + * \details The DG pressures data model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(F32) | #2:(F32) | #3:(F32) | #4:(F32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: |:--: |:--: |:--: | + * |0x2000| 0x080 | 8 | 1 Hz | N | DG | All | DG Pressures Data | \ref Data::mROInletPSI | \ref Data::mROOutletPSI | \ref Data::mDrainInletPSI | \ref Data::mDrainOutletPSI | + * + * \sa Data + * + */ class MDGPressures : public MAbstract { // friends friend class ::tst_models; - // DG Pressures Data (F32) RO inlet PSI (F32) RO outlet PSI (F32) Drain inlet PSI (F32) Drain outlet PSI QVariantList parameters() const override; struct { @@ -48,18 +58,17 @@ QString infoText () const override { return QString("Pressures"); } struct Data { - float mROInletPSI = 0; /*!< Reservoir1 Prim value of type float extracted out */ - float mROOutletPSI = 0; /*!< Reservoir1 Bkup value of type float extracted out */ - float mDrainInletPSI = 0; /*!< Reservoir2 Prim value of type float extracted out */ - float mDrainOutletPSI = 0; /*!< Reservoir2 Bkup value of type float extracted out */ + float mROInletPSI = 0; ///< RO inlet PSI + float mROOutletPSI = 0; ///< RO outlet PSI + float mDrainInletPSI = 0; ///< Drain inlet PSI + float mDrainOutletPSI = 0; ///< Drain outlet PSI }; MDGPressures () {} bool fromByteArray (const QByteArray &vByteArray , int *vIndex = nullptr) override; Data data ( ) const ; }; - } typedef Model::MDGPressures::Data DGPressuresData;