DeviceListResultJson.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. #region Apache License Version 2.0
  2. /*----------------------------------------------------------------
  3. Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
  4. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software distributed under the
  8. License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  9. either express or implied. See the License for the specific language governing permissions
  10. and limitations under the License.
  11. Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
  12. ----------------------------------------------------------------*/
  13. #endregion Apache License Version 2.0
  14. /*----------------------------------------------------------------
  15. Copyright (C) 2019 Senparc
  16. 文件名:DeviceListResultJson.cs
  17. 文件功能描述:批量查询设备统计数据的返回结果
  18. 修改标识:Senparc - 20160520
  19. 修改描述:修改批量查询设备统计数据的返回结果
  20. ----------------------------------------------------------------*/
  21. using System;
  22. using System.Collections.Generic;
  23. using System.Linq;
  24. using System.Text;
  25. using System.Threading.Tasks;
  26. using Senparc.Weixin.Entities;
  27. using Senparc.Weixin.MP.AdvancedAPIs.WiFi;
  28. namespace Senparc.Weixin.MP.AdvancedAPIs.ShakeAround
  29. {
  30. /// <summary>
  31. /// 批量查询设备统计数据的返回结果
  32. /// </summary>
  33. public class DeviceListResultJson : WxJsonResult
  34. {
  35. public DeviceList_Data data { get; set; }
  36. }
  37. public class DeviceList_Data
  38. {
  39. /// <summary>
  40. ///
  41. /// </summary>
  42. public List<DevicesList_DevicesItem> devices { get; set; }
  43. /// <summary>
  44. /// 所查询的日期时间戳
  45. /// </summary>
  46. public long date { get; set; }
  47. /// <summary>
  48. /// 设备总数
  49. /// </summary>
  50. public string total_count { get; set; }
  51. /// <summary>
  52. /// 所查询的结果页序号;返回结果按摇周边人数降序排序,每50条记录为一页
  53. /// </summary>
  54. public string page_index { get; set; }
  55. }
  56. public class DevicesList_DevicesItem
  57. {
  58. /// <summary>
  59. /// 设备编号
  60. /// </summary>
  61. public string device_id { get; set; }
  62. /// <summary>
  63. /// major
  64. /// </summary>
  65. public string major { get; set; }
  66. /// <summary>
  67. /// minor
  68. /// </summary>
  69. public string minor { get; set; }
  70. /// <summary>
  71. /// uuid
  72. /// </summary>
  73. public string uuid { get; set; }
  74. /// <summary>
  75. /// 摇周边的次数
  76. /// </summary>
  77. public int shake_pv { get; set; }
  78. /// <summary>
  79. /// 摇周边的人数
  80. /// </summary>
  81. public int shake_uv { get; set; }
  82. /// <summary>
  83. /// 点击摇周边消息的次数
  84. /// </summary>
  85. public int click_pv { get; set; }
  86. /// <summary>
  87. /// 点击摇周边消息的人数
  88. /// </summary>
  89. public int click_uv { get; set; }
  90. }
  91. }