Beispiel #1
0
 public override bool Equals(I_JingCai_Odds odds)
 {
     return(SH_SH_Odds.Equals(odds.GetOdds("33")) &&
            SH_P_Odds.Equals(odds.GetOdds("31")) &&
            SH_F_Odds.Equals(odds.GetOdds("30")) &&
            P_SH_Odds.Equals(odds.GetOdds("13")) &&
            P_P_Odds.Equals(odds.GetOdds("11")) &&
            P_F_Odds.Equals(odds.GetOdds("10")) &&
            F_SH_Odds.Equals(odds.GetOdds("03")) &&
            F_P_Odds.Equals(odds.GetOdds("01")) &&
            F_F_Odds.Equals(odds.GetOdds("00")));
 }
Beispiel #2
0
 public override string GetOddsString()
 {
     return("33|" + SH_SH_Odds.ToString("F2") + ",31|" + SH_P_Odds.ToString("F2") + ",30|" + SH_F_Odds.ToString("F2") + ",13|" + P_SH_Odds.ToString("F2") + ",11|" + P_P_Odds.ToString("F2") + ",10|" + P_F_Odds.ToString("F2") + ",03|" + F_SH_Odds.ToString("F2") + ",01|" + F_P_Odds.ToString("F2") + ",00|" + F_F_Odds.ToString("F2"));
 }