示例#1
0
 public void _start(string url)
 {
     toStart();
     this.manager           = new NnSearchManager(url);
     manager.SearchProgress = new Progress(this);
     manager.Start();
 }
示例#2
0
        private void test()
        {
            manager = new NnSearchManager(@"C:\Users\nn_np\Desktop\上午新单.xlsx");
            manager.SearchProgress = new Progress(this);
            manager.Start();

            Console.WriteLine(ConfigurationManager.ConnectionStrings["nnhistory"].ConnectionString);

            NnConfig config = ConfigurationManager.GetSection("nnconfig") as NnConfig;

            int count = config.TfaFlgs.Count;

            for (int i = 0; i < count; ++i)
            {
                Console.WriteLine(config.TfaFlgs[i].Name + " " + config.TfaFlgs[i].Flg);
            }
        }