修复了添加设备不更新的问题和一些已知的问题
This commit is contained in:
@@ -7,21 +7,23 @@ namespace PMSWPF.Models;
|
||||
|
||||
public partial class Device : ObservableObject
|
||||
{
|
||||
[ObservableProperty] private string description;
|
||||
|
||||
[ObservableProperty]private string description;
|
||||
|
||||
[ObservableProperty] private int id;
|
||||
|
||||
|
||||
[ObservableProperty] private string ip;
|
||||
|
||||
|
||||
[ObservableProperty] private bool isActive = true;
|
||||
|
||||
|
||||
[ObservableProperty] private bool isRuning;
|
||||
|
||||
|
||||
[ObservableProperty] private string name;
|
||||
|
||||
|
||||
[SugarColumn(ColumnDataType = "varchar(20)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceType DeviceType { get; set; }
|
||||
|
||||
|
||||
public List<VariableTable>? VariableTables { get; set; }
|
||||
public ProtocolType ProtocolType { get; set; }
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user