diff --git a/XplorePlane/ViewModels/Inspection/TaskWizard/InspectionTaskWizardViewModel.cs b/XplorePlane/ViewModels/Inspection/TaskWizard/InspectionTaskWizardViewModel.cs index 63f47cd7..c3e2a5cd 100644 --- a/XplorePlane/ViewModels/Inspection/TaskWizard/InspectionTaskWizardViewModel.cs +++ b/XplorePlane/ViewModels/Inspection/TaskWizard/InspectionTaskWizardViewModel.cs @@ -121,7 +121,11 @@ namespace XplorePlane.ViewModels.Inspection.TaskWizard public InspectionPool? Pool { get => _pool; - set => SetProperty(ref _pool, value); + set + { + if (SetProperty(ref _pool, value)) + UpdateNavigationState(); + } } private CalibrationResult? _taskCalibrationResult; @@ -359,12 +363,12 @@ namespace XplorePlane.ViewModels.Inspection.TaskWizard public DelegateCommand LoadWorkpieceCommand { get; } public DelegateCommand ApplyPipelineCommand { get; } - public DelegateCommand RunBgaDetectionCommand { get; } - public DelegateCommand GeneratePoolCommand { get; } - public DelegateCommand ApplyBubbleParametersCommand { get; } - public DelegateCommand RunCalibrationCommand { get; } - public DelegateCommand StartScanningCommand { get; } - public DelegateCommand SavePlanCommand { get; } + public DelegateCommand RunBgaDetectionCommand { get; } //bga识别 + public DelegateCommand GeneratePoolCommand { get; } //生成检测池 + public DelegateCommand ApplyBubbleParametersCommand { get; } //应用气孔参数 + public DelegateCommand RunCalibrationCommand { get; } //校准 + public DelegateCommand StartScanningCommand { get; } //开始扫描 + public DelegateCommand SavePlanCommand { get; } //保存计划 public DelegateCommand GoNextCommand { get; } public DelegateCommand GoBackCommand { get; } public DelegateCommand CloseWizardCommand { get; }