Beispiel #1
0
 private void Manager_AfterMessageReceived(MessageEventArgs e)
 {
     if (MS43AnalogValues.CanParse(e.Message))
     {
         var av = new MS43JMGAnalogValues();
         av.Parse(e.Message);
         Gauges.ForEach(g => g.Update(av));
     }
 }
Beispiel #2
0
 private async void Manager_AfterMessageReceived(MessageEventArgs e)
 {
     if (MS43AnalogValues.CanParse(e.Message))
     {
         var av = new MS43BBAnalogValues();
         av.Parse(e.Message);
         await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
         {
             Gauges.ForEach(g => g.Update(av));
         });
     }
 }
Beispiel #3
0
 private void Manager_AfterMessageReceived(MessageEventArgs e)
 {
     if (testTimer?.IsEnabled == true)
     {
         return;
     }
     if (MS43AnalogValues.CanParse(e.Message))
     {
         var av = new MS43JMGAnalogValues();
         av.Parse(e.Message);
         Gauges.ForEach(g => g.Update(av));
     }
 }