private void MainForm_Load(object sender, EventArgs e)
 {
     Server.init(this);
     ConveyorBasicController.init(this);
     ConveyorCleverController.init();
     RfidBasicController.init();
     RfidCleverController.init();
     _timer_update.Enabled = true;
 }
예제 #2
0
 static void callDelegateThreadMain()
 {
     while (true)
     {
         string tag = RfidBasicController.read();
         if (tag != null)
         {
             onDetectRfid(tag);
         }
         Thread.Sleep(Config.workingUnit);
     }
 }