PUFChamber.xaml.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. /// PUFChamber.xaml 的交互逻辑
  14. /// </summary>
  15. public partial class PUFChamber : UserControl
  16. {
  17. public PUFChamber()
  18. {
  19. InitializeComponent();
  20. }
  21. public static readonly DependencyProperty RotateTransformValueProperty = DependencyProperty.Register(
  22. "RotateTransformValue", typeof(int), typeof(PUFChamber));
  23. public int RotateTransformValue
  24. {
  25. get { return (int)this.GetValue(RotateTransformValueProperty); }
  26. set { this.SetValue(RotateTransformValueProperty, value); }
  27. }
  28. public static readonly DependencyProperty PufNameProperty = DependencyProperty.Register("PufName", typeof(string), typeof(PUFChamber));
  29. public string PufName
  30. {
  31. get { return this.GetValue(PufNameProperty).ToString(); }
  32. set { this.SetValue(RotateTransformValueProperty, value); }
  33. }
  34. }
  35. }