|
@@ -10,6 +10,8 @@
|
|
|
xmlns:ctrls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
|
|
|
xmlns:unity="clr-namespace:Venus_MainPages.Unity"
|
|
|
xmlns:converters="clr-namespace:Venus_Themes.Converters;assembly=Venus_Themes"
|
|
|
+ xmlns:converters2="clr-namespace:Venus_MainPages.Converters"
|
|
|
+ xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
|
|
|
d:DesignHeight="450" d:DesignWidth="2000">
|
|
|
<UserControl.Resources>
|
|
|
<LinearGradientBrush x:Key="buttonBrush" StartPoint="0.5,0" EndPoint="0.5,1">
|
|
@@ -18,6 +20,19 @@
|
|
|
<GradientStop Color="White" Offset="1" />
|
|
|
</LinearGradientBrush>
|
|
|
<converters:IntToIsEnableConverter x:Key="intToIsEnableConverter"/>
|
|
|
+ <converters:ToBoolMultiValueConverter x:Key="toBoolMultiValueConverter"/>
|
|
|
+ <converters:ToBoolMultiValueConverter2 x:Key="toBoolMultiValueConverter2"/>
|
|
|
+ <converters:ToBoolMultiValueConverter3 x:Key="toBoolMultiValueConverter3"/>
|
|
|
+ <converters:ToBoolMultiValueConverter4 x:Key="toBoolMultiValueConverter4"/>
|
|
|
+ <converters:BoolToColor x:Key="boolToColor"/>
|
|
|
+ <converters:BoolToColor2 x:Key="boolToColor2"/>
|
|
|
+ <converters:BoolToColor3 x:Key="boolToColor3"/>
|
|
|
+ <converters:BoolToColor4 x:Key="boolToColor4"/>
|
|
|
+ <converters:BoolToColor5 x:Key="boolToColor5"/>
|
|
|
+ <converters:BoolToBool x:Key="BoolToBool"/>
|
|
|
+ <converters:IntToBoolConverter x:Key="converters:IntToBoolConverter"/>
|
|
|
+ <converters:IntToBoolConverter2 x:Key="converters:IntToBoolConverter2"/>
|
|
|
+ <converters2:AllNoneCheckboxConverter x:Key="AllNoneCheckboxConverter"/>
|
|
|
</UserControl.Resources>
|
|
|
<Grid>
|
|
|
<Grid.ColumnDefinitions>
|
|
@@ -26,187 +41,392 @@
|
|
|
<ColumnDefinition Width="4*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
-
|
|
|
+ <Canvas>
|
|
|
+ <TextBlock Text="Gas1" FontSize="15" Canvas.Top="221" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC1Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="221" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC1Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="221" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBlock Text="Gas2" Canvas.Top="277" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC2Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="277" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC2Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="277" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBlock Text="Gas3" Canvas.Top="333" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC3Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="333" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC3Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="333" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBlock Text="Gas4" Canvas.Top="389" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC4Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="389" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC4Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="389" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBlock Text="Gas5" Canvas.Top="445" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC5Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="445" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC5Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="445" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBlock Text="Gas6" Canvas.Top="501" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC6Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="501" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC6Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="501" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBlock Text="Gas7" Canvas.Top="557" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC7Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="557" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC7Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="557" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBlock Text="Gas8" Canvas.Top="613" Canvas.Left="20"/>
|
|
|
+ <TextBox Text="{Binding MFC8Data.DisplayName}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="613" Canvas.Left="70" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ <TextBox Text="{Binding MFC8Data.Scale}" IsReadOnly="True" BorderThickness="0,0,0,1" Canvas.Top="613" Canvas.Left="150" Background="Transparent" Width="70" HorizontalContentAlignment="Center"/>
|
|
|
+ </Canvas>
|
|
|
|
|
|
<Canvas Grid.Column="1">
|
|
|
- <ctrls:FlowPipe Name="finalPipe1" Height="8" Width="100" Canvas.Left="482" Canvas.Top="120" />
|
|
|
-
|
|
|
+
|
|
|
+ <ctrls:Pipe2 Canvas.Left="490" Canvas.Top="615" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
|
|
|
<!--N2-->
|
|
|
- <ctrls:FlowPipe Name="N2Pipe2" Height="8" Width="230" Canvas.Left="255" Canvas.Top="120"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="VentValve" Height="20" Width="24" Canvas.Left="436" Canvas.Top="110" />
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="477.5" Canvas.Top="120" RotateTransformValue="-90" />-->
|
|
|
-
|
|
|
- <ctrls:FlowPipe x:Name="N2Pipe1" Height="8" Width="193" Canvas.Left="64" Canvas.Top="120"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="245" Canvas.Top="120" RotateTransformValue="-90"/>-->
|
|
|
- <ctrls:FlowPipeValve x:Name="VN22" Height="20" Width="24" Canvas.Left="288" Canvas.Top="110" />
|
|
|
-
|
|
|
- <!--To pump-->
|
|
|
- <ctrls:FlowPipe Name="f1" Height="8" Width="422" Canvas.Left="64" Canvas.Top="173" Visibility="Hidden"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="169"/>-->
|
|
|
- <ctrls:FlowPipeValve x:Name="valve10" Height="20" Width="24" Canvas.Left="436" Canvas.Top="163" Visibility="Hidden" />
|
|
|
- <!--<ctrls:Pump Width="40" Height="40" Opacity="0.7" x:Name="pump1" Canvas.Left="80" Canvas.Top="155" HorizontalAlignment="Center" VerticalAlignment="Top"/>-->
|
|
|
-
|
|
|
-
|
|
|
- <!--Cl2-->
|
|
|
- <ctrls:FlowPipe Name="f9" Height="8" Width="278" Canvas.Left="206" Canvas.Top="230"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve8" Height="20" Width="24" Canvas.Left="436" Canvas.Top="220.5"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="226"/>-->
|
|
|
-
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="241" Canvas.Top="262" />-->
|
|
|
- <ctrls:FlowPipe Name="Gas1Pipe1" Height="8" Width="144" Canvas.Left="64" Canvas.Top="230"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="197" Canvas.Top="230" RotateTransformValue="-90"/>-->
|
|
|
- <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="201" Canvas.Top="266"/>
|
|
|
+ <ctrls:FlowPipe Name="N2Pipe2" Height="8" Width="230" Canvas.Left="255" Canvas.Top="120">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter}">
|
|
|
+ <Binding Path="PVN22ValveIsOpen"/>
|
|
|
+ <Binding Path="N2ValveIsOpen"/>
|
|
|
+ <Binding Path="GasFinalValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <TextBlock Text="Vent Valve" Canvas.Left="416" Canvas.Top="90"/>
|
|
|
+
|
|
|
+ <customControls:CommonValveControl Status="{Binding N2ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="114" IsCanEdit="True" Tag="10" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+ <ctrls:FlowPipe x:Name="N2Pipe1" Height="8" Width="193" Canvas.Left="64" Canvas.Top="120">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter3}">
|
|
|
+ <Binding Path="PVN21ValveIsOpen"/>
|
|
|
+ <Binding Path="PVN22ValveIsOpen"/>
|
|
|
+ <Binding Path="N2ValveIsOpen"/>
|
|
|
+ <Binding Path="GasFinalValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+
|
|
|
+ <TextBlock Text="VN22" Canvas.Left="280" Canvas.Top="90"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding PVN22ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="288" Canvas.Top="114" IsCanEdit="True" Tag="1" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="308" Canvas.Left="176" Canvas.Top="230" IsFlowing="{Binding MFC1ValveIsOpen}"/>
|
|
|
+
|
|
|
+ <TextBlock Text="V1" Canvas.Left="438" Canvas.Top="208"/>
|
|
|
+
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC1ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="224" IsCanEdit="True" Tag="11" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="114" Canvas.Left="64" Canvas.Top="230" IsFlowing="{Binding PV11ValveIsOpen}"/>
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="80" Canvas.Left="177" Canvas.Top="266" IsFlowing="{Binding PV12ValveIsOpen}"/>
|
|
|
<!--<ctrls:Pipe2 Canvas.Left="214" Canvas.Top="274" RotateTransformValue="-180"/>-->
|
|
|
- <ctrls:FlowPipe Height="8" Width="35" Canvas.Left="208" Canvas.Top="236" RotateTransformValue="90" />
|
|
|
- <ctrls:FlowPipe Height="8" Width="145" Canvas.Left="257" Canvas.Top="126" RotateTransformValue="90" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="30" Canvas.Left="178" Canvas.Top="236" RotateTransformValue="90" IsFlowing="{Binding PV12ValveIsOpen}"/>
|
|
|
+ <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="274" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="145" Canvas.Left="257" Canvas.Top="126" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="PV12ValveIsOpen"/>
|
|
|
+ <Binding Path="PV22ValveIsOpen"/>
|
|
|
+ <Binding Path="PV32ValveIsOpen"/>
|
|
|
+ <Binding Path="PV42ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
|
|
|
<!--SF6-->
|
|
|
- <ctrls:FlowPipe Name="f2" Height="8" Width="278" Canvas.Left="206" Canvas.Top="286"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve2" Height="20" Width="24" Canvas.Left="436" Canvas.Top="275.8"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="282" />-->
|
|
|
-
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="241" Canvas.Top="318" />-->
|
|
|
- <ctrls:FlowPipe x:Name="Gas2Pipe1" Height="8" Width="142" Canvas.Left="64" Canvas.Top="286"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="197" Canvas.Top="286" RotateTransformValue="-90"/>-->
|
|
|
- <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="201" Canvas.Top="322"/>
|
|
|
- <!--<ctrls:Pipe2 Canvas.Left="214" Canvas.Top="330" RotateTransformValue="-180"/>-->
|
|
|
- <ctrls:FlowPipe Height="8" Width="36" Canvas.Left="208" Canvas.Top="290" RotateTransformValue="90" />
|
|
|
- <ctrls:FlowPipe Height="8" Width="54" Canvas.Left="257" Canvas.Top="270" RotateTransformValue="90" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="310" Canvas.Left="174" Canvas.Top="286" IsFlowing="{Binding MFC2ValveIsOpen}"/>
|
|
|
+ <TextBlock Text="V2" Canvas.Left="438" Canvas.Top="264"/>
|
|
|
+
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC2ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="280" IsCanEdit="True" Tag="12" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="112" Canvas.Left="64" Canvas.Top="286" IsFlowing="{Binding PV21ValveIsOpen}"/>
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="80" Canvas.Left="177" Canvas.Top="322" IsFlowing="{Binding PV22ValveIsOpen}"/>
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="32" Canvas.Left="178" Canvas.Top="290" RotateTransformValue="90" IsFlowing="{Binding PV22ValveIsOpen}"/>
|
|
|
+ <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="330" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="55" Canvas.Left="257" Canvas.Top="270" RotateTransformValue="90" IsReverse="True" >
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="PV22ValveIsOpen"/>
|
|
|
+ <Binding Path="PV32ValveIsOpen"/>
|
|
|
+ <Binding Path="PV42ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
|
|
|
<!--Gas3-->
|
|
|
- <ctrls:FlowPipe Name="f3" Height="8" Width="278" Canvas.Left="206" Canvas.Top="342"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve3" Height="20" Width="24" Canvas.Left="436" Canvas.Top="333"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="338" />-->
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="241" Canvas.Top="374" />-->
|
|
|
- <ctrls:FlowPipe x:Name="Gas3Pipe1" Height="8" Width="152" Canvas.Left="64" Canvas.Top="342"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="197" Canvas.Top="342" RotateTransformValue="-90"/>-->
|
|
|
- <!--<ctrls:Pipe2 Canvas.Left="214" Canvas.Top="386" RotateTransformValue="-180"/>-->
|
|
|
- <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="201" Canvas.Top="378"/>
|
|
|
- <ctrls:FlowPipe Height="8" Width="34" Canvas.Left="208" Canvas.Top="348" RotateTransformValue="90" />
|
|
|
- <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="257" Canvas.Top="324" RotateTransformValue="90" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="310" Canvas.Left="174" Canvas.Top="342" IsFlowing="{Binding MFC3ValveIsOpen}"/>
|
|
|
+
|
|
|
+ <TextBlock Text="V3" Canvas.Left="436" Canvas.Top="320"/>
|
|
|
+
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC3ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="336" IsCanEdit="True" Tag="13" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="112" Canvas.Left="64" Canvas.Top="342" IsFlowing="{Binding PV31ValveIsOpen}"/>
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="80" Canvas.Left="177" Canvas.Top="378" IsFlowing="{Binding PV32ValveIsOpen}"/>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="30" Canvas.Left="178" Canvas.Top="348" RotateTransformValue="90" IsFlowing="{Binding PV32ValveIsOpen}"/>
|
|
|
+ <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="386" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="57" Canvas.Left="257" Canvas.Top="324" RotateTransformValue="90" IsReverse="True" >
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="PV32ValveIsOpen"/>
|
|
|
+ <Binding Path="PV42ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Gas4-->
|
|
|
- <ctrls:FlowPipe x:Name="Gas4Pipe1" Height="8" Width="142" Canvas.Left="64" Canvas.Top="396"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="197" Canvas.Top="396" RotateTransformValue="-90"/>-->
|
|
|
- <!--<ctrls:Pipe2 Canvas.Left="214" Canvas.Top="436" RotateTransformValue="-180"/>-->
|
|
|
- <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="201" Canvas.Top="428"/>
|
|
|
- <!--<ctrls:Pipe2 Canvas.Left="257" Canvas.Top="423" RotateTransformValue="90"/>-->
|
|
|
- <ctrls:FlowPipe Name="f4" Height="8" Width="278" Canvas.Left="206" Canvas.Top="396"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve4" Height="20" Width="24" Canvas.Left="440" Canvas.Top="386"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="392" />-->
|
|
|
- <ctrls:FlowPipe Height="8" Width="54" Canvas.Left="257" Canvas.Top="380" RotateTransformValue="90" />
|
|
|
- <ctrls:FlowPipe Height="8" Width="32" Canvas.Left="209" Canvas.Top="400" RotateTransformValue="90" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="112" Canvas.Left="64" Canvas.Top="396" IsFlowing="{Binding PV41ValveIsOpen}"/>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="76" Canvas.Left="175" Canvas.Top="428" IsFlowing="{Binding PV42ValveIsOpen}"/>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="310" Canvas.Left="174" Canvas.Top="396" IsFlowing="{Binding MFC4ValveIsOpen}"/>
|
|
|
+
|
|
|
+ <TextBlock Text="V4" Canvas.Left="436" Canvas.Top="374"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC4ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="390" IsCanEdit="True" Tag="14" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Height="8" Width="50" Canvas.Left="257" Canvas.Top="380" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="PV42ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:Pipe2 Canvas.Left="257" Canvas.Top="423" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
|
|
|
+ <ctrls:FlowPipe Height="8" Width="30" Canvas.Left="178" Canvas.Top="401" RotateTransformValue="90" IsFlowing="{Binding PV42ValveIsOpen}"/>
|
|
|
+ <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="436" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
|
|
|
|
|
|
|
|
|
<!--Gas5-->
|
|
|
- <ctrls:FlowPipe Name="f5" Height="8" Width="418" Canvas.Left="64" Canvas.Top="452"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve5" Height="20" Width="24" Canvas.Left="440" Canvas.Top="443"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="447.5" />-->
|
|
|
+ <ctrls:FlowPipe Height="8" Width="419" Canvas.Left="64" Canvas.Top="452" IsFlowing="{Binding MFC5ValveIsOpen}"/>
|
|
|
+ <TextBlock Text="V5" Canvas.Left="438" Canvas.Top="430"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC5ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="446" IsCanEdit="True" Tag="15" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
|
|
|
<!--O2-->
|
|
|
- <ctrls:FlowPipe Name="f6" Height="8" Width="418" Canvas.Left="65" Canvas.Top="507"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve6" Height="20" Width="24" Canvas.Left="440" Canvas.Top="498"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="503" />-->
|
|
|
+ <ctrls:FlowPipe Height="8" Width="419" Canvas.Left="65" Canvas.Top="507" IsFlowing="{Binding MFC6ValveIsOpen}"/>
|
|
|
+ <TextBlock Text="V6" Canvas.Left="438" Canvas.Top="485"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC6ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="501" IsCanEdit="True" Tag="16" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<!--Gas7-->
|
|
|
- <ctrls:FlowPipe Name="f7" Height="8" Width="418" Canvas.Left="65" Canvas.Top="563"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve7" Height="20" Width="24" Canvas.Left="440" Canvas.Top="554"/>
|
|
|
- <!--<ctrls:Pipe3 Canvas.Left="474" Canvas.Top="559" />-->
|
|
|
+ <ctrls:FlowPipe Height="8" Width="418" Canvas.Left="65" Canvas.Top="563" IsFlowing="{Binding MFC7ValveIsOpen}"/>
|
|
|
+ <TextBlock Text="V7" Canvas.Left="438" Canvas.Top="541"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC7ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="557" IsCanEdit="True" Tag="17" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
- <!--Gas8-->
|
|
|
- <ctrls:FlowPipe Name="f8" Height="8" Width="418" Canvas.Left="68" Canvas.Top="620"/>
|
|
|
- <ctrls:FlowPipeValve x:Name="valve9" Height="20" Width="24" Canvas.Left="440" Canvas.Top="611"/>
|
|
|
- <!--<ctrls:Pipe2 RotateTransformValue="90" Canvas.Left="490" Canvas.Top="615" />-->
|
|
|
- <ctrls:FlowPipe Name="l8" Height="9" Width="56" Canvas.Left="490" Canvas.Top="126" RotateTransformValue="90" />
|
|
|
- <ctrls:FlowPipe Name="l1" Height="9" Width="56" Canvas.Left="490" Canvas.Top="180" RotateTransformValue="90"/>
|
|
|
- <ctrls:FlowPipe Name="l9" Height="9" Width="56" Canvas.Left="490" Canvas.Top="234" RotateTransformValue="90"/>
|
|
|
- <ctrls:FlowPipe Name="l2" Height="9" Width="56" Canvas.Left="490" Canvas.Top="290" RotateTransformValue="90"/>
|
|
|
- <ctrls:FlowPipe Name="l3" Height="9" Width="56" Canvas.Left="490" Canvas.Top="344" RotateTransformValue="90"/>
|
|
|
- <ctrls:FlowPipe Name="l4" Height="9" Width="58" Canvas.Left="490" Canvas.Top="400" RotateTransformValue="90"/>
|
|
|
- <ctrls:FlowPipe Name="l5" Height="9" Width="56" Canvas.Left="490" Canvas.Top="458" RotateTransformValue="90"/>
|
|
|
- <ctrls:FlowPipe Name="l6" Height="9" Width="56" Canvas.Left="490" Canvas.Top="514" RotateTransformValue="90"/>
|
|
|
- <ctrls:FlowPipe Name="l7" Height="9" Width="56" Canvas.Left="490" Canvas.Top="570" RotateTransformValue="90"/>
|
|
|
|
|
|
+ <!--Gas8-->
|
|
|
+ <ctrls:FlowPipe Height="8" Width="412" Canvas.Left="68" Canvas.Top="620" IsFlowing="{Binding MFC8ValveIsOpen}"/>
|
|
|
+ <TextBlock Text="V8" Canvas.Left="438" Canvas.Top="598"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding MFC8ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="614" IsCanEdit="True" Tag="18" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+
|
|
|
+ <!--与chamber上方连接的管道-->
|
|
|
+ <ctrls:FlowPipe Height="8" Width="100" Canvas.Left="482" Canvas.Top="120">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter4}">
|
|
|
+ <Binding Path="GasFinalValveIsOpen"/>
|
|
|
+ <Binding Path="N2ValveIsOpen"/>
|
|
|
+ <Binding Path="PV11ValveIsOpen"/>
|
|
|
+ <Binding Path="PV21ValveIsOpen"/>
|
|
|
+ <Binding Path="PV31ValveIsOpen"/>
|
|
|
+ <Binding Path="PV41ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC5ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <Image Canvas.Left="590" Canvas.Top="110" Width="40" Height="25" Source="Pack://application:,,,/Venus_Themes;Component/Resources/Arrow.png" Stretch="Uniform">
|
|
|
+
|
|
|
+ </Image>
|
|
|
+
|
|
|
+ <ctrls:FlowPipe Name="l8" Height="8" Width="56" Canvas.Left="490" Canvas.Top="126" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC1ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC2ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC3ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC4ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC5ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="490" Canvas.Top="180" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC1ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC2ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC3ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC4ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC5ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="234" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC2ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC3ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC4ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC5ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="490" Canvas.Top="290" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC3ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC4ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC5ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="344" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC4ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC5ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="400" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC5ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="456" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC6ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="512" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC7ValveIsOpen"/>
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+ <ctrls:FlowPipe Height="8" Width="48" Canvas.Left="490" Canvas.Top="568" RotateTransformValue="90" IsReverse="True">
|
|
|
+ <ctrls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
|
|
|
+ <Binding Path="MFC8ValveIsOpen"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </ctrls:FlowPipe.IsFlowing>
|
|
|
+ </ctrls:FlowPipe>
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
<!--阀-->
|
|
|
|
|
|
- <ctrls:FlowPipeValve x:Name="Gas4Valve1" Height="20" Width="24" Canvas.Left="157" Canvas.Top="386" />
|
|
|
- <ctrls:FlowPipeValve x:Name="Gas3Valve1" Height="20" Width="24" Canvas.Left="157" Canvas.Top="333" />
|
|
|
- <ctrls:FlowPipeValve x:Name="Gas2Valve1" Height="20" Width="24" Canvas.Left="157" Canvas.Top="276" />
|
|
|
- <ctrls:FlowPipeValve x:Name="Gas1Valve1" Height="20" Width="24" Canvas.Left="157" Canvas.Top="220" />
|
|
|
- <ctrls:FlowPipeValve x:Name="pumpValve1" Height="20" Width="24" Canvas.Left="157" Canvas.Top="163" Visibility="Hidden" />
|
|
|
+ <TextBlock Text="V41" Canvas.Left="128" Canvas.Top="374"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV41ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="390" IsCanEdit="True" Tag="8" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
- <ctrls:FlowPipeValve Height="20" Width="24" Canvas.Left="217" Canvas.Top="256" />
|
|
|
- <ctrls:FlowPipeValve Height="20" Width="24" Canvas.Left="217" Canvas.Top="312" />
|
|
|
- <ctrls:FlowPipeValve Height="20" Width="24" Canvas.Left="217" Canvas.Top="368" />
|
|
|
- <ctrls:FlowPipeValve Height="20" Width="24" Canvas.Left="217" Canvas.Top="418" />
|
|
|
- <ctrls:FlowPipeValve x:Name="VN21" Height="20" Width="24" Canvas.Left="266.5" Canvas.Top="148" >
|
|
|
- <ctrls:FlowPipeValve.RenderTransform>
|
|
|
- <TransformGroup>
|
|
|
- <RotateTransform Angle="90"/>
|
|
|
- </TransformGroup>
|
|
|
- </ctrls:FlowPipeValve.RenderTransform>
|
|
|
- </ctrls:FlowPipeValve>
|
|
|
+ <TextBlock Text="V31" Canvas.Left="128" Canvas.Top="320"/>
|
|
|
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV31ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="336" Tag="6" IsCanEdit="True" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
+ <TextBlock Text="V21" Canvas.Left="128" Canvas.Top="266"/>
|
|
|
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV21ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="280" Tag="4" IsCanEdit="True" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
+ <TextBlock Text="V11" Canvas.Left="128" Canvas.Top="208"/>
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV11ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="224" Tag="2" IsCanEdit="True" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
- <!--左侧管道标签-->
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="205" Canvas.Left="285" LabelValue="MFC1" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="205" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="260" Canvas.Left="285" LabelValue="MFC2" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="260" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="318" Canvas.Left="285" LabelValue="MFC3" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="318" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="370" Canvas.Left="285" LabelValue="MFC4" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="370" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="426" Canvas.Left="285" LabelValue="MFC5" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="426" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="482" Canvas.Left="285" LabelValue="MFC6" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="482" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="538" Canvas.Left="285" LabelValue="MFC7" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="538" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="595" Canvas.Left="285" LabelValue="MFC8" TextBoxValue="0.0" TextBoxColor="White" />
|
|
|
- <ctrls:TextboxWithLabel Canvas.Top="595" Canvas.Left="345" LabelValue="Flow" TextBoxValue="0.0" TextBoxColor="#D7E4BD"/>
|
|
|
|
|
|
|
|
|
+ <TextBlock Text="V12" Canvas.Left="200" Canvas.Top="243"/>
|
|
|
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV12ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="259" IsCanEdit="True" Tag="3" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
+ <TextBlock Text="V22" Canvas.Left="200" Canvas.Top="300"/>
|
|
|
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV22ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="315" IsCanEdit="True" Tag="5" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
+ <TextBlock Text="V32" Canvas.Left="200" Canvas.Top="355"/>
|
|
|
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV32ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="371" IsCanEdit="True" Tag="7" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
+ <TextBlock Text="V42" Canvas.Left="200" Canvas.Top="405"/>
|
|
|
|
|
|
+ <customControls:CommonValveControl Status="{Binding PV42ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="421" IsCanEdit="True" Tag="9" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
|
|
|
+ <TextBlock Text="VN21" Canvas.Left="200" Canvas.Top="152"/>
|
|
|
|
|
|
+ <customControls:CommonValveControl Status="{Binding PVN21ValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="243" Canvas.Top="148" IsCanEdit="True" Tag="0" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
|
|
|
+
|
|
|
+ <!--左侧管道标签-->
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC1SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="205" Canvas.Left="275" LabelValue="MFC1" ToolTip="{Binding MFC1Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <!--<TextBox Canvas.Top="205" Canvas.Left="250" Width="100" Text="{Binding MfcGas1Setpoint,Mode=TwoWay}"/>-->
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="205" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC1Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC2SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="260" Canvas.Left="275" LabelValue="MFC2" ToolTip="{Binding MFC2Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="260" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC2Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC3SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="318" Canvas.Left="275" LabelValue="MFC3" ToolTip="{Binding MFC3Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="318" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC3Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC4SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="370" Canvas.Left="275" LabelValue="MFC4" ToolTip="{Binding MFC4Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="370" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC4Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC5SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="426" Canvas.Left="275" LabelValue="MFC5" ToolTip="{Binding MFC5Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="426" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC5Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC6SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="482" Canvas.Left="275" LabelValue="MFC6" ToolTip="{Binding MFC6Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="482" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC6Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC7SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="538" Canvas.Left="275" LabelValue="MFC7" ToolTip="{Binding MFC7Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="538" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC7Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
+ <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC8SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="595" Canvas.Left="275" LabelValue="MFC8" ToolTip="{Binding MFC8Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />
|
|
|
+ <ctrls:TextboxWithLabel Canvas.Top="595" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC8Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
|
|
|
|
|
|
- <!--<TextBlock FontSize="13" Text="N2" Canvas.Left="34" Canvas.Top="117"/>
|
|
|
- <TextBlock FontSize="13" Text="To pump" Canvas.Left="0" Canvas.Top="167" Visibility="Hidden"/>
|
|
|
- <TextBlock FontSize="13" Text="Cl2" Canvas.Left="34" Canvas.Top="227"/>
|
|
|
- <TextBlock FontSize="13" Text="SF6" Canvas.Left="34" Canvas.Top="284"/>
|
|
|
- <TextBlock FontSize="13" Text="Gas3" Canvas.Left="30" Canvas.Top="338"/>
|
|
|
- <TextBlock FontSize="13" Text="Gas4" Canvas.Left="30" Canvas.Top="392"/>
|
|
|
- <TextBlock FontSize="13" Text="Gas5" Canvas.Left="30" Canvas.Top="448"/>
|
|
|
- <TextBlock FontSize="13" Text="O2" Canvas.Left="30" Canvas.Top="503"/>
|
|
|
- <TextBlock FontSize="13" Text="Gas7" Canvas.Left="30" Canvas.Top="562"/>
|
|
|
- <TextBlock FontSize="13" Text="Gas8" Canvas.Left="30" Canvas.Top="618"/>-->
|
|
|
|
|
|
- <Image Width="40" Height="25" Source="Pack://application:,,,/Venus_Themes;Component/Resources/Arrow.png" Canvas.Left="582" Canvas.Top="111" Stretch="Uniform"/>
|
|
|
|
|
|
- <ctrls:CustomSwitch Width="150" HorizontalContentAlignment="Center" Height="20" Value=" Gas ON/OFF " Canvas.Left="310" Canvas.Top="690" />
|
|
|
|
|
|
- </Canvas>
|
|
|
+
|
|
|
+
|
|
|
+ <Ellipse Width="20" Height="20" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="360" Canvas.Top="680" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="100" Content="Gas ON/OFF" Canvas.Left="390" Canvas.Top="680" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+ <TextBlock FontSize="13" Text="Vent N2" Canvas.Left="1" Canvas.Top="117" Foreground="Black" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC1Data.DisplayName}" Canvas.Left="10" Canvas.Top="227" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC2Data.DisplayName}" Canvas.Left="10" Canvas.Top="284" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC3Data.DisplayName}" Canvas.Left="10" Canvas.Top="338" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC4Data.DisplayName}" Canvas.Left="10" Canvas.Top="392" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC5Data.DisplayName}" Canvas.Left="10" Canvas.Top="448" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC6Data.DisplayName}" Canvas.Left="10" Canvas.Top="503" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC7Data.DisplayName}" Canvas.Left="10" Canvas.Top="562" Block.TextAlignment="Right" Width="50"/>
|
|
|
+ <TextBlock FontSize="13" Text="{Binding MFC8Data.DisplayName}" Canvas.Left="10" Canvas.Top="618" Block.TextAlignment="Right" Width="50"/>
|
|
|
+
|
|
|
+
|
|
|
+ </Canvas >
|
|
|
|
|
|
<Canvas Grid.Column="2">
|
|
|
- <Grid Width="350" Height="400" Canvas.Left="80" Canvas.Top="40" Background="White" unity:GridOptions.ShowBorder="True">
|
|
|
+ <Grid Width="350" Height="440" Canvas.Left="80" Canvas.Top="20" Background="White" unity:GridOptions.ShowBorder="True">
|
|
|
<Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="40"/>
|
|
|
+ <RowDefinition/>
|
|
|
<RowDefinition/>
|
|
|
<RowDefinition/>
|
|
|
<RowDefinition/>
|
|
@@ -228,52 +448,76 @@
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
<ColumnDefinition Width="3*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <TextBlock Grid.Row="0" Grid.ColumnSpan="2" Text="检漏设置" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
+ <TextBlock Grid.Row="0" Grid.ColumnSpan="2" Text="检漏设置" FontSize="22" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
|
<TextBlock Grid.Row="1" Text="抽气时间(s)" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
<TextBlock Grid.Row="2" Text="检漏时间(s)" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
<TextBlock Grid.Row="3" Text="漏率上限(mt/min)" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
<TextBlock Grid.Row="4" Text="检漏模式" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="5" Text="MfcGas1" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="6" Text="MfcGas2" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="7" Text="MfcGas3" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="8" Text="MfcGas4" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="9" Text="MfcGas5" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="10" Text="MfcGas6" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="11" Text="MfcGas7" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="12" Text="MfcGas8" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="13" Text="状态" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="14" Text="检漏时间" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
- <TextBlock Grid.Row="15" Text="当前压力" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
-
|
|
|
- <TextBox Grid.Row="1" Grid.Column="1" BorderThickness="0" VerticalContentAlignment="Center" Text="{Binding VentTime}"/>
|
|
|
- <TextBox Grid.Row="2" Grid.Column="1" BorderThickness="0" VerticalContentAlignment="Center" Text="{Binding CheckTime}"/>
|
|
|
- <TextBox Grid.Row="3" Grid.Column="1" BorderThickness="0" VerticalContentAlignment="Center" Text="{Binding LeakRateUpperLimit}"/>
|
|
|
- <ComboBox Grid.Row="4" Grid.Column="1" BorderBrush="Transparent" Margin="-2,-2,-1,-1" ItemsSource="{Binding LeakCheckMode}" SelectedIndex="{Binding LeakCheckModeSelectedIndex}"/>
|
|
|
- <CheckBox Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[0]}"/>
|
|
|
- <CheckBox Grid.Row="6" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[1]}"/>
|
|
|
- <CheckBox Grid.Row="7" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[2]}"/>
|
|
|
- <CheckBox Grid.Row="8" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[3]}"/>
|
|
|
- <CheckBox Grid.Row="9" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[4]}"/>
|
|
|
- <CheckBox Grid.Row="10" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[5]}"/>
|
|
|
- <CheckBox Grid.Row="11" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[6]}"/>
|
|
|
- <CheckBox Grid.Row="12" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[7]}"/>
|
|
|
-
|
|
|
+ <TextBlock Grid.Row="5" Text="全选" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="6" Text="Vent N2" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="7" Text="MfcGas1" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="8" Text="MfcGas2" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="9" Text="MfcGas3" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="10" Text="MfcGas4" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="11" Text="MfcGas5" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="12" Text="MfcGas6" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="13" Text="MfcGas7" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="14" Text="MfcGas8" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="15" Text="状态" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="16" Text="检漏时间" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+ <TextBlock Grid.Row="17" Text="当前压力" FontSize="15" VerticalAlignment="Center" Padding="10" />
|
|
|
+
|
|
|
+ <TextBox Grid.Row="1" Grid.Column="1" BorderThickness="0" VerticalContentAlignment="Center" Text="{Binding VentTime}"/>
|
|
|
+ <TextBox Grid.Row="2" Grid.Column="1" BorderThickness="0" VerticalContentAlignment="Center" Text="{Binding CheckTime}"/>
|
|
|
+ <TextBox Grid.Row="3" Grid.Column="1" BorderThickness="0" VerticalContentAlignment="Center" Text="{Binding LeakRateUpperLimit}"/>
|
|
|
+
|
|
|
+ <ComboBox Grid.Row="4" Grid.Column="1" BorderBrush="Transparent" Margin="-2,-2,-1,-1" ItemsSource="{Binding LeakCheckMode}" SelectedIndex="{Binding LeakCheckModeSelectedIndex}"/>
|
|
|
+
|
|
|
+ <CheckBox Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}">
|
|
|
+ <CheckBox.IsChecked>
|
|
|
+ <MultiBinding Converter="{StaticResource AllNoneCheckboxConverter}">
|
|
|
+ <Binding ElementName="n2CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas1CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas2CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas3CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas4CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas5CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas6CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas7CheckBox" Path="IsChecked"/>
|
|
|
+ <Binding ElementName="gas8CheckBox" Path="IsChecked"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </CheckBox.IsChecked>
|
|
|
+ </CheckBox>
|
|
|
+ <CheckBox x:Name="n2CheckBox" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[0]}" />
|
|
|
+ <CheckBox x:Name="gas1CheckBox" Grid.Row="7" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[1]}"/>
|
|
|
+ <CheckBox x:Name="gas2CheckBox" Grid.Row="8" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[2]}"/>
|
|
|
+ <CheckBox x:Name="gas3CheckBox" Grid.Row="9" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[3]}"/>
|
|
|
+ <CheckBox x:Name="gas4CheckBox" Grid.Row="10" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[4]}"/>
|
|
|
+ <CheckBox x:Name="gas5CheckBox" Grid.Row="11" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[5]}"/>
|
|
|
+ <CheckBox x:Name="gas6CheckBox" Grid.Row="12" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[6]}"/>
|
|
|
+ <CheckBox x:Name="gas7CheckBox" Grid.Row="13" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[7]}"/>
|
|
|
+ <CheckBox x:Name="gas8CheckBox" Grid.Row="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="{Binding LeakCheckModeSelectedIndex}" IsChecked="{Binding GasIsCheck[8]}"/>
|
|
|
+
|
|
|
+ <TextBlock Grid.Row="15" Grid.Column="1"/>
|
|
|
+ <TextBlock Grid.Row="16" Grid.Column="1"/>
|
|
|
+ <TextBlock Grid.Row="17" Grid.Column="1"/>
|
|
|
+
|
|
|
</Grid>
|
|
|
- <Button Foreground="White" FontWeight="Bold" Content="Leak Check" Width="120" Height="30" Canvas.Left="480" Canvas.Top="40" Command="{Binding CheckCommand}"/>
|
|
|
- <Button Foreground="White" FontWeight="Bold" Content="Gas Pump Purge" Width="120" Height="30" Canvas.Left="480" Canvas.Top="90" />
|
|
|
- <Button Foreground="White" FontWeight="Bold" Content="Abort" Width="120" Height="30" Canvas.Left="480" Canvas.Top="140" />
|
|
|
+ <Button Foreground="White" FontWeight="Bold" Content="Leak Check" Width="120" Height="25" Canvas.Left="480" Canvas.Top="40" Command="{Binding CheckCommand}"/>
|
|
|
+ <Button Foreground="White" FontWeight="Bold" Content="Gas Pump Purge" Width="120" Height="25" Canvas.Left="480" Canvas.Top="90" />
|
|
|
+ <Button Foreground="White" FontWeight="Bold" Content="Abort" Width="120" Height="25" Canvas.Left="480" Canvas.Top="140" Command="{Binding AbortCommand}"/>
|
|
|
|
|
|
<TextBlock Canvas.Left="80" Canvas.Top="460" Text="Leak Check Result" FontSize="15" FontWeight="Bold"/>
|
|
|
|
|
|
|
|
|
- <Button FontSize="15" Foreground="White" FontWeight="Bold" Content="Export" Width="100" Height="30" Canvas.Left="900" Canvas.Top="440"/>
|
|
|
+ <Button FontSize="15" Foreground="White" FontWeight="Bold" Content="Export" Width="100" Height="30" Canvas.Left="900" Canvas.Top="440" Command="{Binding ExportCommand}"/>
|
|
|
<Button FontSize="15" Foreground="White" FontWeight="Bold" Content="Delete" Width="100" Height="30" Canvas.Left="1020" Canvas.Top="440" />
|
|
|
<DataGrid Canvas.Left="80" Height="300" Canvas.Top="480" AutoGenerateColumns="False" BorderThickness="0.1" FontSize="12" MinRowHeight="20" VerticalAlignment="Stretch"
|
|
|
CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserResizeColumns="True" CanUserResizeRows="False" CanUserSortColumns="False"
|
|
|
SelectionMode="Single" SelectionUnit="FullRow" Background="#05000000" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"
|
|
|
ItemsSource="{Binding LeakCheckResultList}" SelectedItem="{Binding CurrentLeakCheckResultItem}" FontFamily="Arial,SimSun" Margin="0,0,8,45">
|
|
|
<DataGrid.Columns>
|
|
|
- <DataGridTextColumn Width="160" Binding="{Binding Date, StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
+ <DataGridTextColumn Width="160" Binding="{Binding CheckDate}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
<DataGridTextColumn.HeaderTemplate >
|
|
|
<DataTemplate>
|
|
|
<TextBlock Text="CheckDate" />
|
|
@@ -287,7 +531,7 @@
|
|
|
</DataTemplate>
|
|
|
</DataGridTextColumn.HeaderTemplate>
|
|
|
</DataGridTextColumn>
|
|
|
- <DataGridTextColumn Width="120" Binding="{Binding StopPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
+ <DataGridTextColumn Width="120" Binding="{Binding EndPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
<DataGridTextColumn.HeaderTemplate >
|
|
|
<DataTemplate>
|
|
|
<TextBlock Text="StopPressure" />
|
|
@@ -301,21 +545,21 @@
|
|
|
</DataTemplate>
|
|
|
</DataGridTextColumn.HeaderTemplate>
|
|
|
</DataGridTextColumn>
|
|
|
- <DataGridTextColumn Width="120" Binding="{Binding LeakRate, StringFormat={}{0:F5}}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
+ <DataGridTextColumn Width="120" Binding="{Binding LeakRate}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
<DataGridTextColumn.HeaderTemplate >
|
|
|
<DataTemplate>
|
|
|
<TextBlock Text="LeakRate" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTextColumn.HeaderTemplate>
|
|
|
</DataGridTextColumn>
|
|
|
- <DataGridTextColumn Width="200" Binding="{Binding LeakCheckMode}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
+ <DataGridTextColumn Width="200" Binding="{Binding CheckMode}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
<DataGridTextColumn.HeaderTemplate >
|
|
|
<DataTemplate>
|
|
|
<TextBlock Text="CheckMode" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTextColumn.HeaderTemplate>
|
|
|
</DataGridTextColumn>
|
|
|
- <DataGridTextColumn Width="200" Binding="{Binding LeakCheckStatus}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
+ <DataGridTextColumn Width="200" Binding="{Binding Result}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
|
|
|
<DataGridTextColumn.HeaderTemplate >
|
|
|
<DataTemplate>
|
|
|
<TextBlock Text=" GlobalLableLeakCheckStatus" />
|