GasPanelView.xaml 2.4 KB

123456789101112131415161718192021222324
  1. <UserControl x:Class="Aitex.Triton160.UI.Views.GasPanelView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:control="clr-namespace:Aitex.Triton160.UI.Views.Control"
  7. mc:Ignorable="d" x:Name="self"
  8. d:DesignHeight="200" d:DesignWidth="320" Background="Transparent">
  9. <Grid Width="320" Height="200">
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="*"></ColumnDefinition>
  12. <ColumnDefinition Width="*"></ColumnDefinition>
  13. <ColumnDefinition Width="*"></ColumnDefinition>
  14. <ColumnDefinition Width="*"></ColumnDefinition>
  15. <ColumnDefinition Width="*"></ColumnDefinition>
  16. </Grid.ColumnDefinitions>
  17. <control:GasLineView Grid.Column="0" Visibility="{Binding ElementName=self, Path=Gas1Visible}" ValveData="{Binding ElementName=self, Path=Gas1Valve}" MFCData="{Binding ElementName=self, Path=Gas1MFC}" Command="{Binding ElementName=self, Path=Command}"></control:GasLineView>
  18. <control:GasLineView Grid.Column="1" Visibility="{Binding ElementName=self, Path=Gas2Visible}" ValveData="{Binding ElementName=self, Path=Gas2Valve}" MFCData="{Binding ElementName=self, Path=Gas2MFC}" Command="{Binding ElementName=self, Path=Command}"></control:GasLineView>
  19. <control:GasLineView Grid.Column="2" Visibility="{Binding ElementName=self, Path=Gas3Visible}" ValveData="{Binding ElementName=self, Path=Gas3Valve}" MFCData="{Binding ElementName=self, Path=Gas3MFC}" Command="{Binding ElementName=self, Path=Command}"></control:GasLineView>
  20. <control:GasLineView Grid.Column="3" Visibility="{Binding ElementName=self, Path=Gas4Visible}" ValveData="{Binding ElementName=self, Path=Gas4Valve}" MFCData="{Binding ElementName=self, Path=Gas4MFC}" Command="{Binding ElementName=self, Path=Command}"></control:GasLineView>
  21. <control:GasLineView Grid.Column="4" Visibility="{Binding ElementName=self, Path=Gas5Visible}" ValveData="{Binding ElementName=self, Path=Gas5Valve}" MFCData="{Binding ElementName=self, Path=Gas5MFC}" Command="{Binding ElementName=self, Path=Command}"></control:GasLineView>
  22. </Grid>
  23. </UserControl>