Example #1
0
 public override string GetAccountsMemLine(ConfigurationStatus.LotteryType pType) =>
 $"{this.GetLine()}/AccountInfo/GetAccount?_={DateTime.Now.ToOADate()}";
Example #2
0
        public override string GetPlayMethodID(ConfigurationStatus.LotteryType pType, string playName)
        {
            string str = "";

            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPSSC)
            {
                if (playName == "前三直选单式")
                {
                    str = "F12";
                }
                else if (playName == "前三直选复式")
                {
                    str = "F11";
                }
                else if (playName == "前三组三复式")
                {
                    str = "F22";
                }
                else if (playName == "前三组三单式")
                {
                    str = "F26";
                }
                else if (playName == "前三组六复式")
                {
                    str = "F23";
                }
                else if (playName == "前三组六单式")
                {
                    str = "F27";
                }
                else if (playName == "后三直选单式")
                {
                    str = "D12";
                }
                else if (playName == "后三直选复式")
                {
                    str = "D11";
                }
                else if (playName == "后三组三复式")
                {
                    str = "D22";
                }
                else if (playName == "后三组三单式")
                {
                    str = "D26";
                }
                else if (playName == "后三组六复式")
                {
                    str = "D23";
                }
                else if (playName == "后三组六单式")
                {
                    str = "D27";
                }
                else if (playName == "中三直选单式")
                {
                    str = "E12";
                }
                else if (playName == "中三直选复式")
                {
                    str = "E11";
                }
                else if (playName == "中三组三复式")
                {
                    str = "E22";
                }
                else if (playName == "中三组三单式")
                {
                    str = "E26";
                }
                else if (playName == "中三组六复式")
                {
                    str = "E23";
                }
                else if (playName == "中三组六单式")
                {
                    str = "E27";
                }
                else if (playName == "前二直选单式")
                {
                    str = "C12";
                }
                else if (playName == "前二直选复式")
                {
                    str = "C11";
                }
                else if (playName == "后二直选单式")
                {
                    str = "B12";
                }
                else if (playName == "后二直选复式")
                {
                    str = "B11";
                }
                else if (playName == "后四直选单式")
                {
                    str = "G12";
                }
                else if (playName == "后四直选复式")
                {
                    str = "G11";
                }
                else if (playName == "五星直选单式")
                {
                    str = "H12";
                }
                else if (playName == "五星直选复式")
                {
                    str = "H11";
                }
                else if (playName == "任三直选单式")
                {
                    str = "K12";
                }
                else if (playName == "任三直选复式")
                {
                    str = "K11";
                }
                else if (playName == "任三组三复式")
                {
                    str = "K21";
                }
                else if (playName == "任三组三单式")
                {
                    str = "K22";
                }
                else if (playName == "任三组六复式")
                {
                    str = "K23";
                }
                else if (playName == "任三组六单式")
                {
                    str = "K24";
                }
                else if (playName == "任二直选单式")
                {
                    str = "J12";
                }
                else if (playName == "任二直选复式")
                {
                    str = "J11";
                }
                else if (playName == "任四直选单式")
                {
                    str = "L12";
                }
                else if (playName == "任四直选复式")
                {
                    str = "L11";
                }
                else if (playName.Contains("定位胆"))
                {
                    str = "A11";
                }
                if (str != "")
                {
                    str = this.GetBetsLotteryID(pType) + str;
                }
                return(str);
            }
            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPPK10)
            {
                if (playName == "猜前三单式")
                {
                    str = "C12";
                }
                else if (playName == "猜前三复式")
                {
                    str = "C11";
                }
                else if (playName == "猜前二单式")
                {
                    str = "B12";
                }
                else if (playName == "猜前二复式")
                {
                    str = "B11";
                }
                else if (playName == "猜前四单式")
                {
                    str = "";
                }
                else if (playName == "猜前四复式")
                {
                    str = "";
                }
                else if (playName == "猜前五单式")
                {
                    str = "";
                }
                else if (playName == "猜前五复式")
                {
                    str = "";
                }
                else if (playName == "猜冠军猜冠军")
                {
                    str = "A11";
                }
                else if (playName.Contains("定位胆"))
                {
                    str = "K11";
                }
                if (str != "")
                {
                    str = this.GetBetsLotteryID(pType) + str;
                }
            }
            return(str);
        }
Example #3
0
 public override string GetPTLotteryName(ConfigurationStatus.LotteryType pType) =>
 "";
