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 { /// /// CatholyteGroove.xaml 的交互逻辑 /// 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)); /// /// 工艺腔体是否error /// 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)); /// /// 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(CatholyteGroove), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); /// /// IsLowLevel /// 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)); /// /// IsHighLevel /// public bool IsSafetyHighLevel { get { return (bool)this.GetValue(IsSafetyHighLevelProperty); } set { this.SetValue(IsSafetyHighLevelProperty, value); } } } }