using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mesnac.Controls.ChemicalWeighing
{
    /// <summary>参考坐标轴的转换器</summary>
    public class ReferenceAxisConverter : TypeConverter
    {
        /// <inheritdoc />
        public override PropertyDescriptorCollection GetProperties(
          ITypeDescriptorContext context,
          object value,
          Attribute[] attributes)
        {
            return TypeDescriptor.GetProperties(value, attributes);
        }

        /// <inheritdoc />
        public override bool GetPropertiesSupported(ITypeDescriptorContext context) => true;
    }
}