Index: sources/model/dg/data/MDGDrainPumpData.h =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r12e7b6dda53cf8db7707c7fa55dcf6137e7d6997 --- sources/model/dg/data/MDGDrainPumpData.h (.../MDGDrainPumpData.h) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/model/dg/data/MDGDrainPumpData.h (.../MDGDrainPumpData.h) (revision 12e7b6dda53cf8db7707c7fa55dcf6137e7d6997) @@ -26,12 +26,22 @@ namespace Model { +/*! + * \brief The MDGDrainPump class + * \details The DG drain pump data model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(U32) | #2:(U32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: |:--: | + * |0x2400| 0x080 | 8 | 1 Hz | N | DG | All | DG Drain Pump Data | \ref Data::mRPM | \ref Data::mDAC | + * + * \sa Data + * + */ class MDGDrainPump : public MAbstract { // friends friend class ::tst_models; - // DG Drain Pump Data (U32) Set pt. RPM (U32) DAC value QVariantList parameters() const override; struct { @@ -46,16 +56,15 @@ QString infoText () const override { return QString("DrainPump"); } struct Data { - quint32 mRPM = 0; /*!< Reservoir1 Prim value of type float extracted out */ - quint32 mDAC = 0; /*!< Reservoir2 Bkup value of type float extracted out */ + quint32 mRPM = 0; ///< Set pt. RPM + quint32 mDAC = 0; ///< DAC value }; MDGDrainPump () { } bool fromByteArray (const QByteArray &vByteArray , int *vIndex = nullptr) override; Data data ( ) const ; }; - } typedef Model::MDGDrainPump::Data DGDrainPumpData;