修复添加设备时选择通讯协议,界面也跟着跟新
This commit is contained in:
@@ -54,6 +54,11 @@ public partial class DeviceItemViewModel : ObservableObject
|
||||
[ObservableProperty]
|
||||
private string _status;
|
||||
|
||||
partial void OnProtocolChanged(ProtocolType oldValue, ProtocolType newValue)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ObservableCollection<VariableTableItemViewModel> VariableTables { get; set; } = new();
|
||||
|
||||
public DeviceItemViewModel(DeviceDto dto)
|
||||
|
||||
Reference in New Issue
Block a user