LoadLockLeft.xaml.cs 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. /// LoadLock.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class LoadLockLeft : UserControl
  22. {
  23. public LoadLockLeft()
  24. {
  25. InitializeComponent();
  26. }
  27. public static readonly DependencyProperty DoorIsOpenProperty = DependencyProperty.Register(
  28. "DoorIsOpen", typeof(bool), typeof(LoadLockLeft));
  29. public bool DoorIsOpen
  30. {
  31. get { return (bool)this.GetValue(DoorIsOpenProperty); }
  32. set
  33. {
  34. this.SetValue(DoorIsOpenProperty, value);
  35. }
  36. }
  37. public static readonly DependencyProperty Door2IsOpenProperty = DependencyProperty.Register(
  38. "Door2IsOpen", typeof(bool), typeof(LoadLockLeft));
  39. public bool Door2IsOpen
  40. {
  41. get { return (bool)this.GetValue(Door2IsOpenProperty); }
  42. set
  43. {
  44. this.SetValue(Door2IsOpenProperty, value);
  45. }
  46. }
  47. public static readonly DependencyProperty Door2IsVisibilityProperty = DependencyProperty.Register(
  48. "Door2IsVisibility", typeof(Visibility), typeof(LoadLockLeft));
  49. public Visibility Door2IsVisibility
  50. {
  51. get { return (Visibility)this.GetValue(Door2IsVisibilityProperty); }
  52. set
  53. {
  54. this.SetValue(Door2IsVisibilityProperty, value);
  55. }
  56. }
  57. public static readonly DependencyProperty RobotWaferProperty = DependencyProperty.Register(
  58. "RobotWafer", typeof(WaferInfo), typeof(LoadLockLeft));
  59. public WaferInfo RobotWafer
  60. {
  61. get => (WaferInfo)GetValue(RobotWaferProperty);
  62. set => SetValue(RobotWaferProperty, value);
  63. }
  64. }
  65. }