예제 #1
0
        public override string GetAppExpect(ConfigurationStatus.LotteryType pType, string pExpect, bool pIsBets = false)
        {
            string lotteryID = CommFunc.GetLotteryID(pType);
            string str2      = pExpect;

            if (CommFunc.CheckIsSkipLottery(lotteryID))
            {
                return(str2);
            }
            if (pIsBets)
            {
                str2 = str2.Substring(2);
                switch (lotteryID)
                {
                case "GD11X5":
                case "SD11X5":
                case "SH11X5":
                case "JX11X5":
                case "AH11X5":
                case "XJSSC":
                    return(str2.Replace("-0", ""));
                }
                return(str2.Replace("-", ""));
            }
            return("20" + str2);
        }
예제 #2
0
        public override string GetBetsExpect(string pExpect, string pLotteryID = "")
        {
            string iD   = AppInfo.Current.Lottery.ID;
            string str2 = CommFunc.ConvertBetsExpect(pExpect, iD, true, true, false);

            if (!CommFunc.CheckIsSkipLottery(iD))
            {
                str2 = str2.Substring(2);
            }
            return(str2);
        }
예제 #3
0
        public override string GetBetsExpect(string pExpect, string pLotteryID = "")
        {
            string iD   = AppInfo.Current.Lottery.ID;
            string str2 = CommFunc.ConvertBetsExpect(pExpect, iD, false, false, false);

            if (!CommFunc.CheckIsSkipLottery(iD))
            {
                str2 = str2.Substring(2);
            }
            if ((((iD == "GD11X5") || (iD == "SD11X5")) || ((iD == "SH11X5") || (iD == "JX11X5"))) || (iD == "AH11X5"))
            {
                str2 = str2.Replace("-0", "");
            }
            return(str2);
        }
예제 #4
0
        public override string GetBetsExpect(string pExpect, string pLotteryID = "")
        {
            string iD   = AppInfo.Current.Lottery.ID;
            string str2 = CommFunc.ConvertBetsExpect(pExpect, iD, true, true, true);

            if ((!CommFunc.CheckIsSkipLottery(pLotteryID) && (iD != "TXFFC")) && (iD != "FNYXHY11X5"))
            {
                str2 = str2.Substring(2);
            }
            if (iD == "TXFFC")
            {
                return(str2.Insert(8, "-"));
            }
            if (iD == "FNYXHY11X5")
            {
                str2 = str2.Insert(8, "-");
            }
            return(str2);
        }
예제 #5
0
        public override string GetAppExpect(ConfigurationStatus.LotteryType pType, string pExpect, bool pIsBets = false)
        {
            string str = pExpect;

            if (pType == ConfigurationStatus.LotteryType.JX11X5)
            {
                if (pIsBets)
                {
                    return(("20" + str).Insert(8, "-"));
                }
                return(str.Replace("-", ""));
            }
            if ((pType == ConfigurationStatus.LotteryType.ZLJSE15C) || (pType == ConfigurationStatus.LotteryType.ZLJDJSSC))
            {
                if (pIsBets)
                {
                    str = "20" + str;
                }
                return(str);
            }
            if (pType == ConfigurationStatus.LotteryType.ZLJELS5FC)
            {
                if (pIsBets)
                {
                    return(str.Insert(6, "0"));
                }
                return("20" + str.Remove(6, 1));
            }
            if (pType == ConfigurationStatus.LotteryType.WBJXDLSSC)
            {
                if (pIsBets)
                {
                    return("20" + str);
                }
                return(str.Substring(2));
            }
            if (!CommFunc.CheckIsSkipLottery(CommFunc.GetLotteryID(pType)) && !pIsBets)
            {
                str = "20" + str;
            }
            return(str);
        }