using System.Collections.Generic;
using System.Data;

namespace Stat.IDAL
{
   public interface IViewOnLine
    {
        /// <summary>
        /// 获取在线用户列表
        /// </summary>
        /// <param name="statModel">参数对象</param>
        /// <param name="pageModel">分页对象</param>
        /// <returns></returns>
        IList<Stat.Model.Online> GetOnLineList(Model.StatInfo statModel, ref Model.PageInfo pageModel);
        /// <summary>
        /// 获取在线情况概况（如用于：PV,IP,UV）
        /// </summary>
        /// <param name="model"></param> 
        /// <returns></returns>
        List<Model.Online> GetPvIpUv(Model.StatInfo model);
        /// <summary>
        /// 最近来路页面数据
        /// </summary>
        /// <param name="model"></param> 
        /// <returns>Juju 2011-10-24</returns>
        List<Model.ViewClick> GetReferer(Model.StatInfo model);

       /// <summary>
       /// 最近停留页面
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
       /// <remarks>Juju 2011-10-24</remarks>
        DataTable GetStayPage(Model.StatInfo model);
    }
}
