添加了变量表的停用和启用功能,并优化了添加变量表和添加设备的逻辑

This commit is contained in:
2025-07-02 18:33:08 +08:00
parent 39a6366a5e
commit 31f6cf64f4
19 changed files with 415 additions and 181 deletions

View File

@@ -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; }
}