平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MqttMessage.cs 422 B

4 months ago
1234567891011121314151617181920212223242526272829303132
  1. 
  2. //
  3. namespace SafeCampus.Core;
  4. /// <summary>
  5. /// mqtt消息
  6. /// </summary>
  7. public class MqttMessage
  8. {
  9. /// <summary>
  10. /// 消息分类
  11. /// </summary>
  12. public string MsgType { get; set; }
  13. /// <summary>
  14. /// 消息内容
  15. /// </summary>
  16. public object Data { get; set; }
  17. /// <summary>
  18. /// 时间
  19. /// </summary>
  20. public DateTime DetTime { get; set; } = DateTime.Now;
  21. }