| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 | 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 PunkHPX8_Themes.UserControls{    /// <summary>    /// CatholyteGroove.xaml 的交互逻辑    /// </summary>    public partial class CatholyteGroove : UserControl    {        public CatholyteGroove()        {            InitializeComponent();        }        public static readonly DependencyProperty IsShowHighSafetyProperty = DependencyProperty.Register(            "IsShowHighSafety", typeof(bool), typeof(CatholyteGroove));        public bool IsShowHighSafety        {            get            {                return (bool)this.GetValue(IsShowHighSafetyProperty);            }            set            {                this.SetValue(IsShowHighSafetyProperty, value);            }        }        public static readonly DependencyProperty CATemperatureProperty = DependencyProperty.Register(            "CATemperature", typeof(double), typeof(CatholyteGroove));        public double CATemperature        {            get            {                return (double)this.GetValue(CATemperatureProperty);            }            set            {                this.SetValue(CATemperatureProperty, value);            }        }        public static readonly DependencyProperty CALevelRawProperty = DependencyProperty.Register(            "CALevelRaw", typeof(double), typeof(CatholyteGroove));        public double CALevelRaw        {            get            {                return (double)this.GetValue(CALevelRawProperty);            }            set            {                this.SetValue(CALevelRawProperty, value);            }        }        public static readonly DependencyProperty CALevelProperty = DependencyProperty.Register(            "CALevel", typeof(double), typeof(CatholyteGroove));        public double CALevel        {            get            {                return (double)this.GetValue(CALevelProperty);            }            set            {                this.SetValue(CALevelProperty, value);            }        }        public static readonly DependencyProperty IsErrorProerty = DependencyProperty.Register(            "IsError", typeof(bool), typeof(CatholyteGroove), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));        /// <summary>        /// 工艺腔体是否error        /// </summary>        public bool IsError        {            get            {                return (bool)this.GetValue(IsErrorProerty);            }            set            {                this.SetValue(IsErrorProerty, value);            }        }                public static readonly DependencyProperty IsHighLevelProperty = DependencyProperty.Register(           "IsHighLevel", typeof(bool), typeof(CatholyteGroove), 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(CatholyteGroove), 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 IsSafetyHighLevelProperty = DependencyProperty.Register(   "IsSafetyHighLevel", typeof(bool), typeof(CatholyteGroove), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));        /// <summary>        /// IsHighLevel        /// </summary>        public bool IsSafetyHighLevel        {            get            {                return (bool)this.GetValue(IsSafetyHighLevelProperty);            }            set            {                this.SetValue(IsSafetyHighLevelProperty, value);            }        }    }}
 |