12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- 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
- {
- /// <summary>
- /// GasLineView.xaml 的交互逻辑
- /// </summary>
- 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();
- }
- }
- }
|