Exemplo n.º 1
0
 private String getTouzhuAlert() {
   int iZhuShu = getZhuShu();
   String alertStr = "";
   String zhuma = "";
   if (state.equals("Q2")) {
     int[] one = areaNums[0].table.getHighlightBallNOs();
     int[] two = areaNums[1].table.getHighlightBallNOs();
     zhuma = "万位:" + PublicMethod.getStrZhuMa(one) + "\n千位:" + PublicMethod.getStrZhuMa(two);
     alertStr = alertStr(zhuma);
   } else if (state.equals("Q3")) {
     int[] one = areaNums[0].table.getHighlightBallNOs();
     int[] two = areaNums[1].table.getHighlightBallNOs();
     int[] third = areaNums[2].table.getHighlightBallNOs();
     zhuma =
         "万位:"
             + PublicMethod.getStrZhuMa(one)
             + "\n千位:"
             + PublicMethod.getStrZhuMa(two)
             + "\n百位:"
             + PublicMethod.getStrZhuMa(third);
     alertStr = alertStr(zhuma);
   } else {
     int[] one = areaNums[0].table.getHighlightBallNOs();
     zhuma = PublicMethod.getStrZhuMa(one);
     alertStr = alertStr(zhuma);
   }
   codeStr = "注码:\n" + zhuma + "\n";
   return alertStr;
 }