Buffer.xaml.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using Aitex.Core.Common;
  2. using MECF.Framework.Common.Equipment;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. using System.Windows.Controls;
  10. using System.Windows.Data;
  11. using System.Windows.Documents;
  12. using System.Windows.Input;
  13. using System.Windows.Media;
  14. using System.Windows.Media.Imaging;
  15. using System.Windows.Navigation;
  16. using System.Windows.Shapes;
  17. namespace EfemUI.Controls
  18. {
  19. /// <summary>
  20. /// Buffer.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class Buffer : UserControl
  23. {
  24. public Buffer()
  25. {
  26. InitializeComponent();
  27. }
  28. public WaferInfo[] Wafers
  29. {
  30. get { return (WaferInfo[])GetValue(WafersProperty); }
  31. set { SetValue(WafersProperty, value); }
  32. }
  33. // Using a DependencyProperty as the backing store for WaferItem. This enables animation, styling, binding, etc...
  34. public static readonly DependencyProperty WafersProperty =
  35. DependencyProperty.Register("Wafers", typeof(WaferInfo[]), typeof(Buffer), new PropertyMetadata(null));
  36. public ModuleName Station
  37. {
  38. get { return (ModuleName)GetValue(StationProperty); }
  39. set { SetValue(StationProperty, value); }
  40. }
  41. // Using a DependencyProperty as the backing store for Station. This enables animation, styling, binding, etc...
  42. public static readonly DependencyProperty StationProperty =
  43. DependencyProperty.Register("Station", typeof(ModuleName), typeof(Buffer), new PropertyMetadata(ModuleName.Buffer));
  44. }
  45. }