/// <summary> /// Triggered when notifications are received from the OPC server /// </summary> /// <param name="subscription"></param> /// <param name="e"></param> /// public void Subscription_NotificationMessageReceived(Subscription subscription, NotificationMessageReceivedEventArgs e) { _logger.Write(string.Format("received - seq: {0}", e.NotificationMessage.SequenceNumber)); }
private void OnNotificationMessageReceived(object sender, NotificationMessageReceivedEventArgs e) { Console.WriteLine(e.Title); Console.WriteLine(e.Body); }