Index: sources/AlarmGenerator.cpp =================================================================== diff -u -r90d21320e3fafd64ee2e9241ce4065aca86625ff -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/AlarmGenerator.cpp (.../AlarmGenerator.cpp) (revision 90d21320e3fafd64ee2e9241ce4065aca86625ff) +++ sources/AlarmGenerator.cpp (.../AlarmGenerator.cpp) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file AlarmGenerator.cpp * \author (last) Behrouz NematiPour - * \date (last) 11-Apr-2023 + * \date (last) 29-Jul-2023 * \author (original) Behrouz NematiPour * \date (original) 22-Dec-2020 * @@ -29,6 +29,8 @@ // namespace using namespace Gui; +Model::MAlarmStatus AlarmGenerator::_model; + /*! * \brief AlarmGenerator::setBits * \details sets bits of the _len(Alarm_State_Flag_Bit_Positions::NUM_OF_ALARM_STATE_FLAG_BIT_POS) bit length bit array by vBits list. @@ -61,6 +63,7 @@ data.mMuteTimeout = 0; // Alarm timeout data.mEscalatesIn = 0; // Alarm Escalate Time Period data.mFlags = setBits(NO_BUTTON); // No button since there is no HD to communicate. + _model.data(data); return data; } @@ -72,5 +75,6 @@ data.mMuteTimeout = 0; // Alarm timeout data.mEscalatesIn = 0; // Alarm Escalate Time Period data.mFlags = setBits(NO_BUTTON); // No button since there is no HD to communicate. + _model.data(data); return data; }