Esempio n. 1
0
        /// <summary>
        /// Causes the GUI to recheck an alarm object for a state change and change appropriately
        ///
        /// The alarm must already have been added with AddAlarm
        /// </summary>
        /// <param name="alarm">The alarm object to check</param>
        /// <exception cref="AlarmNotSetException">
        /// If the provided alarm was never used to create a row, this exception will be thrown
        /// </exception>
        public void UpdateAlarm(Alarm alarm)
        {
            AlarmRow row = this.GetAlarmRow(alarm);

            row.Update();
        }