DualChamber.xaml.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using OpenSEMI.ClientBase;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Windows;
  5. using System.Windows.Controls;
  6. using System.Windows.Media.Animation;
  7. using System.Windows.Shapes;
  8. namespace PunkHPX8_Themes.UserControls
  9. {
  10. /// <summary>
  11. /// DualChamber.xaml 的交互逻辑
  12. /// </summary>
  13. public partial class DualChamber : UserControl
  14. {
  15. public DualChamber()
  16. {
  17. InitializeComponent();
  18. }
  19. public static readonly DependencyProperty RotateTransformValueProperty = DependencyProperty.Register(
  20. "RotateTransformValue", typeof(int), typeof(DualChamber));
  21. public int RotateTransformValue
  22. {
  23. get { return (int)GetValue(RotateTransformValueProperty); }
  24. set { SetValue(RotateTransformValueProperty, value); }
  25. }
  26. public static readonly DependencyProperty RobotWafer1Property = DependencyProperty.Register(
  27. "RobotWafer1", typeof(WaferInfo), typeof(DualChamber));
  28. public WaferInfo RobotWafer1
  29. {
  30. get => (WaferInfo)GetValue(RobotWafer1Property);
  31. set => SetValue(RobotWafer1Property, value);
  32. }
  33. public static readonly DependencyProperty RobotWafer2Property = DependencyProperty.Register(
  34. "RobotWafer2", typeof(WaferInfo), typeof(DualChamber));
  35. public WaferInfo RobotWafer2
  36. {
  37. get => (WaferInfo)GetValue(RobotWafer2Property);
  38. set => SetValue(RobotWafer2Property, value);
  39. }
  40. public static readonly DependencyProperty ModuleNameProperty = DependencyProperty.Register(
  41. "ModuleName", typeof(string), typeof(DualChamber));
  42. public string ModuleName
  43. {
  44. get { return (string)GetValue(ModuleNameProperty); }
  45. set
  46. {
  47. SetValue(ModuleNameProperty, value);
  48. }
  49. }
  50. }
  51. }