SRD1.xaml.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. /// SRD1.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class SRD1 : UserControl
  22. {
  23. public SRD1()
  24. {
  25. InitializeComponent();
  26. }
  27. public static readonly DependencyProperty RotateTransformValueProperty = DependencyProperty.Register("RotateTransformValue", typeof(int), typeof(SRD1));
  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(SRD1), new PropertyMetadata("SRD1"));
  34. public string CassetteName
  35. {
  36. get { return this.GetValue(CassetteNameProperty).ToString(); }
  37. set { this.SetValue(CassetteNameProperty, value); }
  38. }
  39. public static readonly DependencyProperty SRD1VisibilityProperty = DependencyProperty.Register("SRD1Visibility", typeof(Visibility), typeof(SRD1));
  40. public Visibility SRD1Visibility
  41. {
  42. get => (Visibility)GetValue(SRD1VisibilityProperty);
  43. set => SetValue(SRD1VisibilityProperty, value);
  44. }
  45. public static readonly DependencyProperty SRD1WaferProperty = DependencyProperty.Register("SRD1Wafer", typeof(WaferInfo), typeof(SRD1));
  46. public WaferInfo SRD1Wafer
  47. {
  48. get => (WaferInfo)GetValue(SRD1WaferProperty);
  49. set => SetValue(SRD1WaferProperty, value);
  50. }
  51. }
  52. }