#pragma once // Qt #include // Project #include "main.h" // Doxygen : do not remove #include "VViewAutoGen.h" #include "MROPumpData.h" // namespace namespace View { /*! * \brief The VROPump class * \details The The ID_ROPumpData view * * \sa Model::MROPumpData * */ class VROPump : public QObject { Q_OBJECT // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI TRIGGER( bool , adjustment , 0 ) PROPERTY( quint32, p12PumpState , 0 ) PROPERTY( quint32, p12PumpDutyCycle , 0 ) PROPERTY( quint32, p12PumpFBDutyCycle, 0 ) PROPERTY( float , p12PumpSpeed , 0 ) PROPERTY( quint32, p40PumpState , 0 ) PROPERTY( quint32, p40PumpDutyCycle , 0 ) PROPERTY( quint32, p40PumpFBDutyCycle, 0 ) PROPERTY( float , p40PumpSpeed , 0 ) VIEW_DEC(VROPump, ROPumpData) }; }