123456789101112131415161718192021222324252627282930313233343536373839 |
- <UserControl x:Class="Venus_Themes.UserControls.GasStick"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:Venus_Themes.UserControls"
- xmlns:customControls="clr-namespace:Venus_Themes.CustomControls"
- mc:Ignorable="d"
- d:DesignHeight="350" d:DesignWidth="500" x:Name="gasStickControl">
- <Canvas>
- <local:FlowPipe Height="8" Width="40" Canvas.Left="487" Canvas.Top="195" RotateTransformValue="90" IsReverse="True"/>
- <local:FlowPipe Height="8" Width="114" Canvas.Left="64" Canvas.Top="230" />
- <local:FlowPipe Height="8" Width="304" Canvas.Left="176" Canvas.Top="230" />
- <local:FlowPipe Height="8" Width="20" Canvas.Left="178" Canvas.Top="236" RotateTransformValue="90" />
- <local:Pipe2 Canvas.Left="183" Canvas.Top="264" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
- <local:FlowPipe Height="8" Width="76" Canvas.Left="177" Canvas.Top="256" />
- <local:TextboxWithLabel Canvas.Top="205" Canvas.Left="275" LabelValue="{Binding ElementName=gasStickControl,Path=MFCName}" TextBoxColor="White" IsReadOnly="False" TextBoxValue="{Binding ElementName=gasStickControl,Path=MFCFlowSetpoint}"/>
- <local:TextBlockWithLabel Canvas.Top="205" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding ElementName=gasStickControl,Path=MFCFlowFeedback}"/>
- <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="224" Status="{Binding ElementName=gasStickControl,Path=InletValveIsOpen}" IsCanEdit="True"/>
- <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="249" Status="{Binding ElementName=gasStickControl,Path=BypassValveIsOpen}" IsCanEdit="True"/>
- <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="224" Status="{Binding ElementName=gasStickControl,Path=OutletValveIsOpen}" IsCanEdit="True"/>
- <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>
- <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="220" Block.TextAlignment="Right" MaxWidth="65" Text="{Binding ElementName=gasStickControl ,Path=GasInformation}"/>
- <local:Pipe4 Canvas.Left="241" Canvas.Top="225" HorizontalAlignment="Left" VerticalAlignment="Top"/>
- <local:FlowPipe Height="8" Width="20" Canvas.Left="257" Canvas.Top="240" RotateTransformValue="90" IsReverse="True"/>
- <local:FlowPipe Height="8" Width="15" Canvas.Left="257" Canvas.Top="211" RotateTransformValue="90" IsReverse="True"/>
- <TextBlock Text="{Binding ElementName=gasStickControl,Path=BypassValveNameName}" Canvas.Left="189" Canvas.Top="238" />
- <TextBlock Text="{Binding ElementName=gasStickControl,Path=InletValveNameName}" Canvas.Left="118" Canvas.Top="210"/>
- <TextBlock Text="{Binding ElementName=gasStickControl,Path=OutletValveNameName}" Canvas.Left="428" Canvas.Top="210"/>
- </Canvas>
- </UserControl>
|