Ejemplo n.º 1
0
 public List<RemindStatisticsModel> GetDefaultList()
 {
     List<RemindStatisticsModel> result = new List<RemindStatisticsModel>();
     RemindStatisticsModel item = new RemindStatisticsModel();
     item.SysNo = "11";
     item.Game = "28游戏";
     item.Source = "北京";
     item.Site = "71豆";
     item.RetNum = "5";
     item.Cnt = "3";
     result.Add(item);
     item = new RemindStatisticsModel();
     item.SysNo = "11";
     item.Game = "28游戏";
     item.Source = "北京";
     item.Site = "71豆";
     item.RetNum = "5";
     item.Cnt = "3";
     result.Add(item);
     return result;
 }
Ejemplo n.º 2
0
 public List<RemindStatisticsModel> GetDataList(RemindStatistics[] data)
 {
     List<RemindStatisticsModel> result = new List<RemindStatisticsModel>();
     if (data != null && data.Length > 0)
     {
         for (int i = 0; i < data.Length; i++)
         {
             RemindStatistics _item = data[i];
             RemindStatisticsModel item = new RemindStatisticsModel();
             item.SysNo = _item.SysNo.ToString();
             item.Game = UtilsTool.GetGameName(_item.GameSysNo);
             item.Source = UtilsTool.GetSourceName(_item.SourceSysNo);
             item.Site = UtilsTool.GetSiteName(_item.SiteSysNo);
             item.RetNum = _item.RetNum;
             item.Cnt = _item.Cnt.ToString();
             result.Add(item);
         }
     }
     return result;
 }