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

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

@@ -28,7 +28,8 @@ public partial class FloorFinishesViewModel : ObservableValidator
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.FloorFinishesViewModel.PlaceFloorCommand))]
[NotifyDataErrorInfo]
[ObservableProperty]
private double floorOffset;
public partial double FloorOffset { get; set; }
//[CustomValidation(typeof(FloorFinishesViewModel), nameof(ValidateFloorOffset))]
//public double FloorOffset
//{
@@ -52,11 +53,12 @@ public partial class FloorFinishesViewModel : ObservableValidator
// return new("输入内容不是数值。");
//}
[ObservableProperty] private bool rbAllRooms;
[ObservableProperty]
public partial bool RbAllRooms { get; set; }
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.FloorFinishesViewModel.PlaceFloorCommand))]
private FloorType selectedFloorType;
public partial FloorType SelectedFloorType { get; set; }
private bool CanPlace => SelectedFloorType != null && !HasErrors;