#pragma once // Qt #include // Project #include "main.h" // Doxygen : do not remove #include "VViewAutoGen.h" #include "MAlarmStatusData.h" // namespace namespace View { /*! * \brief The VAlarmStatus class * \details The The ID_AlarmStatusData view * * \sa Model::MAlarmStatusData * */ class VAlarmStatus : 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, alarmState , 0 ) PROPERTY( quint32, alarmTop , 0 ) PROPERTY( quint32, silenceExpiresIn, 0 ) PROPERTY( quint16, alarmsFlags , 0 ) VIEW_DEC(VAlarmStatus, AlarmStatusData) }; }