12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- 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>
- /// BufferStation.xaml 的交互逻辑
- /// </summary>
- public partial class CoolingBufferStation : UserControl
- {
- public CoolingBufferStation()
- {
- InitializeComponent();
- root.DataContext = this;
- }
- 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(CoolingBufferStation), 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(CoolingBufferStation), new PropertyMetadata(ModuleName.System));
- 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(CoolingBufferStation), 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(CoolingBufferStation), new PropertyMetadata(0));
- }
- }
|