示例#1
0
        static void Main(string[] args)
        {
            Thread.CurrentThread.Name = "Test";
            AppDomain.CurrentDomain.UnhandledException += (sender, eventargs) =>
            {
                Exception e = (Exception)eventargs.ExceptionObject;
                Logger.Info(e);
            };
            Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.High;

            DataProcess dataProcess = new DataProcess(@"H:\各工序文件获取格式归类", new string[] { });

            var dt = dataProcess.Collection();

            Console.Read();
        }