重构MQTT事件处理和激活状态管理功能
This commit is contained in:
@@ -55,17 +55,6 @@ public interface IEventService
|
||||
|
||||
#region MQTT事件
|
||||
|
||||
/// <summary>
|
||||
/// MQTT连接状态改变事件
|
||||
/// </summary>
|
||||
event EventHandler<MqttConnectionChangedEventArgs> MqttConnectionChanged;
|
||||
|
||||
/// <summary>
|
||||
/// 触发MQTT连接状态改变事件
|
||||
/// </summary>
|
||||
/// <param name="sender">事件发送者</param>
|
||||
/// <param name="e">MQTT连接状态改变事件参数</param>
|
||||
void RaiseMqttConnectionChanged(object sender, MqttConnectionChangedEventArgs e);
|
||||
|
||||
/// <summary>
|
||||
/// MQTT服务器改变事件
|
||||
@@ -107,7 +96,6 @@ public interface IEventService
|
||||
/// <param name="e">变量值改变事件参数</param>
|
||||
void RaiseVariableChanged(object sender, VariableChangedEventArgs e);
|
||||
|
||||
void RaiseVariableActiveChanged(object sender,VariablesActiveChangedEventArgs e);
|
||||
|
||||
/// <summary>
|
||||
/// 批量导入变量事件
|
||||
@@ -121,11 +109,6 @@ public interface IEventService
|
||||
/// <param name="e">批量导入变量事件参数</param>
|
||||
void RaiseBatchImportVariables(object sender, BatchImportVariablesEventArgs e);
|
||||
|
||||
/// <summary>
|
||||
/// 变量启停改变事件
|
||||
/// </summary>
|
||||
event EventHandler<VariablesActiveChangedEventArgs> OnVariableActiveChanged;
|
||||
|
||||
/// <summary>
|
||||
/// 数据加载完成事件
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user