平安校园
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 line
859 B

  1. namespace SafeCampus.Plugin.Mqtt
  2. {
  3. /// <summary>
  4. /// mqtt常量
  5. /// </summary>
  6. public class MqttConst
  7. {
  8. /// <summary>
  9. /// mqtt认证登录信息key
  10. /// </summary>
  11. public const string Cache_MqttClientUser = CacheConst.Cache_Prefix_Web + "MqttClientUser:";
  12. /// <summary>
  13. /// mqtt主题前缀
  14. /// </summary>
  15. public const string Mqtt_TopicPrefix = "SafeCampus/";
  16. /// <summary>
  17. /// 登出
  18. /// </summary>
  19. public const string Mqtt_Message_LoginOut = "LoginOut";
  20. /// <summary>
  21. /// 新消息
  22. /// </summary>
  23. public const string Mqtt_Message_New = "NewMessage";
  24. /// <summary>
  25. /// 修改密码
  26. /// </summary>
  27. public const string Mqtt_Message_UpdatePassword = "UpdatePassword";
  28. }
  29. }