NiceTMChamber.xaml.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using OpenSEMI.ClientBase;
  2. using System.Windows;
  3. using System.Windows.Controls;
  4. namespace Venus_Themes.UserControls
  5. {
  6. /// <summary>
  7. /// NiceTMChamber.xaml 的交互逻辑
  8. /// </summary>
  9. public partial class NiceTMChamber : UserControl
  10. {
  11. public NiceTMChamber()
  12. {
  13. InitializeComponent();
  14. }
  15. public static readonly DependencyProperty RobotWaferProperty = DependencyProperty.Register(
  16. "RobotWafer", typeof(WaferInfo), typeof(NiceTMChamber));
  17. public WaferInfo RobotWafer
  18. {
  19. get => (WaferInfo)GetValue(RobotWaferProperty);
  20. set => SetValue(RobotWaferProperty, value);
  21. }
  22. public static readonly DependencyProperty RotateTransformValueProperty = DependencyProperty.Register(
  23. "RotateTransformValue", typeof(int), typeof(NiceTMChamber));
  24. public int RotateTransformValue
  25. {
  26. get { return (int)this.GetValue(RotateTransformValueProperty); }
  27. set { this.SetValue(RotateTransformValueProperty, value); }
  28. }
  29. public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(
  30. "ModuleName", typeof(string), typeof(NiceTMChamber));
  31. public string ModuleName
  32. {
  33. get { return (string)this.GetValue(ModuleNameProperty); }
  34. set
  35. {
  36. this.SetValue(ModuleNameProperty, value);
  37. }
  38. }
  39. public static readonly DependencyProperty PMVisibilityProperty = DependencyProperty.Register(
  40. "PMVisibility", typeof(Visibility), typeof(NiceTMChamber));
  41. public Visibility PMVisibility
  42. {
  43. get => (Visibility)GetValue(PMVisibilityProperty);
  44. set => SetValue(PMVisibilityProperty, value);
  45. }
  46. public static readonly DependencyProperty PressureValueProperty = DependencyProperty.Register(
  47. "PressureValue", typeof(double), typeof(NiceTMChamber));
  48. public double PressureValue
  49. {
  50. get { return (double)this.GetValue(PressureValueProperty); }
  51. set { this.SetValue(PressureValueProperty, value); }
  52. }
  53. public static readonly DependencyProperty UnitProperty = DependencyProperty.Register(
  54. "Unit", typeof(string), typeof(NiceTMChamber), new PropertyMetadata("mTorr"));
  55. public string Unit
  56. {
  57. get { return (string)this.GetValue(UnitProperty); }
  58. set
  59. {
  60. this.SetValue(UnitProperty, value);
  61. }
  62. }
  63. public static readonly DependencyProperty ChamberTypeProperty = DependencyProperty.Register(
  64. "ChamberType", typeof(string), typeof(NiceTMChamber));
  65. public string ChamberType
  66. {
  67. get { return (string)this.GetValue(ChamberTypeProperty); }
  68. set
  69. {
  70. this.SetValue(ChamberTypeProperty, value);
  71. }
  72. }
  73. }
  74. }