清理多余引用

This commit is contained in:
2026-02-24 11:34:18 +08:00
parent 4961914919
commit 0ba966cef2
163 changed files with 279 additions and 840 deletions

View File

@@ -24,7 +24,7 @@ public partial class FloorFinishesViewModel : ObservableValidator
[Required]
[Range(-6000, 6000, ErrorMessage = "输入偏移量值范围有误")]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.FloorFinishesViewModel.PlaceFloorCommand))]
[NotifyCanExecuteChangedFor(nameof(PlaceFloorCommand))]
[NotifyDataErrorInfo]
[ObservableProperty]
public partial double FloorOffset { get; set; }
@@ -56,7 +56,7 @@ public partial class FloorFinishesViewModel : ObservableValidator
public partial bool RbAllRooms { get; set; }
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.FloorFinishesViewModel.PlaceFloorCommand))]
[NotifyCanExecuteChangedFor(nameof(PlaceFloorCommand))]
public partial FloorType SelectedFloorType { get; set; }
private bool CanPlace => SelectedFloorType != null && !HasErrors;