Wafer.xaml.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Navigation;
  14. using System.Windows.Shapes;
  15. using MECF.Framework.UI.Client.ClientBase;
  16. namespace FurnaceUI.Controls.Parts
  17. {
  18. /// <summary>
  19. /// Wafer.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class Wafer : UserControl
  22. {
  23. public Wafer()
  24. {
  25. InitializeComponent();
  26. }
  27. public WaferInfo WaferItem
  28. {
  29. get { return (WaferInfo)GetValue(WaferItemProperty); }
  30. set { SetValue(WaferItemProperty, value); }
  31. }
  32. // Using a DependencyProperty as the backing store for WaferItem. This enables animation, styling, binding, etc...
  33. public static readonly DependencyProperty WaferItemProperty =
  34. DependencyProperty.Register("WaferItem", typeof(WaferInfo), typeof(Wafer), new PropertyMetadata(null));
  35. }
  36. }