123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Linq;
- using System.Text;
- using System.Threading;
- using System.Threading.Tasks;
- using FCS.Common;
- using FCS.Crawler.Basketball;
- using FCS.Crawler.ZCLotteryAgainst;
- using FCS.Crawler.ZCLotteryGames;
- using FCS.Crawler.ZCLotteryGrouping;
- using FCS.Crawler.ZCLotteryIP;
- using FCS.Crawler.ZCLotteryMatchs;
- using FCS.Crawler.ZCLotteryScore;
- using FCS.Crawler.ZCLotteryTeam;
- using FCS.Crawler.ZCMatchRankingList;
- using FCS.Interface;
- using Quartz;
- namespace FCS.Crawler
- {
- public class Update_PlayerJob : CommonJob
- {
- public Update_PlayerJob()
- {
- logName = "Update_PlayerJob";
- }
- public void Execute(IJobExecutionContext context)
- {
- Config = CommonHelper.GetConfigFromDataMap(context.JobDetail.JobDataMap);
- Click();
- }
- public void Click()
- {
- ThreadPool.SetMaxThreads(200, 200);
- CommonHelper.LogBD("开始Update_PlayerJob", logName);
- new IPJob().GetIP();
- new FootBallTeamsJob().GetAll();
- new FootballPlayerJob().GetAll();
- new GoalSingleDbListJob().Click();
- new MakeBallListJob().Click();
- new RankingListJob().Click();
- new ShooterListJob().Click();
- new UpperLlowerSingleDoubleJob().Click();
- new B_MakeBallRankingJob().Click();
- new B_SizeBallRankingJob().Click();
- new B_TeamStatisticsJob().Click();
- new B_LeagueRankingJob().Click();
- while (true)
- {
- if (CommonHelper.ThreadsFinsh())
- break;
- }
- CommonHelper.LogBD("Update_PlayerJob完成", logName);
- }
- }
- }
|