using TrendChartSDK.Entity.Base;
namespace TrendChartSDK.Entity.TrendChart
{
///
/// 走势图基本信息
///
public class TrendChartInfo : BaseEntity
{
///
/// 名称
///
public string Name { get; set; }
///
/// 分类
///
public int Cid { get; set; }
///
/// 目录
///
public int Tid { get; set; }
///
/// 走势图状态
///
public TrendChartStatus Status { get; set; }
///
/// 排序
///
public int OrderBy { get; set; }
///
/// 页面标题
///
public string hTitle { get; set; }
///
/// 页面关键字
///
public string hKeywords { get; set; }
///
/// 页面描述
///
public string hDescription { get; set; }
///
/// 对应的URL
///
public string Url { get; set; }
///
/// 对应ChartId计算类型
///
public TrendChartIdType Type { get; set; }
///
/// 方向(横屏/竖屏) 0:横屏(普通电脑);1:竖屏(电视)
///
public int Direction { get; set; }
///
/// 模板ID
///
public int TemplateId { get; set; }
}
///
/// 走势图状态
///
public enum TrendChartStatus
{
///
/// 测试 预览
///
Test = -1,
///
/// 正常
///
Default = 0,
///
/// 新走势图
///
New = 1,
///
/// 热门走势图
///
Hot = 2
}
///
/// ChartId计算类型
///
public enum TrendChartIdType
{
///
/// 通用配置:直接取结果集数据
///
Normal = 0,
///
/// 实时计算:通过项的配置生成实时数据(特殊项)
///
Abnormal = 1,
///
/// 静态数据
///
Static = 2,
///
/// 高频动态计算数据
///
Dynamic = 3
}
}