public override void StartServer() { StopServer(); Scanner = new RFIDScanner(); Scanner.OnIDScan += Scanner_OnIDScan; _isRunning = true; Port.Open(); Reader = new Task(ReaderProcess); }
public override void StartServer() { StopServer(); Scanner = new RFIDScanner(); Reader = new Thread(ReaderProcess); Reader.IsBackground = true; Port.Open(); _isRunning = true; Reader.Start(); }
public override void StartServer() { StopServer(); Scanner = new RFIDScanner(); Reader = new Thread(ReaderProcess); Reader.IsBackground = true; Port.Open(); _isRunning = true; Reader.Start(); }