using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using MECF.Framework.UI.Client.ClientBase; using OpenSEMI.ClientBase; namespace EfemDual.Client.Models.Controls { /// /// LoadLockFrontView.xaml 的交互逻辑 /// public partial class LoadLockFrontView : UserControl { public LoadLockFrontView() { InitializeComponent(); } #region UnitData (DependencyProperty) public ModuleInfo UnitData { get { return (ModuleInfo)GetValue(UnitDataProperty); } set { SetValue(UnitDataProperty, value); } } public static readonly DependencyProperty UnitDataProperty = DependencyProperty.Register("UnitData", typeof(ModuleInfo), typeof(LoadLockFrontView), new UIPropertyMetadata(null)); public bool ShowTitle { get { return (bool)GetValue(ShowTitleProperty); } set { SetValue(ShowTitleProperty, value); } } public static readonly DependencyProperty ShowTitleProperty = DependencyProperty.Register("ShowTitle", typeof(bool), typeof(LoadLockFrontView), new UIPropertyMetadata(true)); public bool IsATMDoorOpen { get { return (bool)GetValue(IsATMDoorOpenProperty); } set { SetValue(IsATMDoorOpenProperty, value); } } public static readonly DependencyProperty IsATMDoorOpenProperty = DependencyProperty.Register("IsATMDoorOpen", typeof(bool), typeof(LoadLockFrontView), new FrameworkPropertyMetadata(false)); public bool IsVacuumDoorOpen { get { return (bool)GetValue(IsVacuumDoorOpenProperty); } set { SetValue(IsVacuumDoorOpenProperty, value); } } public static readonly DependencyProperty IsVacuumDoorOpenProperty = DependencyProperty.Register("IsVacuumDoorOpen", typeof(bool), typeof(LoadLockFrontView), new FrameworkPropertyMetadata(false)); #endregion } }