1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using OpenSEMI.ClientBase;
- using System.Windows;
- using System.Windows.Controls;
- using Venus_Themes.Unity;
- namespace Venus_Themes.UserControls
- {
- /// <summary>
- /// NiceLeftLoadLock.xaml 的交互逻辑
- /// </summary>
- public partial class NiceLeftLoadLock : UserControl
- {
- public NiceLeftLoadLock()
- {
- InitializeComponent();
- }
- public static readonly DependencyProperty LLADoorIsOpenProperty = DependencyProperty.Register(
- "LLADoorIsOpen", typeof(bool), typeof(NiceLeftLoadLock));
- public bool LLADoorIsOpen
- {
- get { return (bool)this.GetValue(LLADoorIsOpenProperty); }
- set
- {
- this.SetValue(LLADoorIsOpenProperty, value);
- }
- }
- private void OpenLLADoor_Click(object sender, RoutedEventArgs e)
- {
- //UIEvents.OnPMDoorRaiseChanged(new DoorPara() { ModuleName = "PMD", IsOpen = "Open" });
- UIEvents.OnLLEDoorRaiseChanged(new DoorPara() { ModuleName = "LLA", IsOpen = "Open" });
- }
- private void CloseLLADoor_Click(object sender, RoutedEventArgs e)
- {
- //UIEvents.OnPMDoorRaiseChanged(new DoorPara() { ModuleName = "PMD", IsOpen = "Close" });
- UIEvents.OnLLEDoorRaiseChanged(new DoorPara() { ModuleName = "LLA", IsOpen = "Close" });
- }
- public static readonly DependencyProperty RobotWaferProperty = DependencyProperty.Register(
- "RobotWafer", typeof(WaferInfo), typeof(NiceLeftLoadLock));
- public WaferInfo RobotWafer
- {
- get => (WaferInfo)GetValue(RobotWaferProperty);
- set => SetValue(RobotWaferProperty, value);
- }
- }
- }
|