LoadLockFrontView.xaml.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Windows;
  4. using System.Windows.Controls;
  5. using MECF.Framework.UI.Client.ClientBase;
  6. using OpenSEMI.ClientBase;
  7. namespace EfemDual.Client.Models.Controls
  8. {
  9. /// <summary>
  10. /// LoadLockFrontView.xaml 的交互逻辑
  11. /// </summary>
  12. public partial class LoadLockFrontView : UserControl
  13. {
  14. public LoadLockFrontView()
  15. {
  16. InitializeComponent();
  17. }
  18. #region UnitData (DependencyProperty)
  19. public ModuleInfo UnitData
  20. {
  21. get { return (ModuleInfo)GetValue(UnitDataProperty); }
  22. set { SetValue(UnitDataProperty, value); }
  23. }
  24. public static readonly DependencyProperty UnitDataProperty =
  25. DependencyProperty.Register("UnitData", typeof(ModuleInfo), typeof(LoadLockFrontView), new UIPropertyMetadata(null));
  26. public bool ShowTitle
  27. {
  28. get { return (bool)GetValue(ShowTitleProperty); }
  29. set { SetValue(ShowTitleProperty, value); }
  30. }
  31. public static readonly DependencyProperty ShowTitleProperty =
  32. DependencyProperty.Register("ShowTitle", typeof(bool), typeof(LoadLockFrontView), new UIPropertyMetadata(true));
  33. public bool IsATMDoorOpen
  34. {
  35. get { return (bool)GetValue(IsATMDoorOpenProperty); }
  36. set { SetValue(IsATMDoorOpenProperty, value); }
  37. }
  38. public static readonly DependencyProperty IsATMDoorOpenProperty =
  39. DependencyProperty.Register("IsATMDoorOpen", typeof(bool), typeof(LoadLockFrontView), new FrameworkPropertyMetadata(false));
  40. public bool IsVacuumDoorOpen
  41. {
  42. get { return (bool)GetValue(IsVacuumDoorOpenProperty); }
  43. set { SetValue(IsVacuumDoorOpenProperty, value); }
  44. }
  45. public static readonly DependencyProperty IsVacuumDoorOpenProperty =
  46. DependencyProperty.Register("IsVacuumDoorOpen", typeof(bool), typeof(LoadLockFrontView), new FrameworkPropertyMetadata(false));
  47. #endregion
  48. }
  49. }