refactor:删除了DeviceDto,VariableDto,VariableTableDto,改为使用DMS.Core中的实体

This commit is contained in:
2025-10-07 17:51:24 +08:00
parent 94ad940e03
commit b753e5ea73
52 changed files with 291 additions and 463 deletions

View File

@@ -1,16 +1,15 @@
using DMS.Application.DTOs;
using DMS.Core.Models;
namespace DMS.Application.Models
{
public class VariableContext
{
public VariableDto Data { get; set; }
public Variable Data { get; set; }
public string NewValue { get; set; }
public bool IsHandled { get; set; }
public VariableContext(VariableDto data, string newValue="")
public VariableContext(Variable data, string newValue="")
{
Data = data;
IsHandled = false; // 默认未处理