将所有的VariableData改为Variable,将DataVariables改为Variables,修复了变量添加MQTT服务器后,服务器列表不更新的问题

This commit is contained in:
2025-07-17 20:13:21 +08:00
parent 6b21c387d5
commit 018fe7c9d0
44 changed files with 410 additions and 407 deletions

16
Models/VariableContext.cs Normal file
View File

@@ -0,0 +1,16 @@
using PMSWPF.Models;
namespace PMSWPF.Models
{
public class VariableContext
{
public Variable Data { get; set; }
public bool IsHandled { get; set; }
public VariableContext(Variable data)
{
Data = data;
IsHandled = false; // 默认未处理
}
}
}