public override void StartServer()
        {
            StopServer();

            Scanner           = new RFIDScanner();
            Scanner.OnIDScan += Scanner_OnIDScan;

            _isRunning = true;
            Port.Open();

            Reader = new Task(ReaderProcess);
        }
Esempio n. 2
0
        public override void StartServer()
        {
            StopServer();

            Scanner = new RFIDScanner();

            Reader = new Thread(ReaderProcess);
            Reader.IsBackground = true;

            Port.Open();
            _isRunning = true;

            Reader.Start();
        }
Esempio n. 3
0
        public override void StartServer()
        {
            StopServer();

            Scanner = new RFIDScanner();

            Reader = new Thread(ReaderProcess);
            Reader.IsBackground = true;

            Port.Open();
            _isRunning = true;

            Reader.Start();
        }