GasStick.xaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <UserControl x:Class="Venus_Themes.UserControls.GasStick"
  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:local="clr-namespace:Venus_Themes.UserControls"
  7. xmlns:customControls="clr-namespace:Venus_Themes.CustomControls"
  8. mc:Ignorable="d"
  9. d:DesignHeight="350" d:DesignWidth="500" x:Name="gasStickControl">
  10. <Canvas>
  11. <local:FlowPipe Height="8" Width="40" Canvas.Left="487" Canvas.Top="195" RotateTransformValue="90" IsReverse="True"/>
  12. <local:FlowPipe Height="8" Width="114" Canvas.Left="64" Canvas.Top="230" />
  13. <local:FlowPipe Height="8" Width="304" Canvas.Left="176" Canvas.Top="230" />
  14. <local:FlowPipe Height="8" Width="20" Canvas.Left="178" Canvas.Top="236" RotateTransformValue="90" />
  15. <local:Pipe2 Canvas.Left="183" Canvas.Top="264" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
  16. <local:FlowPipe Height="8" Width="76" Canvas.Left="177" Canvas.Top="256" />
  17. <local:TextboxWithLabel Canvas.Top="205" Canvas.Left="275" LabelValue="{Binding ElementName=gasStickControl,Path=MFCName}" TextBoxColor="White" IsReadOnly="False" TextBoxValue="{Binding ElementName=gasStickControl,Path=MFCFlowSetpoint}"/>
  18. <local:TextBlockWithLabel Canvas.Top="205" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding ElementName=gasStickControl,Path=MFCFlowFeedback}"/>
  19. <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="224" Status="{Binding ElementName=gasStickControl,Path=InletValveIsOpen}" IsCanEdit="True"/>
  20. <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="249" Status="{Binding ElementName=gasStickControl,Path=BypassValveIsOpen}" IsCanEdit="True"/>
  21. <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="224" Status="{Binding ElementName=gasStickControl,Path=OutletValveIsOpen}" IsCanEdit="True"/>
  22. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="223.5" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm" Fill="{Binding ElementName=gasStickControl,Path=IsPressureAlarm,Converter={StaticResource boolToColor4}}"></Ellipse>
  23. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="220" Block.TextAlignment="Right" MaxWidth="65" Text="{Binding ElementName=gasStickControl ,Path=GasInformation}"/>
  24. <local:Pipe4 Canvas.Left="241" Canvas.Top="225" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  25. <local:FlowPipe Height="8" Width="20" Canvas.Left="257" Canvas.Top="240" RotateTransformValue="90" IsReverse="True"/>
  26. <local:FlowPipe Height="8" Width="15" Canvas.Left="257" Canvas.Top="211" RotateTransformValue="90" IsReverse="True"/>
  27. <TextBlock Text="{Binding ElementName=gasStickControl,Path=BypassValveNameName}" Canvas.Left="189" Canvas.Top="238" />
  28. <TextBlock Text="{Binding ElementName=gasStickControl,Path=InletValveNameName}" Canvas.Left="118" Canvas.Top="210"/>
  29. <TextBlock Text="{Binding ElementName=gasStickControl,Path=OutletValveNameName}" Canvas.Left="428" Canvas.Top="210"/>
  30. </Canvas>
  31. </UserControl>