SRDLeftInformation.xaml.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. using MECF.Framework.Common.CommonData.SRD;
  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. using CyberX8_Core;
  17. namespace CyberX8_Themes.UserControls
  18. {
  19. /// <summary>
  20. /// SRDLeftInformation.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class SRDLeftInformation : UserControl
  23. {
  24. public SRDLeftInformation()
  25. {
  26. InitializeComponent();
  27. }
  28. #region 属性
  29. public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(
  30. "ModuleName", typeof(string), typeof(SRDLeftInformation),
  31. new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
  32. /// <summary>
  33. /// 模块名称
  34. /// </summary>
  35. public string ModuleName
  36. {
  37. get
  38. {
  39. return (string)this.GetValue(ModuleNameProperty);
  40. }
  41. set
  42. {
  43. this.SetValue(ModuleNameProperty, value);
  44. }
  45. }
  46. public static readonly DependencyProperty CommonDataProperty = DependencyProperty.Register(
  47. "CommonData", typeof(SrdCommonData), typeof(SRDLeftInformation), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
  48. /// <summary>
  49. /// CommonData
  50. /// </summary>
  51. public SrdCommonData CommonData
  52. {
  53. get
  54. {
  55. return (SrdCommonData)this.GetValue(CommonDataProperty);
  56. }
  57. set
  58. {
  59. this.SetValue(CommonDataProperty, value);
  60. }
  61. }
  62. public static readonly DependencyProperty WaferPresenceProperty = DependencyProperty.Register(
  63. "WaferPresence", typeof(String), typeof(SRDLeftInformation), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
  64. /// <summary>
  65. /// WaferPresence
  66. /// </summary>
  67. public String WaferPresence
  68. {
  69. get
  70. {
  71. return (String)this.GetValue(WaferPresenceProperty);
  72. }
  73. set
  74. {
  75. this.SetValue(WaferPresenceProperty, value);
  76. }
  77. }
  78. public static readonly DependencyProperty StateMachineProperty = DependencyProperty.Register(
  79. "StateMachine", typeof(String), typeof(SRDLeftInformation), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
  80. /// <summary>
  81. /// StateMachine
  82. /// </summary>
  83. public String StateMachine
  84. {
  85. get
  86. {
  87. return (String)this.GetValue(StateMachineProperty);
  88. }
  89. set
  90. {
  91. this.SetValue(StateMachineProperty, value);
  92. }
  93. }
  94. #endregion
  95. }
  96. }