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.
|
- using Furion.ConfigurableOptions;
-
- namespace SafeCampus.Plugin.Core
- {
- /// <summary>
- /// 插件配置选项
- /// </summary>
- public class PluginSettingsOptions : IConfigurableOptions
- {
- /// <summary>
- /// 是否开启SignalR
- /// </summary>
- public bool UseSignalR { get; set; } = true;
-
- /// <summary>
- /// 是否开启Mqtt
- /// </summary>
- public bool UseMqtt { get; set; } = false;
-
- /// <summary>
- /// 默认通知类型
- /// SignalR/Mqtt
- /// </summary>
- public NoticeComponent NoticeComponent { get; set; } = NoticeComponent.Signalr;
- }
- }
|