/// <summary>
 /// 创建CalibrationPoint新实例
 /// </summary>
 /// <param name="location">点位位置</param>
 /// <param name="px">原始X点位</param>
 /// <param name="py">原始Y点位</param>
 /// <param name="qx">转换X点位</param>
 /// <param name="qy">转换Y点位</param>
 public CalibrationPoint(ECalibrationPointLocation location, double px, double py, double qx, double qy) : this(px, py, qx, qy)
 {
     Location = location;
 }
 /// <summary>
 /// 增加点位
 /// </summary>
 /// <param name="location">点位位置</param>
 /// <param name="px">原始X点位</param>
 /// <param name="py">原始Y点位</param>
 /// <param name="qx">转换X点位</param>
 /// <param name="qy">转换Y点位</param>
 public void Add(ECalibrationPointLocation location, double px, double py, double qx, double qy)
 {
     CalibPointList.Add(new CalibrationPoint(location, px, py, qx, qy));
     OnCalibrationPointListChanged(CalibPointList);
 }
        /// <summary>
        /// 枚举变量到字符串描述
        /// </summary>
        /// <param name="value"></param>
        /// <param name="targetType"></param>
        /// <param name="parameter"></param>
        /// <param name="culture"></param>
        /// <returns></returns>
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            ECalibrationPointLocation location = (ECalibrationPointLocation)value;

            return((Attribute.GetCustomAttribute(location.GetType().GetField(location.ToString()), typeof(DescriptionAttribute)) as DescriptionAttribute).Description);
        }