using System.Collections.Generic;

namespace Stat.Cache
{
    public interface IAd
    {
        /// <summary>
        /// 广告缓存
        /// </summary>
        /// <param name="Posit">0：统计底部。1："当前位置" 右侧；2：网址列表 赞助商 文本；3：顶部；4：底部通栏</param>
        /// <returns></returns>
        string GetAD(int Posit);
        /// <summary>
        /// 获取图片友情链接
        /// </summary>
        /// <param name="num"></param>
        ///<param name="cType">0：一般，1：赞助商</param>
        /// <returns></returns>
        IList<Stat.Model.FriendLink> GetImg(int num, int cType);
        /// <summary>
        /// 获取图片友情链接（图文）
        /// </summary>
        /// <param name="num"></param>
        /// <param name="img_w"></param>
        /// <param name="img_h"></param>
        ///<param name="cType">0：一般，1：赞助商</param>
        /// <returns></returns>
        IList<Stat.Model.FriendLink> GetImg_Txt(int num, int cType);
        /// <summary>
        /// 获取图片友情链接
        /// </summary>
        /// <param name="num"></param>
        /// <param name="img_w"></param>
        /// <param name="img_h"></param>
        /// <param name="cType">2：LOGO</param>
        /// <param name="Position">0,1,2,3</param>
        /// <returns></returns>
        IList<Stat.Model.FriendLink> GetImg(int num, int cType, int Position);
        /// <summary>
        /// 获取图片友情链接（图文）
        /// </summary>
        /// <param name="num"></param>
        /// <param name="img_w"></param>
        /// <param name="img_h"></param>
        /// <param name="cType">2：LOGO</param>
        /// <param name="Position">0,1,2,3</param>
        /// <returns></returns>
        IList<Stat.Model.FriendLink> GetImg_Txt(int num, int cType, int Position);

        /// <summary>
        /// 获取图片友情链接（图文）
        /// </summary>
        /// <param name="num"></param>
        /// <param name="img_w"></param>
        /// <param name="img_h"></param>
        /// <param name="cType">2：LOGO</param>
        /// <param name="Position">0,1：首页切换,2：统计菜单下,3</param>
        /// <returns></returns>
        IList<Stat.Model.FriendLink> GetImg_Play(int num, int cType, int Position);
        /// <summary>
        ///  获取友情链接（文本）
        /// </summary>
        /// <param name="num"></param>
        /// <param name="cType"></param>
        /// <returns></returns>
        IList<Stat.Model.FriendLink> GetText(int num, int cType);

    }
}
