Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     CLogIn.load(logDataPath);
     processLogIn();
     while (true)
     {
         if (!CLogIn.getBusId())
         {
             return;
         }
         processCardInfo();
     }
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            CLogIn.load(logDataPath);
            processLogIn();
            while (true)
            {
                if (!CLogIn.getBusId())
                {
                    break;
                }
                processCardInfo();
            }
            Thread t_handler = new Thread(sendFilesToServer);

            t_handler.IsBackground = true;
            t_handler.Start();
            t_handler.Join();
        }