| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 | 
							- 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>
 
-     /// SrdOverviewInformationPanel.xaml 的交互逻辑
 
-     /// </summary>
 
-     public partial class SrdOverviewInformationPanel : UserControl
 
-     {
 
-         public SrdOverviewInformationPanel()
 
-         {
 
-             InitializeComponent();
 
-         }
 
-         #region 属性
 
-         public static readonly DependencyProperty ModuleTitleProperty = DependencyProperty.Register(
 
-               "ModuleTitle", typeof(string), typeof(SrdOverviewInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
 
-         /// <summary>
 
-         /// 标题
 
-         /// </summary>
 
-         public string ModuleTitle
 
-         {
 
-             get
 
-             {
 
-                 return (string)this.GetValue(ModuleTitleProperty);
 
-             }
 
-             set
 
-             {
 
-                 this.SetValue(ModuleTitleProperty, value);
 
-             }
 
-         }
 
-         public static readonly DependencyProperty RecipeContentProperty = DependencyProperty.Register(
 
-               "RecipeContentValue", typeof(string), typeof(SrdOverviewInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
 
-         /// <summary>
 
-         /// RecipeContentValue
 
-         /// </summary>
 
-         public string RecipeContentValue
 
-         {
 
-             get
 
-             {
 
-                 return (string)this.GetValue(RecipeContentProperty);
 
-             }
 
-             set
 
-             {
 
-                 this.SetValue(RecipeContentProperty, value);
 
-             }
 
-         }
 
-         public static readonly DependencyProperty TimeRemainingProperty = DependencyProperty.Register(
 
-             "TimeRemainingValue", typeof(double), typeof(SrdOverviewInformationPanel), new FrameworkPropertyMetadata(0.0, FrameworkPropertyMetadataOptions.AffectsRender));
 
-         /// <summary>
 
-         /// TimeRemainingValue
 
-         /// </summary>
 
-         public double TimeRemainingValue
 
-         {
 
-             get { return (double)this.GetValue(TimeRemainingProperty);}
 
-             set { this.SetValue(TimeRemainingProperty, value); }
 
-         }
 
-         public static readonly DependencyProperty TotalTimeProperty = DependencyProperty.Register(
 
-             "TotalTimeValue", typeof(double), typeof(SrdOverviewInformationPanel), new FrameworkPropertyMetadata(0.0, FrameworkPropertyMetadataOptions.AffectsRender));
 
-         /// <summary>
 
-         /// TotalTime
 
-         /// </summary>
 
-         public double TotalTimeValue
 
-         {
 
-             get { return (double)this.GetValue(TotalTimeProperty); }
 
-             set { this.SetValue(TotalTimeProperty, value); }
 
-         }
 
-         public static readonly DependencyProperty OperatingModeProperty = DependencyProperty.Register(
 
-               "OperatingModeValue", typeof(string), typeof(SrdOverviewInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
 
-         /// <summary>
 
-         /// OperatingMode
 
-         /// </summary>
 
-         public string OperatingModeValue
 
-         {
 
-             get
 
-             {
 
-                 return (string)this.GetValue(OperatingModeProperty);
 
-             }
 
-             set
 
-             {
 
-                 this.SetValue(OperatingModeProperty, value);
 
-             }
 
-         }
 
-         public static readonly DependencyProperty RecipeModeProperty = DependencyProperty.Register(
 
-               "RecipeModeValue", typeof(string), typeof(SrdOverviewInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
 
-         /// <summary>
 
-         /// RecipeMode
 
-         /// </summary>
 
-         public string RecipeModeValue
 
-         {
 
-             get
 
-             {
 
-                 return (string)this.GetValue(RecipeModeProperty);
 
-             }
 
-             set
 
-             {
 
-                 this.SetValue(RecipeModeProperty, value);
 
-             }
 
-         }
 
-         public static readonly DependencyProperty StateProperty = DependencyProperty.Register(
 
-               "StateValue", typeof(string), typeof(SrdOverviewInformationPanel), new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.AffectsRender));
 
-         /// <summary>
 
-         /// State
 
-         /// </summary>
 
-         public string StateValue
 
-         {
 
-             get
 
-             {
 
-                 return (string)this.GetValue(StateProperty);
 
-             }
 
-             set
 
-             {
 
-                 this.SetValue(StateProperty, value);
 
-             }
 
-         }
 
-         #endregion
 
-     }
 
- }
 
 
  |