SRD.xaml.cs 2.2 KB

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