命名优化,达芬奇字体修改工具

This commit is contained in:
GG Z
2025-10-04 08:52:23 +08:00
parent 0d0afbc78e
commit 4722a4c881
121 changed files with 1801 additions and 1368 deletions

View File

@@ -13,15 +13,15 @@ public partial class CableLayoutViewModel : ObservableValidator
public CableLayoutViewModel(Document doc)
{
this.doc = doc;
specifications = new FilteredElementCollector(doc).OfClass(typeof(ConduitType)).Cast<ConduitType>().ToList();
Specifications = new FilteredElementCollector(doc).OfClass(typeof(ConduitType)).Cast<ConduitType>().ToList();
}
[ObservableProperty]
private ConduitType selectedConduitType;
public partial ConduitType SelectedConduitType { get; set; }
[Range(1, 20, ErrorMessage = "输入值有误!")]
[ObservableProperty]
[NotifyDataErrorInfo]
private int count;
public partial int Count { get; set; }
//public int Count
//{
@@ -30,11 +30,13 @@ public partial class CableLayoutViewModel : ObservableValidator
//}
[ObservableProperty]
private List<ConduitType> specifications;
public partial List<ConduitType> Specifications { get; set; }
[ObservableProperty]
private ConduitSize size;
public partial ConduitSize Size { get; set; }
[ObservableProperty]
private Dictionary<string, ConduitSize> sizes;
public partial Dictionary<string, ConduitSize> Sizes { get; set; }
[RelayCommand]
private void CloseWin(object obj)