Index: sources/model/dg/data/MDGLoadCellReadingsData.h =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r12e7b6dda53cf8db7707c7fa55dcf6137e7d6997 --- sources/model/dg/data/MDGLoadCellReadingsData.h (.../MDGLoadCellReadingsData.h) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/model/dg/data/MDGLoadCellReadingsData.h (.../MDGLoadCellReadingsData.h) (revision 12e7b6dda53cf8db7707c7fa55dcf6137e7d6997) @@ -26,12 +26,22 @@ namespace Model { +/*! + * \brief The MDGLoadCellReadings class + * \details The DG load cell readings data model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(F32) | #2:(F32) | #3:(F32) | #4:(F32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: |:--: |:--: |:--: | + * |0x0C00| 0x080 | 8 | 10 Hz | N | DG | All | DG Load Cell Readings Data | \ref Data::mReservoir1Prim | \ref Data::mReservoir1Bkup | \ref Data::mReservoir2Prim | \ref Data::mReservoir2Bkup | + * + * \sa Data + * + */ class MDGLoadCellReadings : public MAbstract { // friends friend class ::tst_models; - // Load Cell Readings Data Rs1 Prim. (F32) Rs1 Bkup (F32) Rs2 Prim. (F32) Rs2 Bkup (F32) QVariantList parameters() const override; struct { @@ -48,18 +58,17 @@ QString infoText () const override { return QString("LoadCell"); } struct Data { - float mReservoir1Prim = 0; /*!< Reservoir1 Prim value of type float extracted out */ - float mReservoir1Bkup = 0; /*!< Reservoir1 Bkup value of type float extracted out */ - float mReservoir2Prim = 0; /*!< Reservoir2 Prim value of type float extracted out */ - float mReservoir2Bkup = 0; /*!< Reservoir2 Bkup value of type float extracted out */ + float mReservoir1Prim = 0; ///< Reservoir1 Primary + float mReservoir1Bkup = 0; ///< Reservoir1 Back up + float mReservoir2Prim = 0; ///< Reservoir2 Primary + float mReservoir2Bkup = 0; ///< Reservoir2 Back up }; MDGLoadCellReadings () {} bool fromByteArray (const QByteArray &vByteArray , int *vIndex = nullptr) override; Data data ( ) const ; }; - } typedef Model::MDGLoadCellReadings::Data DGLoadCellReadingsData;