using MECF.Framework.Common.CommonData.SRD; using OpenSEMI.ClientBase; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace CyberX8_Themes.UserControls { /// /// SRDUIControl.xaml 的交互逻辑 /// public partial class SRDUIControl : UserControl { public SRDUIControl() { InitializeComponent(); } public static readonly DependencyProperty ArmUIPositionProperty = DependencyProperty.Register( "ArmUIPosition", typeof(double), typeof(SRDUIControl), new FrameworkPropertyMetadata((double)25.682, FrameworkPropertyMetadataOptions.AffectsRender)); /// /// ArmUIPosition (degree) /// public double ArmUIPosition { get { return (double)this.GetValue(ArmUIPositionProperty); } set { this.SetValue(ArmUIPositionProperty, value); } } public static readonly DependencyProperty RotationUIPositionProperty = DependencyProperty.Register( "RotationUIPosition", typeof(double), typeof(SRDUIControl), new FrameworkPropertyMetadata((double)0, FrameworkPropertyMetadataOptions.AffectsRender)); /// /// RotationUIPosition (degree) /// public double RotationUIPosition { get { return (double)this.GetValue(RotationUIPositionProperty); } set { this.SetValue(RotationUIPositionProperty, value); } } public static readonly DependencyProperty WaferInfoProperty = DependencyProperty.Register( "WaferInfo", typeof(WaferInfo), typeof(SRDUIControl)); /// /// WaferInfo /// public WaferInfo WaferInfo { get { return (WaferInfo)this.GetValue(WaferInfoProperty); } set { this.SetValue(WaferInfoProperty, value); } } public static readonly DependencyProperty CommonDataProperty = DependencyProperty.Register( "CommonData", typeof(SrdCommonData), typeof(SRDUIControl), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); /// /// CommonData /// public SrdCommonData CommonData { get { return (SrdCommonData)this.GetValue(CommonDataProperty); } set { this.SetValue(CommonDataProperty, value); } } } }