123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- using Aitex.Core.Common;
- using Aitex.Sorter.UI.Controls;
- 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 EfemUI.Controls
- {
- /// <summary>
- /// LoadLock.xaml 的交互逻辑
- /// </summary>
- public partial class Chamber : UserControl
- {
- public Chamber()
- {
- 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(Chamber), 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(Chamber), 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(Chamber), 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(Chamber), 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(Chamber), 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(Chamber), new PropertyMetadata(0));
- public bool Disable
- {
- get { return (bool)GetValue(DisableProperty); }
- set { SetValue(DisableProperty, value); }
- }
- // Using a DependencyProperty as the backing store for RotateAngel. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty DisableProperty =
- DependencyProperty.Register("Disable", typeof(bool), typeof(Chamber), new PropertyMetadata(true));
- public bool Enable => Disable;
- }
- }
|