Beispiel #1
0
 public override bool Equals(I_JingCai_Odds odds)
 {
     return(JinQiu_0_Odds.Equals(odds.GetOdds("0")) &&
            JinQiu_1_Odds.Equals(odds.GetOdds("1")) &&
            JinQiu_2_Odds.Equals(odds.GetOdds("2")) &&
            JinQiu_3_Odds.Equals(odds.GetOdds("3")) &&
            JinQiu_4_Odds.Equals(odds.GetOdds("4")) &&
            JinQiu_5_Odds.Equals(odds.GetOdds("5")) &&
            JinQiu_6_Odds.Equals(odds.GetOdds("6")) &&
            JinQiu_7_Odds.Equals(odds.GetOdds("7")));
 }
Beispiel #2
0
 public override string GetOddsString()
 {
     return("0|" + JinQiu_0_Odds.ToString("F2") + ",1|" + JinQiu_1_Odds.ToString("F2") + ",2|" + JinQiu_2_Odds.ToString("F2") + ",3|" + JinQiu_3_Odds.ToString("F2") + ",4|" + JinQiu_4_Odds.ToString("F2") + ",5|" + JinQiu_5_Odds.ToString("F2") + ",6|" + JinQiu_6_Odds.ToString("F2") + ",7|" + JinQiu_7_Odds.ToString("F2"));
 }