SRD2.xaml.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using Aitex.Core.Common;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. namespace CyberX8_Themes.UserControls
  17. {
  18. /// <summary>
  19. /// SRD2.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class SRD2 : UserControl
  22. {
  23. public SRD2()
  24. {
  25. InitializeComponent();
  26. }
  27. public static readonly DependencyProperty RotateTransformValueProperty = DependencyProperty.Register("RotateTransformValue", typeof(int), typeof(SRD2));
  28. public int RotateTransformValue
  29. {
  30. get { return (int)this.GetValue(RotateTransformValueProperty); }
  31. set { this.SetValue(RotateTransformValueProperty, value); }
  32. }
  33. public static readonly DependencyProperty CassetteNameProperty = DependencyProperty.Register("CassetteName", typeof(string), typeof(SRD2), new PropertyMetadata("SRD2"));
  34. public string CassetteName
  35. {
  36. get { return this.GetValue(CassetteNameProperty).ToString(); }
  37. set { this.SetValue(CassetteNameProperty, value); }
  38. }
  39. public static readonly DependencyProperty SRD2VisibilityProperty = DependencyProperty.Register("SRD2Visibility", typeof(Visibility), typeof(SRD2));
  40. public Visibility SRD2Visibility
  41. {
  42. get => (Visibility)GetValue(SRD2VisibilityProperty);
  43. set => SetValue(SRD2VisibilityProperty, value);
  44. }
  45. public static readonly DependencyProperty SRD2WaferProperty = DependencyProperty.Register("SRD2Wafer", typeof(WaferInfo), typeof(SRD2));
  46. public WaferInfo SRD2Wafer
  47. {
  48. get => (WaferInfo)GetValue(SRD2WaferProperty);
  49. set => SetValue(SRD2WaferProperty, value);
  50. }
  51. }
  52. }