Example #1
0
 public PlanTrackAppService(ILotteryPredictDataQueryService lotteryPredictDataQueryService,
                            IPlanInfoQueryService planInfoQueryService,
                            ILotteryDataAppService lotteryDataAppService)
 {
     _lotteryPredictDataQueryService = lotteryPredictDataQueryService;
     _planInfoQueryService           = planInfoQueryService;
     _lotteryDataAppService          = lotteryDataAppService;
 }
Example #2
0
 public JobFactory()
 {
     _scheduleTaskQueryService       = ObjectContainer.Resolve <IScheduleTaskQueryService>();
     _lotteryQueryService            = ObjectContainer.Resolve <ILotteryQueryService>();
     _normConfigQueryService         = ObjectContainer.Resolve <INormConfigQueryService>();
     _lotteryPredictDataService      = ObjectContainer.Resolve <ILotteryPredictDataService>();
     _lotteryPredictDataQueryService = ObjectContainer.Resolve <ILotteryPredictDataQueryService>();
     _commandService = ObjectContainer.Resolve <ICommandService>();
     _scheduleTasks  = _scheduleTaskQueryService.GetAllScheduleTaskInfos();
     InitScheduleJob();
 }
Example #3
0
 public LotteryPredictDataService(ILotteryFinalDataQueryService lotteryFinalDataQueryService,
                                  ILotteryQueryService lotteryQueryService,
                                  ILotteryPredictDataQueryService lotteryPredictDataQueryService,
                                  IPlanInfoQueryService planInfoQueryService,
                                  ILotteryDataQueryService lotteryDataQueryService)
 {
     _lotteryFinalDataQueryService   = lotteryFinalDataQueryService;
     _lotteryQueryService            = lotteryQueryService;
     _lotteryPredictDataQueryService = lotteryPredictDataQueryService;
     _planInfoQueryService           = planInfoQueryService;
     _lotteryDataQueryService        = lotteryDataQueryService;
     _logger = NullLotteryLogger.Instance;
 }
Example #4
0
 public LotteryController(ILotteryDataAppService lotteryDataAppService,
                          ICommandService commandService,
                          INormConfigQueryService normConfigQueryService,
                          ILotteryPredictDataQueryService lotteryPredictDataQueryService,
                          IPlanTrackAppService planTrackAppService,
                          ILotteryQueryService lotteryQueryService,
                          ICacheManager cacheManager)
     : base(commandService)
 {
     _lotteryDataAppService          = lotteryDataAppService;
     _normConfigQueryService         = normConfigQueryService;
     _lotteryPredictDataQueryService = lotteryPredictDataQueryService;
     _planTrackAppService            = planTrackAppService;
     _lotteryQueryService            = lotteryQueryService;
     _cacheManager = cacheManager;
 }