Update_PlayerJob.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading;
  7. using System.Threading.Tasks;
  8. using FCS.Common;
  9. using FCS.Crawler.ZCLotteryAgainst;
  10. using FCS.Crawler.ZCLotteryGames;
  11. using FCS.Crawler.ZCLotteryGrouping;
  12. using FCS.Crawler.ZCLotteryIP;
  13. using FCS.Crawler.ZCLotteryMatchs;
  14. using FCS.Crawler.ZCLotteryScore;
  15. using FCS.Crawler.ZCLotteryTeam;
  16. using FCS.Crawler.ZCMatchRankingList;
  17. using FCS.Interface;
  18. using Quartz;
  19. namespace FCS.Crawler
  20. {
  21. public class Update_PlayerJob : CommonJob
  22. {
  23. public Update_PlayerJob()
  24. {
  25. logName = "Update_RealTimeJob";
  26. }
  27. public void Click()
  28. {
  29. ThreadPool.SetMaxThreads(200, 200);
  30. CommonHelper.LogBD("开始Update_PlayerJob", logName);
  31. new IPJob().GetIP();
  32. new FootBallTeamsJob().GetAll();
  33. new FootballPlayerJob().GetAll();
  34. new GoalSingleDbListJob().Click();
  35. new MakeBallListJob().Click();
  36. new RankingListJob().Click();
  37. new ShooterListJob().Click();
  38. new UpperLlowerSingleDoubleJob().Click();
  39. while (true)
  40. {
  41. if (CommonHelper.ThreadsFinsh())
  42. break;
  43. }
  44. CommonHelper.LogBD("Update_PlayerJob完成", logName);
  45. }
  46. }
  47. }