/// <summary> /// 采集指定彩种和玩法的通知 /// </summary> /// <returns>The notifications.</returns> /// <param name="notifications">Notifications.</param> /// <param name="lottery">Lottery.</param> /// <param name="rule">Rule.</param> /// <param name="criticalScore">Critical score.</param> private async Task GetNotifications(ICollection <string> notifications, LotteryType lottery, int rule, float criticalScore) { var plans = await _analyzer.GetForecastData(lottery, rule); _analyzer.CalcuteScore(plans); //plans.ForEach(p => //{ // if (p.Score >= criticalScore) // notifications.Add(JinMaStrategyService.Instance.CreateNotification(lottery, rule, Plan.PlanA, p.ForecastDrawNo, p.Score)); //}); }