BACSharp.BacNetResponse.ReceivedEventNotification C# (CSharp) Method

ReceivedEventNotification() public method

public ReceivedEventNotification ( BacNetRawMessage msg ) : void
msg BACSharp.Types.BacNetRawMessage
return void
        public void ReceivedEventNotification(BacNetRawMessage msg)
        {
            UnconfirmedEventNotification apdu;
            try
            {
                apdu = new UnconfirmedEventNotification(msg.Apdu);
            }
            catch { return; }
            BacNetDevice.Instance.OnNotificationEvent(apdu);
        }