Beispiel #1
0
 private void OnNewValueFromChannel(MonitoredItem item, MonitoredItemNotificationEventArgs e)
 {
     foreach (var value in item.DequeueValues())
     {
         NewValueFromChannel?.Invoke(this, new TagExchangeWithChannelArgs(value.Value, value.SourceTimestamp));
     }
 }
 private void OnNewValueFromChannel(object sender, ValueFromChannelArgs e)
 {
     NewValueFromChannel?.Invoke(this, new TagExchangeWithChannelArgs(e.Value, DateTime.Now));
 }