平安校园
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.
 
 
 
 
 
 

33 lines
422 B

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