using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Community;
using HalconDotNet;
using MahApps.Metro.Controls.Dialogs;
using Model.Vision;
using System.Windows;
using Model;
namespace ViewModel.Vision
{
///
/// 特征检查VM
///
partial class HalconVisual
{
#region 各种方法
///
/// 特征检查编辑
///
public DelegateCommand InspectionFeaturesEditCommand { get; set; }
///
/// 特征检查测试
///
public DelegateCommand InspectionFeaturesTestCommand { get; set; }
///
/// 二值化处理
///
public DelegateCommand ThresholdRunCommand { get; set; }
///
/// 保存检查参数
///
public DelegateCommand SaveInspectPerCommand { get; set; }
#endregion
#region 初始化
///
/// 特征检查初始化
///
public void InspectionFeaturesInitialization()
{
InspectionFeaturesEditCommand = new DelegateCommand();
InspectionFeaturesEditCommand.ExecuteAction = new Action