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 { /// /// AnolyteGroove.xaml 的交互逻辑 /// public partial class AnolyteGroove : UserControl { public AnolyteGroove() { InitializeComponent(); } public static readonly DependencyProperty IsShowANLevelRawProperty = DependencyProperty.Register( "IsShowANLevelRaw", typeof(bool), typeof(AnolyteGroove)); public bool IsShowANLevelRaw { get { return (bool)this.GetValue(IsShowANLevelRawProperty); } set { this.SetValue(IsShowANLevelRawProperty, value); } } public static readonly DependencyProperty ANLevelRawProperty = DependencyProperty.Register( "ANLevelRaw", typeof(double), typeof(AnolyteGroove)); public double ANLevelRaw { get { return (double)this.GetValue(ANLevelRawProperty); } set { this.SetValue(ANLevelRawProperty, value); } } public static readonly DependencyProperty ANLevelProperty = DependencyProperty.Register( "ANLevel", typeof(double), typeof(AnolyteGroove)); public double ANLevel { get { return (double)this.GetValue(ANLevelProperty); } set { this.SetValue(ANLevelProperty, value); } } public static readonly DependencyProperty IsHighLevelProperty = DependencyProperty.Register( "IsHighLevel", typeof(bool), typeof(AnolyteGroove), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); /// /// IsHighLevel /// public bool IsHighLevel { get { return (bool)this.GetValue(IsHighLevelProperty); } set { this.SetValue(IsHighLevelProperty, value); } } public static readonly DependencyProperty IsLowLevelProperty = DependencyProperty.Register( "IsLowLevel", typeof(bool), typeof(AnolyteGroove), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); /// /// IsLowLevel /// public bool IsLowLevel { get { return (bool)this.GetValue(IsLowLevelProperty); } set { this.SetValue(IsLowLevelProperty, value); } } public static readonly DependencyProperty IsErrorProerty = DependencyProperty.Register( "IsError", typeof(bool), typeof(AnolyteGroove), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); /// /// 工艺腔体是否error /// public bool IsError { get { return (bool)this.GetValue(IsErrorProerty); } set { this.SetValue(IsErrorProerty, value); } } } }