示例#1
0
 public void getCodeInfo(AddView addView) {
   int zhuShu = getZhuShu();
   CodeInfo codeInfo = addView.initCodeInfo(getAmt(zhuShu), zhuShu);
   setLotoNoAndType(codeInfo);
   String lotoNo = codeInfo.getLotoNo();
   String touzhuType = codeInfo.getTouZhuType();
   AreaNum[] areaNums = itemViewArray.get(0).areaNums;
   codeInfo.setTouZhuCode(code.zhuma(areaNums, iProgressBeishu, 0));
   boolean isFirst = true;
   for (AreaNum areaNum : areaNums) {
     int[] codes = areaNum.table.getHighlightBallNOs();
     String codeStr = "";
     for (int i = 0; i < codes.length; i++) {
       if (isTen) {
         codeStr += PublicMethod.isTen(codes[i]);
       } else {
         codeStr += String.valueOf(codes[i]);
       }
       if (i != codes.length - 1) {
         if (!lotoNo.equals(Constants.LOTNO_QXC)
             && !lotoNo.equals(Constants.LOTNO_PL5)
             && !(lotoNo.equals(Constants.LOTNO_PL3) && touzhuType.equals("zhixuan"))) {
           codeStr += ",";
         }
       }
     }
     if (lotoNo.equals(Constants.LOTNO_PL3) && touzhuType.equals("zu3_danshi") && isFirst) {
       codeStr += ("," + codeStr);
       isFirst = false;
     }
     codeInfo.addAreaCode(codeStr, areaNum.textColor);
   }
   addView.addCodeInfo(codeInfo);
 }
示例#2
0
 public void getCodeInfo(AddView addView) {
   for (int i = 0; i < balls.size(); i++) {
     String codeStr = getAddZhuma(i);
     CodeInfo codeInfo = addView.initCodeInfo(betAndGift.getAmt(), 1);
     codeInfo.addAreaCode(codeStr, Color.BLACK);
     codeInfo.setTouZhuCode(balls.get(i).getZhuma(balls, 1));
     addView.addCodeInfo(codeInfo);
   }
   addView.setIsJXcode(ballOne.getZhuma(balls, iProgressBeishu));
 }
示例#3
0
 public void getCodeInfo(AddView addView) {
   int zhuShu = getZhuShu();
   CodeInfo codeInfo = addView.initCodeInfo(getAmt(zhuShu), zhuShu);
   AreaNum[] areaNums = itemViewArray.get(0).areaNums;
   codeInfo.setTouZhuCode(code.zhuma(areaNums, iProgressBeishu, 0));
   for (AreaNum areaNum : areaNums) {
     int[] codes = areaNum.table.getHighlightBallNOs();
     String codeStr = "";
     for (int i = 0; i < codes.length; i++) {
       codeStr += PublicMethod.isTen(codes[i]);
       if (i != codes.length - 1) {
         codeStr += ",";
       }
     }
     codeInfo.addAreaCode(codeStr, areaNum.textColor);
   }
   addView.addCodeInfo(codeInfo);
 }