refactor:删除了DeviceDto,VariableDto,VariableTableDto,改为使用DMS.Core中的实体
This commit is contained in:
@@ -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; // 默认未处理
|
||||
|
||||
Reference in New Issue
Block a user