清理多余引用
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user