static void Main(string[] args)
 {
     CLogIn.load(logDataPath);
     processLogIn();
     while (true)
     {
         if (!CLogIn.getBusId())
         {
             return;
         }
         processCardInfo();
     }
 }
Beispiel #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();
        }