添加了后台的数据处理服务。并判断如果值发生了变化则更新数据库

This commit is contained in:
2025-07-16 15:08:56 +08:00
parent 53f904e0ce
commit 77363efcf6
11 changed files with 222 additions and 147 deletions

View File

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