示例#1
0
        public static void Test_Gesat_LoadCompanyFromWeb_01()
        {
            //http://www.reseau-gesat.com/Gesat/Hauts-de-Seine,92/Bois-Colombes,35494/esat-betty-launay-moulin-vert-competences-et-handicap-92,e1837/
            _tr.WriteLine("Test_Gesat_LoadCompanyFromWeb_01");
            GesatInit();
            string url       = "http://www.reseau-gesat.com/Gesat/Hauts-de-Seine,92/Bois-Colombes,35494/esat-betty-launay-moulin-vert-competences-et-handicap-92,e1837/";
            string urlFile   = @"c:\pib\dev_data\exe\wrun\damien\cache\Gesat\esat-betty-launay-moulin-vert-competences-et-handicap-92,e1837.html";
            bool   reload    = false;
            bool   loadImage = false;
            Gesat_LoadCompanyFromWeb load = new Gesat_LoadCompanyFromWeb(url, null, urlFile, reload, loadImage);

            load.Load();
            //_rs.View(load.Data);
            load.Data.zView();
        }
示例#2
0
 public static void Test_ReseauGesat_loadCompanyListFromWeb_01(int startPage = 1, int maxPage = 1, bool loadImage = false)
 {
     _tr.WriteLine("Test_ReseauGesat_loadCompanyListFromWeb_01");
     GesatInit();
     //_rs.View(from header in new ReseauGesat_LoadHeaderFromWebPagesOld1(startPage: startPage, maxPage: maxPage) select Gesat_LoadCompanyFromWeb.LoadCompany(header.url, header, null, false, loadImage));
     (from header in new ReseauGesat_LoadHeaderFromWebPagesOld1(startPage: startPage, maxPage: maxPage) select Gesat_LoadCompanyFromWeb.LoadCompany(header.url, header, null, false, loadImage)).zView();
 }
示例#3
0
 public static void Test_Gesat_LoadCompanyFromWeb_01()
 {
     //http://www.reseau-gesat.com/Gesat/Hauts-de-Seine,92/Bois-Colombes,35494/esat-betty-launay-moulin-vert-competences-et-handicap-92,e1837/
     _tr.WriteLine("Test_Gesat_LoadCompanyFromWeb_01");
     GesatInit();
     string url = "http://www.reseau-gesat.com/Gesat/Hauts-de-Seine,92/Bois-Colombes,35494/esat-betty-launay-moulin-vert-competences-et-handicap-92,e1837/";
     string urlFile = @"c:\pib\dev_data\exe\wrun\damien\cache\Gesat\esat-betty-launay-moulin-vert-competences-et-handicap-92,e1837.html";
     bool reload = false;
     bool loadImage = false;
     Gesat_LoadCompanyFromWeb load = new Gesat_LoadCompanyFromWeb(url, null, urlFile, reload, loadImage);
     load.Load();
     //_rs.View(load.Data);
     load.Data.zView();
 }