bugfix:修复Mqtt服务器详情页变量值不更新的问题,修复修改Mqtt别名后台不更新的问题,重新调整了别名的架构

This commit is contained in:
2025-10-11 18:07:01 +08:00
parent 6daca3eaf6
commit 2ada4246ff
30 changed files with 527 additions and 275 deletions

View 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;
}
}