BACSharp.BacNetListener.ParseUncofirmed C# (CSharp) Метод

ParseUncofirmed() приватный Метод

private ParseUncofirmed ( BacNetRawMessage msg, IPEndPoint endPoint ) : void
msg BACSharp.Types.BacNetRawMessage
endPoint System.Net.IPEndPoint
Результат void
        private void ParseUncofirmed(BacNetRawMessage msg, IPEndPoint endPoint)
        {
            switch (msg.Apdu[1])
            {
                case 0:
                    BacNetDevice.Instance.Response.ReceivedIAm(msg, endPoint);
                    break;
                case 1:
                    BacNetDevice.Instance.Response.ReceivedIHave(msg);
                    break;
                case 2:
                    BacNetDevice.Instance.Response.ReceivedCovNotification(msg);
                    break;
                case 3:
                    BacNetDevice.Instance.Response.ReceivedEventNotification(msg);
                    break;
                case 4:
                    BacNetDevice.Instance.Response.ReceivedPrivateTransfer(msg);
                    break;
                case 5:
                    BacNetDevice.Instance.Response.ReceivedTextMessage(msg);
                    break;
                case 6:
                    BacNetDevice.Instance.Response.ReceivedTimeSynchronization(msg);
                    break;
                case 7:
                    BacNetDevice.Instance.Response.ReceivedWhoHas(msg);
                    break;
                case 8:
                    BacNetDevice.Instance.Response.ReceivedWhoIs(msg);
                    break;
                case 9:
                    BacNetDevice.Instance.Response.ReceivedUtcTimeSynchronization(msg);
                    break;
            }
        }