| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 | using MECF.Framework.Common.CommonData.Reservoir;using MECF.Framework.Common.RecipeCenter;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 PunkHPX8_Themes.UserControls{    /// <summary>    /// ReservoirsRecipeParametersPanel.xaml 的交互逻辑    /// </summary>    public partial class ReservoirsRecipeParametersPanel : UserControl    {        public ReservoirsRecipeParametersPanel()        {            InitializeComponent();        }        #region 属性        public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(            "ModuleName", typeof(string), typeof(ReservoirsRecipeParametersPanel),                new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));        /// <summary>        /// 模块名称        /// </summary>        public string ModuleName        {            get            {                return (string)this.GetValue(ModuleNameProperty);            }            set            {                this.SetValue(ModuleNameProperty, value);            }        }        public static readonly DependencyProperty ReservoirCommonDataProperty = DependencyProperty.Register(           "ReservoirCommonData", typeof(CompactMembranReservoirData), typeof(ReservoirsRecipeParametersPanel),               new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));        /// <summary>        /// ReservoirCommonData        /// </summary>        public CompactMembranReservoirData ReservoirCommonData        {            get            {                return (CompactMembranReservoirData)this.GetValue(ReservoirCommonDataProperty);            }            set            {                this.SetValue(ReservoirCommonDataProperty, value);            }        }        public static readonly DependencyProperty ResRecipeCommonDataProperty = DependencyProperty.Register(                "ResRecipeCommonData", typeof(ResRecipe), typeof(ReservoirsRecipeParametersPanel),       new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));        /// <summary>        /// ReservoirCommonData        /// </summary>        public ResRecipe ResRecipeCommonData        {            get            {                return (ResRecipe)this.GetValue(ResRecipeCommonDataProperty);            }            set            {                this.SetValue(ResRecipeCommonDataProperty, value);            }        }        #endregion    }}
 |