Example #4
0
 public override string GetLotteryLine(ConfigurationStatus.LotteryType pType, bool pAll = false) =>
 $"{this.GetLine()}/{this.GetPTLotteryName(pType)}.shtml";
Example #5
0
 public override string GetAccountsMemLine(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/LotteryService.aspx");
Example #6
0
 public override string GetAccountsMemLine(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/personal/GetAccountInfo");
Example #7
0
        public override string GetBetsLotteryID(ConfigurationStatus.LotteryType pType)
        {
            string str = "";

            if (pType == ConfigurationStatus.LotteryType.CQSSC)
            {
                return("101");
            }
            if (pType == ConfigurationStatus.LotteryType.XJSSC)
            {
                return("103");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028HGSSC)
            {
                return("131");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028DJSSC)
            {
                return("132");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028ML20M)
            {
                return("133");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028DZ30M)
            {
                return("134");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028WXFFC)
            {
                return("135");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028FLP2FC)
            {
                return("136");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028MG45M)
            {
                return("137");
            }
            if (pType == ConfigurationStatus.LotteryType.TXFFC)
            {
                return("138");
            }
            if (pType == ConfigurationStatus.LotteryType.SD11X5)
            {
                return("206");
            }
            if (pType == ConfigurationStatus.LotteryType.GD11X5)
            {
                return("201");
            }
            if (pType == ConfigurationStatus.LotteryType.JX11X5)
            {
                return("202");
            }
            if (pType == ConfigurationStatus.LotteryType.AH11X5)
            {
                return("204");
            }
            if (pType == ConfigurationStatus.LotteryType.SH11X5)
            {
                return("205");
            }
            if (pType == ConfigurationStatus.LotteryType.SXR11X5)
            {
                return("209");
            }
            if (pType == ConfigurationStatus.LotteryType.PK10)
            {
                return("601");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028PK10)
            {
                return("603");
            }
            if (pType == ConfigurationStatus.LotteryType.YL2028FFPK10)
            {
                str = "604";
            }
            return(str);
        }
Example #8
0
 public override string GetBetsLine(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/?s=/ApiLottery/addOrderNow/");
Example #9
0
        public override string GetBetsLotteryID(ConfigurationStatus.LotteryType pType)
        {
            string str = "";

            if (pType == ConfigurationStatus.LotteryType.CQSSC)
            {
                return("1");
            }
            if (pType == ConfigurationStatus.LotteryType.XJSSC)
            {
                return("4");
            }
            if (pType == ConfigurationStatus.LotteryType.TXFFC)
            {
                return("60");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLAM15C)
            {
                return("55");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLTB15C)
            {
                return("56");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLDJSSC)
            {
                return("57");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLXDL15F)
            {
                return("58");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLHGSSC)
            {
                return("59");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLFFC)
            {
                return("20");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL2FC)
            {
                return("21");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL3FC)
            {
                return("22");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL5FC)
            {
                return("23");
            }
            if (pType == ConfigurationStatus.LotteryType.SD11X5)
            {
                return("11");
            }
            if (pType == ConfigurationStatus.LotteryType.GD11X5)
            {
                return("13");
            }
            if (pType == ConfigurationStatus.LotteryType.JX11X5)
            {
                return("12");
            }
            if (pType == ConfigurationStatus.LotteryType.SH11X5)
            {
                return("18");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLFF11X5)
            {
                return("25");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL2F11X5)
            {
                return("26");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL3F11X5)
            {
                return("27");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL5F11X5)
            {
                return("28");
            }
            if (pType == ConfigurationStatus.LotteryType.PK10)
            {
                str = "35";
            }
            return(str);
        }
Example #10
0
 public override string GetLotteryLine(ConfigurationStatus.LotteryType pType, bool pAll = false) =>
 $"{this.GetLine()}/OffcialOtherGame/Index/{this.GetBetsLotteryID(pType)}";
Example #11
0
 public override string GetPlayMethodID(ConfigurationStatus.LotteryType pType, string playName)
 {
     ConfigurationStatus.PTPrizeGroup playMethodGroup = this.GetPlayMethodGroup(pType, playName);
     return((playMethodGroup == null) ? "" : playMethodGroup.PlayID);
 }
Example #12
0
 public override string GetIndexCode(ConfigurationStatus.LotteryType pType) =>
 $"{this.GetLine()}/Result/GetLotteryResultList?gameID={this.GetBetsLotteryID(pType)}&pagesize=6&pageIndex=1&_={DateTime.Now.ToOADate()}";
Example #13
0
        public override string GetBetsLotteryID(ConfigurationStatus.LotteryType pType)
        {
            string str = "";

            if (pType == ConfigurationStatus.LotteryType.CQSSC)
            {
                return("26");
            }
            if (pType == ConfigurationStatus.LotteryType.XJSSC)
            {
                return("40");
            }
            if (pType == ConfigurationStatus.LotteryType.TJSSC)
            {
                return("42");
            }
            if (pType == ConfigurationStatus.LotteryType.LFHGSSC)
            {
                return("51");
            }
            if (pType == ConfigurationStatus.LotteryType.BJSSC)
            {
                return("57");
            }
            if (pType == ConfigurationStatus.LotteryType.TWSSC)
            {
                return("61");
            }
            if (pType == ConfigurationStatus.LotteryType.DQOZ3FC)
            {
                return("67");
            }
            if (pType == ConfigurationStatus.LotteryType.DQSLFK5FC)
            {
                return("72");
            }
            if (pType == ConfigurationStatus.LotteryType.TXFFC)
            {
                return("81");
            }
            if (pType == ConfigurationStatus.LotteryType.QQFFC)
            {
                return("82");
            }
            if (pType == ConfigurationStatus.LotteryType.LFDJSSC)
            {
                return("109");
            }
            if (pType == ConfigurationStatus.LotteryType.SD11X5)
            {
                return("32");
            }
            if (pType == ConfigurationStatus.LotteryType.SH11X5)
            {
                return("76");
            }
            if (pType == ConfigurationStatus.LotteryType.JX11X5)
            {
                return("46");
            }
            if (pType == ConfigurationStatus.LotteryType.HLJ11X5)
            {
                return("50");
            }
            if (pType == ConfigurationStatus.LotteryType.JS11X5)
            {
                return("74");
            }
            if (pType == ConfigurationStatus.LotteryType.XJ11X5)
            {
                return("78");
            }
            if (pType == ConfigurationStatus.LotteryType.PK10)
            {
                return("29");
            }
            if (pType == ConfigurationStatus.LotteryType.XYFTPK10)
            {
                str = "113";
            }
            return(str);
        }
Example #14
0
 public override string GetBetsLine(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/OfficialAddOrders/AddOrders");
Example #15
0
        public override string GetPlayMethodID(ConfigurationStatus.LotteryType pType, string playName)
        {
            string str = "";

            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPSSC)
            {
                if (playName == "前三直选单式")
                {
                    return("sxzhixdsq");
                }
                if (playName == "前三直选复式")
                {
                    return("sxzhixfsq");
                }
                if (playName == "前三组三复式")
                {
                    return("sxzuxzsq");
                }
                if (playName == "前三组六复式")
                {
                    return("sxzuxzlq");
                }
                if (playName == "后三直选单式")
                {
                    return("sxzhixdsh");
                }
                if (playName == "后三直选复式")
                {
                    return("sxzhixfsh");
                }
                if (playName == "后三组三复式")
                {
                    return("sxzuxzsh");
                }
                if (playName == "后三组六复式")
                {
                    return("sxzuxzlh");
                }
                if (playName == "中三直选单式")
                {
                    return("sxzhixdsz");
                }
                if (playName == "中三直选复式")
                {
                    return("sxzhixfsz");
                }
                if (playName == "中三组三复式")
                {
                    return("sxzuxzsz");
                }
                if (playName == "中三组六复式")
                {
                    return("sxzuxzlz");
                }
                if (playName == "前二直选单式")
                {
                    return("exzhixdsq");
                }
                if (playName == "前二直选复式")
                {
                    return("exzhixfsq");
                }
                if (playName == "后二直选单式")
                {
                    return("exzhixdsh");
                }
                if (playName == "后二直选复式")
                {
                    return("exzhixfsh");
                }
                if (playName == "前四直选单式")
                {
                    return("sixzhixdsq");
                }
                if (playName == "前四直选复式")
                {
                    return("sixzhixfsq");
                }
                if (playName == "后四直选单式")
                {
                    return("sixzhixdsh");
                }
                if (playName == "后四直选复式")
                {
                    return("sixzhixfsh");
                }
                if (playName == "五星直选单式")
                {
                    return("wxzhixds");
                }
                if (playName == "五星直选复式")
                {
                    return("wxzhixfs");
                }
                if (playName == "任三直选单式")
                {
                    return("rx3ds");
                }
                if (playName == "任三直选复式")
                {
                    return("rx3fs");
                }
                if (playName == "任三组三复式")
                {
                    return("rx3z3");
                }
                if (playName == "任三组六复式")
                {
                    return("rx3z6");
                }
                if (playName == "任二直选单式")
                {
                    return("rx2ds");
                }
                if (playName == "任二直选复式")
                {
                    return("rx2fs");
                }
                if (playName == "任四直选单式")
                {
                    return("rx4ds");
                }
                if (playName == "任四直选复式")
                {
                    return("rx4fs");
                }
                if (playName.Contains("定位胆"))
                {
                    str = "dw";
                }
                return(str);
            }
            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GP11X5)
            {
                if (playName == "前三直选单式")
                {
                    return("sanmzhixdsq");
                }
                if (playName == "前二直选单式")
                {
                    return("ermzhixdsq");
                }
                if (playName == "任选复式一中一")
                {
                    return("rx1fs");
                }
                if (playName == "任选复式二中二")
                {
                    return("rx2fs");
                }
                if (playName == "任选复式三中三")
                {
                    return("rx3fs");
                }
                if (playName == "任选复式四中四")
                {
                    return("rx4fs");
                }
                if (playName == "任选复式五中五")
                {
                    return("rx5fs");
                }
                if (playName == "任选单式一中一")
                {
                    return("rx1ds");
                }
                if (playName == "任选单式二中二")
                {
                    return("rx2ds");
                }
                if (playName == "任选单式三中三")
                {
                    return("rx3ds");
                }
                if (playName == "任选单式四中四")
                {
                    return("rx4ds");
                }
                if (playName == "任选单式五中五")
                {
                    str = "rx5ds";
                }
                return(str);
            }
            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPPK10)
            {
                if (playName == "猜前三单式")
                {
                    return("qiansanzxds");
                }
                if (playName == "猜前三复式")
                {
                    return("qiansanzxfs");
                }
                if (playName == "猜前二单式")
                {
                    return("qianerzxds");
                }
                if (playName == "猜前二复式")
                {
                    return("qianerzxfs");
                }
                if (playName == "猜前四单式")
                {
                    return("");
                }
                if (playName == "猜前四复式")
                {
                    return("");
                }
                if (playName == "猜前五单式")
                {
                    return("");
                }
                if (playName == "猜前五复式")
                {
                    return("");
                }
                if (playName == "猜冠军猜冠军")
                {
                    return("qianyi");
                }
                if (playName.Contains("定位胆"))
                {
                    str = (CommFunc.GetPlayNum(playName) > 5) ? "dwh5" : "dwq5";
                }
            }
            return(str);
        }
Example #16
0
 public override string GetIndexCode(ConfigurationStatus.LotteryType pType) =>
 this.GetLotteryLine(pType, false);
Example #17
0
        public override string GetPTLotteryName(ConfigurationStatus.LotteryType pType)
        {
            string str = "";

            if (pType == ConfigurationStatus.LotteryType.CQSSC)
            {
                str = "cqssc";
            }
            else if (pType == ConfigurationStatus.LotteryType.XJSSC)
            {
                str = "xjssc";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028HGSSC)
            {
                str = "hgssc90";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028DJSSC)
            {
                str = "djssc90";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028ML20M)
            {
                str = "mlssc20";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028DZ30M)
            {
                str = "dzssc30";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028WXFFC)
            {
                str = "wxssc60";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028FLP2FC)
            {
                str = "flbssc120";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028MG45M)
            {
                str = "qlqssc45";
            }
            else if (pType == ConfigurationStatus.LotteryType.TXFFC)
            {
                str = "qqffc";
            }
            else if (pType == ConfigurationStatus.LotteryType.SD11X5)
            {
                str = "sd11x5";
            }
            else if (pType == ConfigurationStatus.LotteryType.GD11X5)
            {
                str = "gd11x5";
            }
            else if (pType == ConfigurationStatus.LotteryType.JX11X5)
            {
                str = "jx11x5";
            }
            else if (pType == ConfigurationStatus.LotteryType.AH11X5)
            {
                str = "ah11x5";
            }
            else if (pType == ConfigurationStatus.LotteryType.SH11X5)
            {
                str = "sh11x5";
            }
            else if (pType == ConfigurationStatus.LotteryType.SXR11X5)
            {
                str = "sxr11x5";
            }
            else if (pType == ConfigurationStatus.LotteryType.PK10)
            {
                str = "bjpk10";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028PK10)
            {
                str = "dgpk10";
            }
            else if (pType == ConfigurationStatus.LotteryType.YL2028FFPK10)
            {
                str = "ftpk10";
            }
            return(str.ToLower());
        }
Example #18
0
 public override string GetLotteryLine(ConfigurationStatus.LotteryType pType, bool pAll = false) =>
 $"{this.GetLine()}/index.php?s=/Lottery/index/game/{this.GetPTLotteryName(pType)}";
Example #19
0
 public override string GetBetsLine(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/invest/UserBetsGeneral");
Example #20
0
        public override string GetPlayMethodID(ConfigurationStatus.LotteryType pType, string playName)
        {
            string str = "";

            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPSSC)
            {
                if (playName == "前三直选单式")
                {
                    return("36");
                }
                if (playName == "前三直选复式")
                {
                    return("35");
                }
                if (playName == "前三组三复式")
                {
                    return("40");
                }
                if (playName == "前三组三单式")
                {
                    return("41");
                }
                if (playName == "前三组六复式")
                {
                    return("42");
                }
                if (playName == "前三组六单式")
                {
                    return("43");
                }
                if (playName == "后三直选单式")
                {
                    return("22");
                }
                if (playName == "后三直选复式")
                {
                    return("21");
                }
                if (playName == "后三组三复式")
                {
                    return("26");
                }
                if (playName == "后三组三单式")
                {
                    return("27");
                }
                if (playName == "后三组六复式")
                {
                    return("28");
                }
                if (playName == "后三组六单式")
                {
                    return("29");
                }
                if (playName == "中三直选单式")
                {
                    return("107");
                }
                if (playName == "中三直选复式")
                {
                    return("106");
                }
                if (playName == "中三组三复式")
                {
                    return("111");
                }
                if (playName == "中三组三单式")
                {
                    return("112");
                }
                if (playName == "中三组六复式")
                {
                    return("113");
                }
                if (playName == "中三组六单式")
                {
                    return("114");
                }
                if (playName == "前二直选单式")
                {
                    return("58");
                }
                if (playName == "前二直选复式")
                {
                    return("57");
                }
                if (playName == "后二直选单式")
                {
                    return("50");
                }
                if (playName == "后二直选复式")
                {
                    return("49");
                }
                if (playName == "后四直选单式")
                {
                    return("15");
                }
                if (playName == "后四直选复式")
                {
                    return("14");
                }
                if (playName == "五星直选单式")
                {
                    return("2");
                }
                if (playName == "五星直选复式")
                {
                    return("1");
                }
                if (playName == "任三直选单式")
                {
                    return("85");
                }
                if (playName == "任三直选复式")
                {
                    return("84");
                }
                if (playName == "任三组三复式")
                {
                    return("87");
                }
                if (playName == "任三组三单式")
                {
                    return("88");
                }
                if (playName == "任三组六复式")
                {
                    return("89");
                }
                if (playName == "任三组六单式")
                {
                    return("90");
                }
                if (playName == "任二直选单式")
                {
                    return("79");
                }
                if (playName == "任二直选复式")
                {
                    return("78");
                }
                if (playName == "任四直选单式")
                {
                    return("94");
                }
                if (playName == "任四直选复式")
                {
                    return("93");
                }
                if (playName.Contains("定位胆"))
                {
                    str = "65";
                }
                return(str);
            }
            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GP11X5)
            {
                if (playName == "前三直选单式")
                {
                    return("2");
                }
                if (playName == "前二直选单式")
                {
                    return("7");
                }
                if (playName == "任选复式一中一")
                {
                    return("15");
                }
                if (playName == "任选复式二中二")
                {
                    return("16");
                }
                if (playName == "任选复式三中三")
                {
                    return("17");
                }
                if (playName == "任选复式四中四")
                {
                    return("18");
                }
                if (playName == "任选复式五中五")
                {
                    return("19");
                }
                if (playName == "任选单式一中一")
                {
                    return("23");
                }
                if (playName == "任选单式二中二")
                {
                    return("24");
                }
                if (playName == "任选单式三中三")
                {
                    return("25");
                }
                if (playName == "任选单式四中四")
                {
                    return("26");
                }
                if (playName == "任选单式五中五")
                {
                    str = "27";
                }
                return(str);
            }
            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPPK10)
            {
                if (playName == "猜前三单式")
                {
                    return("5");
                }
                if (playName == "猜前三复式")
                {
                    return("4");
                }
                if (playName == "猜前二单式")
                {
                    return("3");
                }
                if (playName == "猜前二复式")
                {
                    return("2");
                }
                if (playName == "猜前四单式")
                {
                    return("");
                }
                if (playName == "猜前四复式")
                {
                    return("19");
                }
                if (playName == "猜前五单式")
                {
                    return("");
                }
                if (playName == "猜前五复式")
                {
                    return("21");
                }
                if (playName == "猜冠军猜冠军")
                {
                    return("1");
                }
                if (playName.Contains("定位胆"))
                {
                    str = (CommFunc.GetPlayNum(playName) > 5) ? "7" : "6";
                }
            }
            return(str);
        }
