Exemplo n.º 1
0
        protected void onStat(object sender, EventArgs e)
        {
            GMUser  user = (GMUser)Session["user"];
            StatMgr mgr  = user.getSys <StatMgr>(SysType.sysTypeStat);

            if (m_statWay.SelectedIndex == 0)
            {
                OpRes res = mgr.doStat(m_time.Text, StatType.statTypeActiveCount, user);
                genTable(m_result, res, user, mgr, StatType.statTypeActiveCount);
            }
            else
            {
                OpRes res = mgr.doStat(m_time.Text, StatType.statTypeActivePerson, user);
                genTable(m_result, res, user, mgr, StatType.statTypeActivePerson);
            }
        }
Exemplo n.º 2
0
        // 开始统计充值记录
        protected void onStatRecharge(object sender, EventArgs e)
        {
            GMUser             user  = (GMUser)Session["user"];
            ParamQueryRecharge param = genParamQueryRecharge();
            StatMgr            mgr   = user.getSys <StatMgr>(SysType.sysTypeStat);
            OpRes res = mgr.doStat(param, StatType.statTypeRecharge, user);

            genStatTable(m_result, res, mgr, user);
        }
        protected void onStat(object sender, EventArgs e)
        {
            GMUser user = (GMUser)Session["user"];

            if (m_statWay.SelectedIndex == 0)
            {
                StatMgr mgr = user.getSys <StatMgr>(SysType.sysTypeStat);
                mgr.doStat(null, StatType.statTypeVipLevel, user);
                genVipLevelTable(m_result, user, mgr);
            }
            else
            {
                QueryMgr mgr = user.getSys <QueryMgr>(SysType.sysTypeQuery);
                mgr.doQuery(m_statWay.SelectedIndex, QueryType.queryTypeLobby, user);
                genGeneralTable(m_result, user, mgr);
            }
        }
Exemplo n.º 4
0
    public OpRes doStat(object param, StatType statName)
    {
        StatMgr mgr = getSys <StatMgr>(SysType.sysTypeStat);

        return(mgr.doStat(param, statName, this));
    }