GasLineView.xaml 1.9 KB

12345678910111213141516171819202122232425262728293031
  1. <UserControl x:Class="Aitex.Triton160.UI.Views.Control.GasLineView"
  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.Core.UI.Control;assembly=Core"
  7. xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=Core"
  8. mc:Ignorable="d" x:Name="self"
  9. d:DesignHeight="200" d:DesignWidth="70" Background="Transparent">
  10. <Grid Width="70" Height="200">
  11. <TextBlock Width="70" FontSize="12" Text="{Binding ElementName=self, Path=MFCData.DeviceSchematicId }" TextAlignment="Center" Margin="0,3,0,0" VerticalAlignment="Top" />
  12. <TextBlock Width="70" FontSize="12" Text="{Binding ElementName=self, Path=MFCData.DisplayName, StringFormat={}({0})}" TextAlignment="Center" Margin="0,22,0,0" VerticalAlignment="Top" />
  13. <Image Width="20" Height="160" Source="/Triton160UI;component/Resources/mfcPipe.png" Margin="17,40,18,0" />
  14. <control:FlowPipeV2 Width="162" Height="8" IsFlowing="{Binding ElementName=self, Path=ValveData.Feedback}" Margin="31,37,-138,155" >
  15. <control:FlowPipeV2.RenderTransform>
  16. <RotateTransform Angle="90"></RotateTransform>
  17. </control:FlowPipeV2.RenderTransform>
  18. </control:FlowPipeV2>
  19. <control:MfcControl Height="30" Width="54" DeviceData="{Binding ElementName=self, Path=MFCData}" Command="{Binding ElementName=self, Path=Command}" Margin="0,89,1,81" />
  20. <deviceControl:AITGasValve ValveOpenOrientation="Vertical" DeviceData="{Binding ElementName=self, Path=ValveData}" Command="{Binding ElementName=self, Path=Command}" Margin="11,128,12,40" />
  21. </Grid>
  22. </UserControl>