清理多余引用

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

@@ -13,18 +13,18 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
private readonly ActionEventHandler wallFinishHandler = new ();
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
[NotifyCanExecuteChangedFor(nameof(PlaceWallCommand))]
public partial double WallBaseOffset { get; set; }
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
[NotifyCanExecuteChangedFor(nameof(PlaceWallCommand))]
private double wallHeight;
[ObservableProperty]
public partial List<WallType> WallTypes { get; set; } = wallTypes;
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvCivil.WallFinishesViewModel.PlaceWallCommand))]
[NotifyCanExecuteChangedFor(nameof(PlaceWallCommand))]
private WallType selectedWallType;
public PlacementType PlaceType { get; set; }
@@ -58,7 +58,7 @@ public partial class WallFinishesViewModel(List<WallType> wallTypes) : Observabl
PlaceWallFinishesByFace(uiapp, SelectedWallType, wallWidth, WallHeight, WallBaseOffset);
break;
*/
WallFinishesViewModel.PlaceWallFinishesByFace(uidoc, SelectedWallType, wallWidth, WallHeight, WallBaseOffset);
PlaceWallFinishesByFace(uidoc, SelectedWallType, wallWidth, WallHeight, WallBaseOffset);
break;
case PlacementType.ByWall:
PlaceWallFinishesByWall(uidoc, SelectedWallType, wallWidth, WallHeight, WallBaseOffset);