WaferHolderPanel.xaml.cs 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using MECF.Framework.Common.WaferHolder;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. namespace CyberX8_Themes.UserControls
  17. {
  18. /// <summary>
  19. /// WaferHolderPanel.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class WaferHolderPanel : UserControl
  22. {
  23. public WaferHolderPanel()
  24. {
  25. InitializeComponent();
  26. }
  27. #region 属性
  28. public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(
  29. "ModuleName", typeof(string), typeof(WaferHolderPanel),
  30. new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
  31. /// <summary>
  32. /// 模块名称
  33. /// </summary>
  34. public string ModuleName
  35. {
  36. get
  37. {
  38. return (string)this.GetValue(ModuleNameProperty);
  39. }
  40. set
  41. {
  42. this.SetValue(ModuleNameProperty, value);
  43. }
  44. }
  45. public static readonly DependencyProperty WaferHolderInfoProperty = DependencyProperty.Register(
  46. "WaferHolderInfo", typeof(WaferHolderInfo), typeof(WaferHolderPanel),
  47. new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
  48. /// <summary>
  49. /// 模块名称
  50. /// </summary>
  51. public WaferHolderInfo WaferHolderInfo
  52. {
  53. get
  54. {
  55. return (WaferHolderInfo)this.GetValue(WaferHolderInfoProperty);
  56. }
  57. set
  58. {
  59. this.SetValue(WaferHolderInfoProperty, value);
  60. }
  61. }
  62. public static readonly DependencyProperty SeqRecipeProperty = DependencyProperty.Register(
  63. "SeqRecipeValue", typeof(string), typeof(WaferHolderPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
  64. /// <summary>
  65. /// SeqRecipe
  66. /// </summary>
  67. public string SeqRecipeValue
  68. {
  69. get
  70. {
  71. return (string)this.GetValue(SeqRecipeProperty);
  72. }
  73. set
  74. {
  75. this.SetValue(SeqRecipeProperty, value);
  76. }
  77. }
  78. #endregion
  79. }
  80. }