Inheritance: IBacNetApdu
Beispiel #1
0
 public void ReceivedReadPropertyAck(BacNetRawMessage msg)
 {
     ReadPropertyAck apdu;
     try
     {
         apdu = new ReadPropertyAck(msg.Apdu);
     }
     catch(Exception ex)
     {
         _logger.WarnException("Malformed ReadPropertyAck: ", ex);
         BacNetDevice.Instance.Waiter = new ArrayList();
         return;
     }
     if (BacNetDevice.Instance.Waiter is int && Convert.ToInt32(BacNetDevice.Instance.Waiter) == apdu.InvokeId)
         BacNetDevice.Instance.Waiter = apdu.Obj.Properties[0].Values;
 }