public static void ListenStart() { try { Communice = new Communicate(comPort, 9600, 15); DateTime dtNow = DateTime.Now; Console.WriteLine(" >> QPU Serial sistemi başlatıldı..."); Console.WriteLine("Sistemden gelecek olan istekler dinleniyor..."); Console.WriteLine("Sistem dinleme başlama zamanı: {0}.{1}", dtNow, dtNow.Millisecond); Console.WriteLine("------------------------------------------------"); Communice.RequestedDataReceived += new Communicate.DataReceivedEventHandler(tryIt_RequestedDataReceived); Communice.ComPortCannotOpened += new Communicate.OnComPortCannotOpened(Communice_ComPortCannotOpened); Communice.Start(); } catch (Exception hata) { Console.WriteLine("ListenStart. Hata:" + hata.Message); OlayGunluk.Olay("ListenStart. Hata:" + hata.Message); } }