完成设备的启用和停用并更新界面
This commit is contained in:
@@ -55,4 +55,16 @@ public interface IEventService
|
||||
void RaiseMqttConnectionChanged(object sender, MqttConnectionChangedEventArgs e);
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 设备运行改变事件
|
||||
/// </summary>
|
||||
event EventHandler<DeviceConnectChangedEventArgs> OnDeviceConnectChanged;
|
||||
|
||||
/// <summary>
|
||||
/// 触发设备状态改变事件
|
||||
/// </summary>
|
||||
/// <param name="sender">事件发送者</param>
|
||||
/// <param name="e">设备状态改变事件参数</param>
|
||||
void RaiseDeviceConnectChanged(object sender, DeviceConnectChangedEventArgs e);
|
||||
}
|
||||
Reference in New Issue
Block a user