TMChamber.xaml.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using OpenSEMI.ClientBase;
  2. using System.Windows;
  3. using System.Windows.Controls;
  4. namespace Venus_Themes.UserControls
  5. {
  6. /// <summary>
  7. /// TMChamber.xaml 的交互逻辑
  8. /// </summary>
  9. public partial class TMChamber : UserControl
  10. {
  11. public TMChamber()
  12. {
  13. InitializeComponent();
  14. }
  15. public static readonly DependencyProperty RotateTransformValueProperty = DependencyProperty.Register(
  16. "RotateTransformValue", typeof(int), typeof(TMChamber));
  17. public int RotateTransformValue
  18. {
  19. get { return (int)this.GetValue(RotateTransformValueProperty); }
  20. set { this.SetValue(RotateTransformValueProperty, value); }
  21. }
  22. public static readonly DependencyProperty DoorIsOpenProperty = DependencyProperty.Register(
  23. "DoorIsOpen", typeof(bool), typeof(TMChamber));
  24. public bool DoorIsOpen
  25. {
  26. get { return (bool)this.GetValue(DoorIsOpenProperty); }
  27. set
  28. {
  29. this.SetValue(DoorIsOpenProperty, value);
  30. }
  31. }
  32. public static readonly DependencyProperty RobotWaferProperty = DependencyProperty.Register(
  33. "RobotWafer",typeof(WaferInfo),typeof(TMChamber));
  34. public WaferInfo RobotWafer
  35. {
  36. get => (WaferInfo)GetValue(RobotWaferProperty);
  37. set => SetValue(RobotWaferProperty, value);
  38. }
  39. public static readonly DependencyProperty PMVisibilityProperty = DependencyProperty.Register(
  40. "PMVisibility", typeof(Visibility), typeof(TMChamber));
  41. public Visibility PMVisibility
  42. {
  43. get => (Visibility)GetValue(PMVisibilityProperty);
  44. set => SetValue(PMVisibilityProperty, value);
  45. }
  46. public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(
  47. "ModuleName", typeof(string), typeof(TMChamber));
  48. public string ModuleName
  49. {
  50. get { return (string)this.GetValue(ModuleNameProperty); }
  51. set
  52. {
  53. this.SetValue(ModuleNameProperty, value);
  54. }
  55. }
  56. }
  57. }