예제 #1
0
파일: Program.cs 프로젝트: aderhol/L86_DAQ
        private static void Uut_MessageReceived(object sender, EventArgs e)
        {
            NmeaDevice  device  = (NmeaDevice)sender;
            NmeaMessage message = ((NmeaMessageReceivedEventArgs)e).Message;

            Console.WriteLine(message.ToString());
            list.Add(message);
        }
예제 #2
0
 private Task DispatchMessage(NmeaMessage message)
 {
     _logger.LogInformation(message.ToString());
     return(Task.CompletedTask);
 }