/// <summary> /// Reports the changes to the alarm. /// </summary> private void ReportChanges(AlarmConditionState alarm) { // report changes to node attributes. alarm.ClearChangeMasks(m_nodeManager.SystemContext, true); // check if events are being monitored for the source. if (this.AreEventsMonitored) { // create a snapshot. InstanceStateSnapshot e = new InstanceStateSnapshot(); e.Initialize(m_nodeManager.SystemContext, alarm); // report the event. alarm.ReportEvent(m_nodeManager.SystemContext, e); } }