示例#1
0
        public async void GetDrawNoHistoryTest()
        {
            var collector = new JinMaCollector();
            var pkHis     = await collector.GetDrawNoHistory(LotteryType.Pk10);

            var sshHis = await collector.GetDrawNoHistory(LotteryType.Cqssc);
        }
示例#2
0
        public async void GetForecastDataTest()
        {
            var pk11 = await JinMaCollector.GetForecastData(LotteryType.Pk10, Planner.Planner1, (int)Pk10Rule.Champion);

            var pk15 = await JinMaCollector.GetForecastData(LotteryType.Pk10, Planner.Planner1, (int)Pk10Rule.BigOrSmall);

            var pk16 = await JinMaCollector.GetForecastData(LotteryType.Pk10, Planner.Planner1, (int)Pk10Rule.OddOrEven);

            var pk17 = await JinMaCollector.GetForecastData(LotteryType.Pk10, Planner.Planner1, (int)Pk10Rule.DragonOrTiger);

            var pk18 = await JinMaCollector.GetForecastData(LotteryType.Pk10, Planner.Planner1, (int)Pk10Rule.Sum);
        }
示例#3
0
 /// <summary>
 /// 获取给定彩种/玩法/计划员的预测数据
 /// </summary>
 /// <param name="type">彩种</param>
 /// <param name="planer">计划员</param>
 /// <param name="rule">玩法(请使用具体玩法枚举,如"PK10Rule","CQSSCRule")</param>
 /// <returns>预测数据</returns>
 public override async Task <IForecastPlanModel> GetForecastData(LotteryType type, Planner planer, int rule)
 {
     return(await JinMaCollector.GetForecastData(type, planer, rule));
 }