LIN SCH 更改

This commit is contained in:
2025-10-15 09:54:46 +08:00
parent db6acc2741
commit ad1d3e081f
6 changed files with 164 additions and 54 deletions

View File

@@ -56,6 +56,16 @@ namespace CapMachine.Wpf.ViewModels
/// </summary>
public class LinMsgNode : BindableBase
{
/// <summary>
/// 所属的调度表名称(便于回写 DTO 时定位)。
/// </summary>
private string _SchTabName;
public string SchTabName
{
get => _SchTabName;
set => SetProperty(ref _SchTabName, value);
}
/// <summary>
/// 消息/帧名称。
/// </summary>
@@ -85,5 +95,15 @@ namespace CapMachine.Wpf.ViewModels
get => _IsSelected;
set => SetProperty(ref _IsSelected, value);
}
/// <summary>
/// 子节点勾选是否可用(仅当父调度表被选中时可编辑)。
/// </summary>
private bool _CanEdit;
public bool CanEdit
{
get => _CanEdit;
set => SetProperty(ref _CanEdit, value);
}
}
}