| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 | 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{    /// <summary>    /// AnolyteGroove.xaml 的交互逻辑    /// </summary>    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));        /// <summary>        /// IsHighLevel        /// </summary>        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));        /// <summary>        /// IsLowLevel        /// </summary>        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));        /// <summary>        /// 工艺腔体是否error        /// </summary>        public bool IsError        {            get            {                return (bool)this.GetValue(IsErrorProerty);            }            set            {                this.SetValue(IsErrorProerty, value);            }        }            }}
 |