using MECF.Framework.Common.WaferHolder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CyberX8_Themes.UserControls
{
    /// <summary>
    /// WaferHolderPanel.xaml 的交互逻辑
    /// </summary>
    public partial class WaferHolderPanel : UserControl
    {
        public WaferHolderPanel()
        {
            InitializeComponent();
        }

        #region 属性
        public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(
           "ModuleName", typeof(string), typeof(WaferHolderPanel),
           new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// 模块名称
        /// </summary>
        public string ModuleName
        {
            get
            {
                return (string)this.GetValue(ModuleNameProperty);
            }
            set
            {
                this.SetValue(ModuleNameProperty, value);
            }
        }

        public static readonly DependencyProperty WaferHolderInfoProperty = DependencyProperty.Register(
           "WaferHolderInfo", typeof(WaferHolderInfo), typeof(WaferHolderPanel),
           new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// 模块名称
        /// </summary>
        public WaferHolderInfo WaferHolderInfo
        {
            get
            {
                return (WaferHolderInfo)this.GetValue(WaferHolderInfoProperty);
            }
            set
            {
                this.SetValue(WaferHolderInfoProperty, value);
            }
        }


        public static readonly DependencyProperty SeqRecipeProperty = DependencyProperty.Register(
            "SeqRecipeValue", typeof(string), typeof(WaferHolderPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// SeqRecipe
        /// </summary>
        public string SeqRecipeValue
        {
            get
            {
                return (string)this.GetValue(SeqRecipeProperty);
            }
            set
            {
                this.SetValue(SeqRecipeProperty, value);
            }
        }


        #endregion
    }
}