コード例 #1
0
ファイル: CorpStaffSzJSJ.cs プロジェクト: SHNXJMG/Small
        protected override IList ExecuteCrawl(bool crawlAll)
        {
            IList list = new ArrayList();
            //GetCorpStaffDui(crawlAll, list);
            //GetCorpStaffShuili(crawlAll, list);
            //GetCorpStaffXiao(crawlAll, list);
            NewType      newType1 = new NewType(GetCorpStaffDui);
            IAsyncResult irr1     = newType1.BeginInvoke(crawlAll, list, null, null);
            NewType      newTypw2 = new NewType(GetCorpStaffShuili);
            IAsyncResult irr2     = newTypw2.BeginInvoke(crawlAll, list, null, null);
            NewType      newType3 = new NewType(GetCorpStaffXiao);
            IAsyncResult irr3     = newType3.BeginInvoke(crawlAll, list, null, null);
            NewMethod    newMeth1 = new NewMethod(GetCorpStaffJzao);
            IAsyncResult ir1      = newMeth1.BeginInvoke(2, crawlAll, list, null, null);
            NewMethod    newMeth2 = new NewMethod(GetCorpStaffJLi);
            IAsyncResult ir2      = newMeth2.BeginInvoke(3, crawlAll, list, null, null);
            NewMethod    newMeth3 = new NewMethod(GetCorpStaffZJia);
            IAsyncResult ir3      = newMeth3.BeginInvoke(4, crawlAll, list, null, null);
            NewMethod    newMeth4 = new NewMethod(GetCorpStaffZLZR);
            IAsyncResult ir4      = newMeth4.BeginInvoke(7, crawlAll, list, null, null);
            NewMethod    newMeth5 = new NewMethod(GetCorpStaffAQZR);
            IAsyncResult ir5      = newMeth5.BeginInvoke(8, crawlAll, list, null, null);
            NewMethod    newMeth6 = new NewMethod(GetCorpStaffXXXM);
            IAsyncResult ir6      = newMeth6.BeginInvoke(1, crawlAll, list, null, null);
            NewMethod    newMeth7 = new NewMethod(GetCorpStaffJZGCS);
            IAsyncResult ir7      = newMeth7.BeginInvoke(5, crawlAll, list, null, null);
            NewMethod    newMeth8 = new NewMethod(GetCorpStaffJGGCS);
            IAsyncResult ir8      = newMeth8.BeginInvoke(6, crawlAll, list, null, null);



            //GetCorpStaffJzao(2, crawlAll, list);//采集建造工程师
            //GetCorpStaffJLi(3, crawlAll, list);//采集监理工程师
            //GetCorpStaffZJia(4, crawlAll, list); //采集造价工程师
            //GetCorpStaffZLZR(7, crawlAll, list);//采集质量主任
            //GetCorpStaffAQZR(8, crawlAll, list);//采集安全主任
            //GetCorpStaffXXXM(1, crawlAll, list);// 采集小型工程项目负责人
            //GetCorpStaffJZGCS(5, crawlAll, list);// 采集建筑工程师
            //GetCorpStaffJGGCS(6, crawlAll, list);//采集结构工程师
            return(list);
        }