using MECF.Framework.Common.CommonData.SRD;
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;
using CyberX8_Core;

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

        #region 属性

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

        public static readonly DependencyProperty CommonDataProperty = DependencyProperty.Register(
          "CommonData", typeof(SrdCommonData), typeof(SRDLeftInformation), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// CommonData
        /// </summary>
        public SrdCommonData CommonData
        {
            get
            {
                return (SrdCommonData)this.GetValue(CommonDataProperty);
            }
            set
            {
                this.SetValue(CommonDataProperty, value);
            }
        }

        public static readonly DependencyProperty WaferPresenceProperty = DependencyProperty.Register(
            "WaferPresence", typeof(String), typeof(SRDLeftInformation), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// WaferPresence
        /// </summary>
        public String WaferPresence
        {
            get
            {
                return (String)this.GetValue(WaferPresenceProperty);
            }
            set
            {
                this.SetValue(WaferPresenceProperty, value);
            }
        }

        public static readonly DependencyProperty StateMachineProperty = DependencyProperty.Register(
            "StateMachine", typeof(String), typeof(SRDLeftInformation), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
        /// <summary>
        /// StateMachine
        /// </summary>
        public String StateMachine
        {
            get
            {
                return (String)this.GetValue(StateMachineProperty);
            }
            set
            {
                this.SetValue(StateMachineProperty, value);
            }
        }

        #endregion
    }
}