修改了设备展示界面

This commit is contained in:
2025-06-22 21:00:06 +08:00
parent 908dc60439
commit 32648ff89f
7 changed files with 75 additions and 19 deletions

View File

@@ -1,3 +1,4 @@
using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using PMSWPF.Enums;
using SqlSugar;
@@ -22,7 +23,7 @@ public partial class Device:ObservableObject
[SugarColumn(ColumnDataType="varchar(20)",SqlParameterDbType=typeof(EnumToStringConvert))]
public DeviceType DeviceType { get; set; }
public List<DataVariable>? DataVariables { get; set; }
public List<VariableTable>? VariableTables { get; set; }
public ProtocolType ProtocolType { get; set; }
}