添加了变量表的停用和启用功能,并优化了添加变量表和添加设备的逻辑
This commit is contained in:
@@ -11,7 +11,8 @@ public partial class VariableTable:ObservableObject
|
||||
|
||||
public ProtocolType ProtocolType { get; set; }
|
||||
public List<DataVariable> DataVariables { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private bool isActive;
|
||||
public int? DeviceId { get; set; }
|
||||
public Device? Device { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user