Files
CapMachine/CapMachine.Shared/Controls/Meter.xaml.cs
2024-07-28 22:59:11 +08:00

49 lines
1.1 KiB
C#

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 CapMachine.Shared.Controls
{
/// <summary>
/// Meter.xaml 的交互逻辑
/// </summary>
public partial class Meter : UserControl
{
public Meter()
{
InitializeComponent();
}
/// <summary>
/// 仪表名称
/// </summary>
public string MeterName
{
get
{
return (string)base.GetValue(Meter.MeterNameProperty);
}
set
{
base.SetValue(Meter.MeterNameProperty, value);
}
}
public static readonly DependencyProperty MeterNameProperty = DependencyProperty.Register("MeterName", typeof(string), typeof(Meter), new PropertyMetadata("名称"));
}
}