Example #21
0
 public override string GetIndexCode(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/page/WORecord.shtml?id={0}&num={1}");
Example #22
0
        public override string GetPTLotteryName(ConfigurationStatus.LotteryType pType)
        {
            string str = "";

            if (pType == ConfigurationStatus.LotteryType.CQSSC)
            {
                return("Cqssc");
            }
            if (pType == ConfigurationStatus.LotteryType.XJSSC)
            {
                return("Xjssc");
            }
            if (pType == ConfigurationStatus.LotteryType.TXFFC)
            {
                return("Txffc");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLAM15C)
            {
                return("Hkssc");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLTB15C)
            {
                return("Tpssc");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLDJSSC)
            {
                return("1d5fssc3");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLXDL15F)
            {
                return("1d5fssc4");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLHGSSC)
            {
                return("1d5fssc5");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLFFC)
            {
                return("1fssc");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL2FC)
            {
                return("2fssc");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL3FC)
            {
                return("3fssc");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL5FC)
            {
                return("5fssc");
            }
            if (pType == ConfigurationStatus.LotteryType.SD11X5)
            {
                return("Sd11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.GD11X5)
            {
                return("Gd11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.JX11X5)
            {
                return("Jx11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.SH11X5)
            {
                return("Sh11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYLFF11X5)
            {
                return("1f11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL2F11X5)
            {
                return("2f11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL3F11X5)
            {
                return("3f11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.CLYL5F11X5)
            {
                return("5f11x5");
            }
            if (pType == ConfigurationStatus.LotteryType.PK10)
            {
                str = "Bjpk10";
            }
            return(str);
        }
Example #23
0
        public override string GetPlayMethodID(ConfigurationStatus.LotteryType pType, string playName)
        {
            string str = "";

            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPSSC)
            {
                switch (CommFunc.GetLotteryID(pType))
                {
                case "XJSSC":
                    if ((playName == "前三直选单式") || (playName == "前三直选复式"))
                    {
                        return("201");
                    }
                    if ((playName == "后三直选单式") || (playName == "后三直选复式"))
                    {
                        return("185");
                    }
                    if ((playName == "前三组三复式") || (playName == "前三组三单式"))
                    {
                        return("207");
                    }
                    if ((playName == "前三组六复式") || (playName == "前三组六单式"))
                    {
                        return("208");
                    }
                    if ((playName == "后三组三复式") || (playName == "后三组三单式"))
                    {
                        return("191");
                    }
                    if ((playName == "后三组六复式") || (playName == "后三组六单式"))
                    {
                        return("192");
                    }
                    if ((playName == "前二直选单式") || (playName == "前二直选复式"))
                    {
                        return("217");
                    }
                    if ((playName == "后二直选单式") || (playName == "后二直选复式"))
                    {
                        return("221");
                    }
                    if ((playName == "后四直选单式") || (playName == "后四直选复式"))
                    {
                        return("176");
                    }
                    if (playName.Contains("定位胆"))
                    {
                        str = "233";
                    }
                    return(str);

                case "TJSSC":
                    if ((playName == "前三直选单式") || (playName == "前三直选复式"))
                    {
                        return("802");
                    }
                    if ((playName == "后三直选单式") || (playName == "后三直选复式"))
                    {
                        return("786");
                    }
                    if ((playName == "前三组三复式") || (playName == "前三组三单式"))
                    {
                        return("808");
                    }
                    if ((playName == "前三组六复式") || (playName == "前三组六单式"))
                    {
                        return("809");
                    }
                    if ((playName == "后三组三复式") || (playName == "后三组三单式"))
                    {
                        return("792");
                    }
                    if ((playName == "后三组六复式") || (playName == "后三组六单式"))
                    {
                        return("793");
                    }
                    if ((playName == "前二直选单式") || (playName == "前二直选复式"))
                    {
                        return("818");
                    }
                    if ((playName == "后二直选单式") || (playName == "后二直选复式"))
                    {
                        return("822");
                    }
                    if ((playName == "后四直选单式") || (playName == "后四直选复式"))
                    {
                        return("777");
                    }
                    if (playName.Contains("定位胆"))
                    {
                        str = "834";
                    }
                    return(str);
                }
                if ((playName == "前三直选单式") || (playName == "前三直选复式"))
                {
                    return("27");
                }
                if ((playName == "后三直选单式") || (playName == "后三直选复式"))
                {
                    return("11");
                }
                if ((playName == "中三直选单式") || (playName == "中三直选复式"))
                {
                    return("360");
                }
                if ((playName == "前三组三复式") || (playName == "前三组三单式"))
                {
                    return("33");
                }
                if ((playName == "前三组六复式") || (playName == "前三组六单式"))
                {
                    return("34");
                }
                if ((playName == "后三组三复式") || (playName == "后三组三单式"))
                {
                    return("17");
                }
                if ((playName == "后三组六复式") || (playName == "后三组六单式"))
                {
                    return("18");
                }
                if ((playName == "中三组三复式") || (playName == "中三组三单式"))
                {
                    return("364");
                }
                if ((playName == "中三组六复式") || (playName == "中三组六单式"))
                {
                    return("365");
                }
                if ((playName == "前二直选单式") || (playName == "前二直选复式"))
                {
                    return("43");
                }
                if ((playName == "后二直选单式") || (playName == "后二直选复式"))
                {
                    return("47");
                }
                if ((playName == "后四直选单式") || (playName == "后四直选复式"))
                {
                    return("2");
                }
                if ((playName == "五星直选单式") || (playName == "五星直选复式"))
                {
                    return("865");
                }
                if ((playName == "任三直选单式") || (playName == "任三直选复式"))
                {
                    return("676");
                }
                if ((playName == "任三组三复式") || (playName == "任三组三单式"))
                {
                    return("686");
                }
                if ((playName == "任三组六复式") || (playName == "任三组六单式"))
                {
                    return("696");
                }
                if ((playName == "任二直选单式") || (playName == "任二直选复式"))
                {
                    return("654");
                }
                if ((playName == "任四直选单式") || (playName == "任四直选复式"))
                {
                    return("725");
                }
                if (playName.Contains("定位胆"))
                {
                    str = "59";
                }
                return(str);
            }
            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GP11X5)
            {
                switch (CommFunc.GetLotteryID(pType))
                {
                case "GD11X5":
                    if (playName == "前三直选单式")
                    {
                        return("483");
                    }
                    if (playName == "前二直选单式")
                    {
                        return("488");
                    }
                    if ((playName == "任选复式一中一") || (playName == "任选单式一中一"))
                    {
                        return("503");
                    }
                    if ((playName == "任选复式二中二") || (playName == "任选单式二中二"))
                    {
                        return("505");
                    }
                    if ((playName == "任选复式三中三") || (playName == "任选单式三中三"))
                    {
                        return("508");
                    }
                    if ((playName == "任选复式四中四") || (playName == "任选单式四中四"))
                    {
                        return("511");
                    }
                    if ((playName == "任选复式五中五") || (playName == "任选单式五中五"))
                    {
                        str = "514";
                    }
                    return(str);

                case "JX11X5":
                    if (playName == "前三直选单式")
                    {
                        str = "440";
                    }
                    else if (playName == "前二直选单式")
                    {
                        str = "445";
                    }
                    if ((playName == "任选复式一中一") || (playName == "任选单式一中一"))
                    {
                        return("460");
                    }
                    if ((playName == "任选复式二中二") || (playName == "任选单式二中二"))
                    {
                        return("462");
                    }
                    if ((playName == "任选复式三中三") || (playName == "任选单式三中三"))
                    {
                        return("465");
                    }
                    if ((playName == "任选复式四中四") || (playName == "任选单式四中四"))
                    {
                        return("468");
                    }
                    if ((playName == "任选复式五中五") || (playName == "任选单式五中五"))
                    {
                        str = "471";
                    }
                    return(str);
                }
                if (playName == "前三直选单式")
                {
                    str = "90";
                }
                else if (playName == "前二直选单式")
                {
                    str = "94";
                }
                if ((playName == "任选复式一中一") || (playName == "任选单式一中一"))
                {
                    return("108");
                }
                if ((playName == "任选复式二中二") || (playName == "任选单式二中二"))
                {
                    return("110");
                }
                if ((playName == "任选复式三中三") || (playName == "任选单式三中三"))
                {
                    return("112");
                }
                if ((playName == "任选复式四中四") || (playName == "任选单式四中四"))
                {
                    return("114");
                }
                if ((playName == "任选复式五中五") || (playName == "任选单式五中五"))
                {
                    str = "116";
                }
                return(str);
            }
            if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPPK10)
            {
                if ((playName == "猜前三单式") || (playName == "猜前三复式"))
                {
                    return("1218");
                }
                if ((playName == "猜前二单式") || (playName == "猜前二复式"))
                {
                    return("1217");
                }
                if ((playName == "猜前四单式") || (playName == "猜前四复式"))
                {
                    return("1219");
                }
                if (playName == "猜冠军猜冠军")
                {
                    return("1216");
                }
                if (playName.Contains("定位胆"))
                {
                    str = "1215";
                }
            }
            return(str);
        }
Example #24
0
 public override string GetAccountsMemLine(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/?s=/ApiUser/getProductBalanceForCache/");
Example #25
0
 public override string GetLotteryLine(ConfigurationStatus.LotteryType pType, bool pAll = false) =>
 string.Format("{0}/gameBet_cqssc-{1}.html?lottery={1}", this.GetLine(), this.GetBetsLotteryID(pType));
Example #26
0
 public override string GetIndexCode(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/invest/lotteryInfo");
Example #27
0
        public override string GetPrize(ConfigurationStatus.LotteryType pType, string playName)
        {
            int num = 0;

            while (true)
            {
                if ((num >= 3) || (base.Prize != ""))
                {
                    if (base.Prize == "")
                    {
                        return("");
                    }
                    double pNum = Convert.ToDouble(base.Prize);
                    if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPSSC)
                    {
                        if (playName.Contains("组三"))
                        {
                            pNum = 0.33401578947368421 * Convert.ToInt32(base.Prize);
                        }
                        else if (playName.Contains("组六"))
                        {
                            pNum = 0.16666842105263158 * Convert.ToInt32(base.Prize);
                        }
                        else
                        {
                            pNum /= 1000.0;
                            if (playName.Contains("定位胆"))
                            {
                                pNum *= 10.0;
                            }
                            else if (playName.Contains("二"))
                            {
                                pNum *= 100.0;
                            }
                            else if (playName.Contains("三"))
                            {
                                pNum *= 1000.0;
                            }
                            else if (playName.Contains("四"))
                            {
                                pNum *= 10000.0;
                            }
                            else if (playName.Contains("五"))
                            {
                                pNum *= 100000.0;
                            }
                        }
                    }
                    else if (AppInfo.Current.Lottery.Group == ConfigurationStatus.LotteryGroup.GPPK10)
                    {
                        if (playName.Contains("定位胆") || playName.Contains("猜冠军猜冠军"))
                        {
                            pNum /= 100.0;
                        }
                        else if (playName.Contains("二"))
                        {
                            pNum /= 11.1111;
                        }
                        else if (playName.Contains("三"))
                        {
                            pNum /= 1.3889;
                        }
                        else if (playName.Contains("四"))
                        {
                            pNum /= 0.1984;
                        }
                        else if (playName.Contains("五"))
                        {
                            pNum /= 0.033;
                        }
                    }
                    return(CommFunc.TwoDouble(pNum, true));
                }
                this.GetSite(pType, "");
                num++;
            }
        }
Example #28
0
 public override string GetLotteryLine(ConfigurationStatus.LotteryType pType, bool pAll = false) =>
 (this.GetLine() + "/invest-lottery.html");
Example #29
0
 public override string GetBetsLine(ConfigurationStatus.LotteryType pType) =>
 (this.GetLine() + "/tools/ssc_ajax.ashx");
Example #30
0
 public string GetPlayMethodID1(ConfigurationStatus.LotteryType pType, string playName, List <int> pIndexList)
 {
     ConfigurationStatus.PTPrizeGroup group = this.GetPlayMethodGroup(pType, playName, pIndexList);
     return((group == null) ? "" : group.PlayID);
 }