Example #1
0
        public override bool Equals(I_JingCai_Odds odds)
        {
            return(S_QT.Equals(odds.GetOdds("X0")) &&
                   S_52.Equals(odds.GetOdds("52")) &&
                   S_51.Equals(odds.GetOdds("51")) &&
                   S_50.Equals(odds.GetOdds("50")) &&
                   S_42.Equals(odds.GetOdds("42")) &&
                   S_41.Equals(odds.GetOdds("41")) &&
                   S_40.Equals(odds.GetOdds("40")) &&
                   S_32.Equals(odds.GetOdds("32")) &&
                   S_31.Equals(odds.GetOdds("31")) &&
                   S_30.Equals(odds.GetOdds("30")) &&
                   S_21.Equals(odds.GetOdds("21")) &&
                   S_20.Equals(odds.GetOdds("20")) &&
                   S_10.Equals(odds.GetOdds("10"))

                   && P_QT.Equals(odds.GetOdds("XX")) &&
                   P_33.Equals(odds.GetOdds("33")) &&
                   P_22.Equals(odds.GetOdds("22")) &&
                   P_11.Equals(odds.GetOdds("11")) &&
                   P_00.Equals(odds.GetOdds("00"))

                   && F_QT.Equals(odds.GetOdds("0X")) &&
                   F_25.Equals(odds.GetOdds("25")) &&
                   F_15.Equals(odds.GetOdds("15")) &&
                   F_05.Equals(odds.GetOdds("05")) &&
                   F_24.Equals(odds.GetOdds("24")) &&
                   F_14.Equals(odds.GetOdds("14")) &&
                   F_04.Equals(odds.GetOdds("04")) &&
                   F_23.Equals(odds.GetOdds("23")) &&
                   F_13.Equals(odds.GetOdds("13")) &&
                   F_03.Equals(odds.GetOdds("03")) &&
                   F_12.Equals(odds.GetOdds("12")) &&
                   F_02.Equals(odds.GetOdds("02")) &&
                   F_01.Equals(odds.GetOdds("01")));
        }
Example #2
0
 public override string GetOddsString()
 {
     return("X0|" + S_QT.ToString("F2") + ",52|" + S_52.ToString("F2") + ",51|" + S_51.ToString("F2") + ",50|" + S_50.ToString("F2") + ",42|" + S_42.ToString("F2") + ",41|" + S_41.ToString("F2") + ",40|" + S_40.ToString("F2") + ",32|" + S_32.ToString("F2") + ",31|" + S_31.ToString("F2") + ",30|" + S_30.ToString("F2") + ",21|" + S_21.ToString("F2") + ",20|" + S_20.ToString("F2") + ",10|" + S_10.ToString("F2")
            + ",XX|" + P_QT.ToString("F2") + ",00|" + P_00.ToString("F2") + ",11|" + P_11.ToString("F2") + ",22|" + P_22.ToString("F2") + ",33|" + P_33.ToString("F2")
            + ",0X|" + F_QT.ToString("F2") + ",25|" + F_25.ToString("F2") + ",15|" + F_15.ToString("F2") + ",05|" + F_05.ToString("F2") + ",24|" + F_24.ToString("F2") + ",14|" + F_14.ToString("F2") + ",04|" + F_04.ToString("F2") + ",23|" + F_23.ToString("F2") + ",13|" + F_13.ToString("F2") + ",03|" + F_03.ToString("F2") + ",12|" + F_12.ToString("F2") + ",02|" + F_02.ToString("F2") + ",01|" + F_01.ToString("F2"));
 }