using System; using System.Collections.Generic; using System.Linq; using System.Text; 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; using Aitex.Core.Common.DeviceData; namespace Aitex.Triton160.UI.Views.Control { /// /// GasLineView.xaml 的交互逻辑 /// public partial class GasLineView : UserControl { public static readonly DependencyProperty ValveDataProperty = DependencyProperty.Register( "ValveData", typeof(AITValveData), typeof(GasLineView), new FrameworkPropertyMetadata(new AITValveData(), FrameworkPropertyMetadataOptions.AffectsRender)); public AITValveData ValveData { get { return (AITValveData)this.GetValue(ValveDataProperty); } set { this.SetValue(ValveDataProperty, value); } } public static readonly DependencyProperty MFCDataProperty = DependencyProperty.Register( "MFCData", typeof(AITMfcData), typeof(GasLineView), new FrameworkPropertyMetadata(new AITMfcData(), FrameworkPropertyMetadataOptions.AffectsRender)); public AITMfcData MFCData { get { return (AITMfcData)this.GetValue(MFCDataProperty); } set { this.SetValue(MFCDataProperty, value); } } public static readonly DependencyProperty CommandProperty = DependencyProperty.Register( "Command", typeof(ICommand), typeof(GasLineView), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); public ICommand Command { get { return (ICommand)this.GetValue(CommandProperty); } set { this.SetValue(CommandProperty, value); } } public GasLineView() { InitializeComponent(); } } }