TMChamber.xaml.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using OpenSEMI.ClientBase;
  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 Venus_Themes.UserControls
  17. {
  18. /// <summary>
  19. /// TMChamber.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class TMChamber : UserControl
  22. {
  23. public TMChamber()
  24. {
  25. InitializeComponent();
  26. }
  27. public static readonly DependencyProperty RotateTransformValueProperty = DependencyProperty.Register(
  28. "RotateTransformValue", typeof(int), typeof(TMChamber));
  29. public int RotateTransformValue
  30. {
  31. get { return (int)this.GetValue(RotateTransformValueProperty); }
  32. set { this.SetValue(RotateTransformValueProperty, value); }
  33. }
  34. public static readonly DependencyProperty DoorIsOpenProperty = DependencyProperty.Register(
  35. "DoorIsOpen", typeof(bool), typeof(TMChamber));
  36. public bool DoorIsOpen
  37. {
  38. get { return (bool)this.GetValue(DoorIsOpenProperty); }
  39. set
  40. {
  41. this.SetValue(DoorIsOpenProperty, value);
  42. }
  43. }
  44. public static readonly DependencyProperty RobotWaferProperty = DependencyProperty.Register(
  45. "RobotWafer",typeof(WaferInfo),typeof(TMChamber));
  46. public WaferInfo RobotWafer
  47. {
  48. get => (WaferInfo)GetValue(RobotWaferProperty);
  49. set => SetValue(RobotWaferProperty, value);
  50. }
  51. public static readonly DependencyProperty PMVisibilityProperty = DependencyProperty.Register(
  52. "PMVisibility", typeof(Visibility), typeof(TMChamber));
  53. public Visibility PMVisibility
  54. {
  55. get => (Visibility)GetValue(PMVisibilityProperty);
  56. set => SetValue(PMVisibilityProperty, value);
  57. }
  58. }
  59. }