清理多余引用
This commit is contained in:
@@ -7,10 +7,6 @@ using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using Nice3point.Revit.Toolkit.External.Handlers;
|
||||
|
||||
using ShrlAlgoToolkit.RevitAddins.RvMEP;
|
||||
using ShrlAlgoToolkit;
|
||||
using ShrlAlgoToolkit.RevitAddins;
|
||||
|
||||
namespace ShrlAlgoToolkit.RevitAddins.Mep;
|
||||
|
||||
public partial class StandMepCurveViewModel : ObservableObject
|
||||
@@ -37,23 +33,23 @@ public partial class StandMepCurveViewModel : ObservableObject
|
||||
public partial IEnumerable<MechanicalSystemType> DuctSystemTypes { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial IEnumerable<DuctType> DuctTypes { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial bool? IsCableTray { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial bool? IsConduit { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial bool? IsDuct { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial bool? IsPipe { get; set; } = true;
|
||||
|
||||
[ObservableProperty]
|
||||
@@ -63,27 +59,27 @@ public partial class StandMepCurveViewModel : ObservableObject
|
||||
public partial IEnumerable<PipeType> PipeTypes { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial CableTrayType SelectedCableTrayType { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial ConduitType SelectedConduitType { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial MechanicalSystemType SelectedDuctSystemType { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial DuctType SelectedDuctType { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial PipingSystemType SelectedPipeSystemType { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyCanExecuteChangedFor(nameof(Mep.StandMepCurveViewModel.CreateMepCurveCommand))]
|
||||
[NotifyCanExecuteChangedFor(nameof(CreateMepCurveCommand))]
|
||||
public partial PipeType SelectedPipeType { get; set; }
|
||||
|
||||
partial void OnSelectedPipeTypeChanged(PipeType value)
|
||||
|
||||
Reference in New Issue
Block a user