Ejemplo n.º 1
0
        private void EventReceived(object sender, EventReceivedEventArgs e)
        {
            _log.Debug($"Event received {e.Event}");

            if (e.Event.Type == NotificationType.OCCUPANCY || e.Event.Type == NotificationType.CONTROL)
            {
                _notificationManagerKeeper.HandleIncomingEvent(e.Event);
            }
            else
            {
                _notificationPorcessor.Proccess(e.Event);
            }
        }
Ejemplo n.º 2
0
 private void OnEvent(EventReceivedEventArgs e)
 {
     EventReceived?.Invoke(this, e);
 }