Report_Statistic_Topic_Mod.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace CommLib.BdPush
  7. {
  8. /// <summary>
  9. /// 作者:冼树华
  10. /// QQ:56472465
  11. /// 日期:20150-04-29
  12. /// 功能:统计当前应用下一个分类主题的消息数量
  13. /// 注:支持单播、批量单播。
  14. /// </summary>
  15. public class Report_Statistic_Topic_Mod : Baidu_Mod
  16. {
  17. #region 属性
  18. public string topic_id {get;set;} //string 是 字母、数字及下划线组成,长度限制为1~128 一个已使用过的分类主题
  19. #endregion
  20. #region 构造函数
  21. public Report_Statistic_Topic_Mod(string apikey, string topic_id)
  22. {
  23. this.apikey = apikey;
  24. this.topic_id = topic_id;
  25. this.timestamp = Tool.getDefauleTimestamp(); //默认使用当前时间戳
  26. this.device_type = 3; //安卓
  27. }
  28. #endregion
  29. }
  30. }