Esempio n. 1
0
  /** 投注提示框中的信息 */
  public String getTouzhuAlert() {

    return "注数:"
        + addView.getAllZhu()
        + "注     "
        + "金额:"
        + addView.getAllAmt() * iProgressBeishu
        + "元"
        + "(冻结金额:"
        + (iProgressQishu - 1) * addView.getAllAmt() * iProgressBeishu
        + "元)";
  }
Esempio n. 2
0
 /** 初始化投注信息 */
 public void initBet() {
   betAndGift.setIsSellWays("1");
   betAndGift.setAmount("" + addView.getAllAmt() * iProgressBeishu * 100);
   betAndGift.setSessionid(sessionId);
   betAndGift.setPhonenum(phonenum);
   betAndGift.setUserno(userno);
   betAndGift.setBettype("bet"); // 投注为bet,赠彩为gift
   betAndGift.setLotmulti("" + iProgressBeishu); // lotmulti 倍数 投注的倍数
   betAndGift.setBatchnum("" + iProgressQishu); // batchnum 追号期数 默认为1(不追号)
   betAndGift.setBet_code(addView.getTouzhuCode(iProgressBeishu, betAndGift.getAmt() * 100));
   lotno = PublicMethod.toLotno(betAndGift.getLotno());
   betAndGift.setBatchcode(PublicMethod.toIssue(betAndGift.getLotno())); // 期号
 }
Esempio n. 3
0
  /** 投注提示框中的信息 */
  public void getTouzhuAlert() {
    if (type.equals("zc")) {
      zhushu.setText(betAndGift.getZhushu() + "注     ");
      jine.setText(
          iProgressQishu * (Integer.valueOf(betAndGift.getAmount()) / 100) * iProgressBeishu + "元");
    } else {
      zhushu.setText(addview.getAllZhu() + "注     ");
      jine.setText(iProgressQishu * addview.getAllAmt() * iProgressBeishu + "元");
    }

    //		return "注数:"
    //				+ addview.getAllZhu() + "注     "
    //				+ "金额:" +
    //				+ iProgressQishu * addview.getAllAmt() * iProgressBeishu
    //				+ "元";
  }