bugfix:修复Mqtt服务器详情页变量值不更新的问题,修复修改Mqtt别名后台不更新的问题,重新调整了别名的架构
This commit is contained in:
18
DMS.Application/Events/MqttAliasChangedEventArgs.cs
Normal file
18
DMS.Application/Events/MqttAliasChangedEventArgs.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using DMS.Core.Enums;
|
||||
using DMS.Core.Models;
|
||||
|
||||
namespace DMS.Application.Events;
|
||||
|
||||
public class MqttAliasChangedEventArgs : EventArgs
|
||||
{
|
||||
public ActionChangeType ChangeType { get; }
|
||||
public MqttAlias MqttAlias { get; }
|
||||
public MqttAliasPropertyType PropertyType { get; }
|
||||
|
||||
public MqttAliasChangedEventArgs(ActionChangeType changeType, MqttAlias mqttAlias, MqttAliasPropertyType propertyType = MqttAliasPropertyType.All)
|
||||
{
|
||||
ChangeType = changeType;
|
||||
MqttAlias = mqttAlias;
|
||||
PropertyType = propertyType;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user