1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using Aitex.Core.Common;
- using MECF.Framework.Common.Equipment;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- namespace Aitex.Sorter.UI.Controls
- {
- /// <summary>
- /// LoadLock.xaml 的交互逻辑
- /// </summary>
- public partial class LoadLock : UserControl
- {
- public LoadLock()
- {
- InitializeComponent();
- root.DataContext = this;
- }
- public bool IsEnableTextMenu
- {
- get { return (bool)GetValue(IsEnableTextMenuProperty); }
- set { SetValue(IsEnableTextMenuProperty, value); }
- }
- // Using a DependencyProperty as the backing store for IsEnableTextMenu. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty IsEnableTextMenuProperty =
- DependencyProperty.Register("IsEnableTextMenu", typeof(bool), typeof(LoadLock), new PropertyMetadata(true));
- public WaferInfo Wafer
- {
- get { return (WaferInfo)GetValue(WaferProperty); }
- set { SetValue(WaferProperty, value); }
- }
- // Using a DependencyProperty as the backing store for WaferItem. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty WaferProperty =
- DependencyProperty.Register("Wafer", typeof(WaferInfo), typeof(LoadLock), new PropertyMetadata(null));
- public ModuleName Station
- {
- get { return (ModuleName)GetValue(StationProperty); }
- set { SetValue(StationProperty, value); }
- }
- // Using a DependencyProperty as the backing store for Station. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty StationProperty =
- DependencyProperty.Register("Station", typeof(ModuleName), typeof(LoadLock), new PropertyMetadata(ModuleName.System));
- public ICommand WaferTransferCommand
- {
- get { return (ICommand)GetValue(WaferTransferCommandProperty); }
- set { SetValue(WaferTransferCommandProperty, value); }
- }
- // Using a DependencyProperty as the backing store for WaferMovementCommand. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty WaferTransferCommandProperty =
- DependencyProperty.Register("WaferTransferCommand", typeof(ICommand), typeof(LoadLock), new PropertyMetadata(null));
- public ICommand WaferTransferOptionCommand
- {
- get { return (ICommand)GetValue(WaferTransferOptionCommandProperty); }
- set { SetValue(WaferTransferOptionCommandProperty, value); }
- }
- // Using a DependencyProperty as the backing store for WaferTransferOptionCommand. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty WaferTransferOptionCommandProperty =
- DependencyProperty.Register("WaferTransferOptionCommand", typeof(ICommand), typeof(LoadLock), new PropertyMetadata(null));
- public int RotateAngel
- {
- get { return (int)GetValue(RotateAngelProperty); }
- set { SetValue(RotateAngelProperty, value); }
- }
- // Using a DependencyProperty as the backing store for RotateAngel. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty RotateAngelProperty =
- DependencyProperty.Register("RotateAngel", typeof(int), typeof(LoadLock), new PropertyMetadata(0));
- }
- }
|