| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411 | <UserControl x:Class="PunkHPX8_Themes.UserControls.DMReservoirUIControl"         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:userControls="clr-namespace:PunkHPX8_Themes.UserControls"         xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls"         xmlns:ctrls="clr-namespace:PunkHPX8_Themes.UserControls"         xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters"         xmlns:local="clr-namespace:PunkHPX8_Themes.UserControls"         xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"         mc:Ignorable="d" Name="self"         d:DesignHeight="700" d:DesignWidth="1000">    <UserControl.Resources>        <converters:BoolToVisibility2 x:Key="boolToVisibility2"></converters:BoolToVisibility2>        <converters:BoolToVisibility x:Key="boolToVisibility"></converters:BoolToVisibility>        <converters:BoolToOrientation x:Key="boolToOrientation"></converters:BoolToOrientation>        <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"/>        <converters:BoolToRedColor x:Key="boolToRedColor"/>        <converters:MutiBoolToBool x:Key="mutiBoolToBool"/>        <ContextMenu x:Key="ANIsolationValve">            <MenuItem Header="Open" Click="OpenANIsolationValve_Click"/>            <MenuItem Header="Close" Click="CloseANIsolationValve_Click"/>        </ContextMenu>        <ContextMenu x:Key="CAIsolationValve">            <MenuItem Header="Open" Click="OpenCAIsolationValve_Click"/>            <MenuItem Header="Close" Click="CloseCAIsolationValve_Click"/>        </ContextMenu>        <ContextMenu x:Key="ReturnFlowValve">            <MenuItem Header="Open" Click="OpenReturnFlowValve_Click"/>            <MenuItem Header="Close" Click="CloseReturnFlowValve_Click"/>        </ContextMenu>        <ContextMenu x:Key="DegasValve">            <MenuItem Header="Open" Click="OpenDegasValve_Click"/>            <MenuItem Header="Close" Click="CloseDegasValve_Click"/>        </ContextMenu>        <ContextMenu x:Key="SampleValve">            <MenuItem Header="Open" Click="OpenSampleValve_Click"/>            <MenuItem Header="Close" Click="CloseSampleValve_Click"/>        </ContextMenu>        <ContextMenu x:Key="ANDiReplenInValve">            <MenuItem Header="Open" Click="OpenANDiReplenInValve_Click"/>            <MenuItem Header="Close" Click="CloseANDiReplenInValve_Click"/>        </ContextMenu>        <ContextMenu x:Key="CADiReplenInValve">            <MenuItem Header="Open" Click="OpenCADiReplenInValve_Click"/>            <MenuItem Header="Close" Click="CloseCADiReplenInValve_Click"/>        </ContextMenu>    </UserControl.Resources>    <Canvas>        <Canvas Canvas.Left="171" Canvas.Top="428" HorizontalAlignment="Center" VerticalAlignment="Top" >            <Border                 Width="220"                  Height="220"                 CornerRadius="10"                Background="AntiqueWhite"                 BorderBrush="Gray"                BorderThickness="2" Canvas.Left="-83" Canvas.Top="-21"              />            <i:Interaction.Triggers>                <i:EventTrigger EventName="MouseLeftButtonUp">                    <i:InvokeCommandAction Command="{Binding JumpToPlatingCellCommand}"/>                </i:EventTrigger>            </i:Interaction.Triggers>        </Canvas>        <Rectangle x:Name="ErrorRectangle" Fill="Red" Height="200" Width="200" VerticalAlignment="Center"  Opacity="0.5" Panel.ZIndex="3"         Visibility="{Binding ElementName=self,Path=IsError,Converter={StaticResource boolToVisibility2}}" Canvas.Left="99" Canvas.Top="417" HorizontalAlignment="Left"/>        <Canvas Width="200" Height="120" Canvas.Left="430" Canvas.Top="124">            <Rectangle Width="200" Height="100" Fill="Yellow" Canvas.Top="0" />            <!-- 中间橙色矩形 -->            <Rectangle Width="160" Height="60" Fill="Gold" Canvas.Top="26" Canvas.Left="20" HorizontalAlignment="Left" VerticalAlignment="Center"/>            <!-- 顶部浅色矩形 -->            <Rectangle Width="180" Height="40" Fill="#FFF5F5DC" Canvas.Top="0" Canvas.Left="7" HorizontalAlignment="Center" VerticalAlignment="Top"/>            <!-- 左右三角形装饰 -->            <Polygon Points="0,20 10,0 20,20" Fill="Yellow" Canvas.Left="7" Canvas.Top="0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Top">                <Polygon.RenderTransform>                    <TransformGroup>                        <ScaleTransform/>                        <SkewTransform/>                        <RotateTransform Angle="90"/>                        <TranslateTransform/>                    </TransformGroup>                </Polygon.RenderTransform>            </Polygon>            <Polygon Points="0,20 10,0 20,20" Fill="Yellow" Canvas.Left="168" Canvas.Top="0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" VerticalAlignment="Center">                <Polygon.RenderTransform>                    <TransformGroup>                        <ScaleTransform/>                        <SkewTransform/>                        <RotateTransform Angle="-90"/>                        <TranslateTransform/>                    </TransformGroup>                </Polygon.RenderTransform>            </Polygon>            <Polygon Points="50,50 210,50 200,60 60,60"              Fill="White"               StrokeThickness="1" Canvas.Left="-30" Canvas.Top="-10"/>        </Canvas>        <Canvas Width="50" Height="100" Canvas.Left="536" Canvas.Top="458">            <Ellipse       Width="30"       Height="17"       Fill="#A9B0E5"       Stroke="Black"       StrokeThickness="1"      Canvas.Left="20"       Canvas.Top="33" />            <Rectangle             Width="30"             Height="75"             Fill="#A9B0E5"             Stroke="Black"             StrokeThickness="1"            Canvas.Left="20"             Canvas.Top="43" HorizontalAlignment="Left" VerticalAlignment="Center"/>            <Rectangle             Width="50"             Height="20"             Fill="#A9B0E5"             Stroke="Black"             StrokeThickness="1"            Canvas.Left="11"             Canvas.Top="115" HorizontalAlignment="Center" VerticalAlignment="Top"/>        </Canvas>        <Canvas Width="50" Height="100" Canvas.Left="203" Canvas.Top="26">            <Ellipse                 Width="45"                 Height="25"                 Fill="AntiqueWhite"                 Stroke="Black"                 StrokeThickness="1"                Canvas.Left="23"                 Canvas.Top="33" />            <Rectangle                   Width="50"                   Height="150"                   Fill="AntiqueWhite"                   Stroke="Black"                   StrokeThickness="1"                  Canvas.Left="20"                   Canvas.Top="43" HorizontalAlignment="Left" VerticalAlignment="Center"/>            <Ellipse                 Width="45"                 Height="26"                 Fill="AntiqueWhite"                 Stroke="Black"                 StrokeThickness="1"                Canvas.Left="25"                 Canvas.Top="158" HorizontalAlignment="Left" VerticalAlignment="Center" />            <Rectangle        Width="20"        Height="100"        Fill="AntiqueWhite"        Stroke="Black"        StrokeThickness="1"       Canvas.Left="30"        Canvas.Top="61" HorizontalAlignment="Center" VerticalAlignment="Top"/>        </Canvas>        <Canvas Width="40" Height="200" Canvas.Left="760" Canvas.Top="205">            <Rectangle Canvas.Left="11" Canvas.Top="51" Width="45" Height="160" RadiusX="50" RadiusY="10" Fill="AntiqueWhite" Stroke="Black" StrokeThickness="1" HorizontalAlignment="Center" VerticalAlignment="Top"/>            <Line X1="18" Y1="100" X2="50" Y2="100" Stroke="Black" StrokeThickness="1" StrokeDashArray="3,2"/>            <Line X1="18" Y1="140" X2="50" Y2="140" Stroke="Black" StrokeThickness="1" StrokeDashArray="3,2"/>            <Line X1="18" Y1="180" X2="50" Y2="180" Stroke="Black" StrokeThickness="1" StrokeDashArray="3,2"/>        </Canvas>        <Label Canvas.Left="30" Canvas.Top="280"  Height="30" Width="80" FontSize="10"  FontWeight="Bold" Content="AN Pump" />        <Label Canvas.Left="391" Canvas.Top="599"  Height="30" Width="80" FontSize="10"  FontWeight="Bold" Content="CA Pump" />        <Label Canvas.Left="269" Canvas.Top="97"  Height="30" Width="60" FontSize="10"  FontWeight="Bold" Content="High" HorizontalAlignment="Center" VerticalAlignment="Top"/>        <Label Canvas.Left="269" Canvas.Top="158"  Height="30" Width="60" FontSize="10"  FontWeight="Bold" Content="Low" HorizontalAlignment="Left" VerticalAlignment="Center"/>        <userControls:ReservoirPump IsEnabled="True" ModuleName="{Binding ModuleName,ElementName=self}" PumpType="ANPump" RotateTransformValue="0" IsOpenPump="{Binding IsANPumpOpen,Mode=TwoWay,ElementName=self}" Height="60" Width="60"   Tag="26" HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Left="94" Canvas.Top="233" RenderTransformOrigin="0.25,0.517"  >            <local:ReservoirPump.RenderTransform>                <TransformGroup>                    <ScaleTransform/>                    <SkewTransform/>                    <RotateTransform Angle="-89.495"/>                    <TranslateTransform/>                </TransformGroup>            </local:ReservoirPump.RenderTransform>        </userControls:ReservoirPump>        <userControls:ReservoirPump IsEnabled="True" ModuleName="{Binding ModuleName,ElementName=self}" PumpType="CAPump" RotateTransformValue="0" IsOpenPump="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="60" Width="60"  Tag="26" HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Left="385" Canvas.Top="530" />        <Grid Height="50" Width="100" Canvas.Left="200" Canvas.Top="305" HorizontalAlignment="Left" VerticalAlignment="Top"  >            <Grid.RowDefinitions>                <RowDefinition Height="30"></RowDefinition>                <RowDefinition Height="20"></RowDefinition>            </Grid.RowDefinitions>            <Grid Grid.Row="0">                <customControls:CommonValveControl Height="16" Width="16"   ValveOrientation="Horizontal"                        Status="{Binding ElementName=self,Path=ANIsolationValve}"                         IsCanEdit="True"                        ContextMenu="{StaticResource ANIsolationValve}"/>            </Grid>            <Grid Grid.Row="1">                <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10"  FontWeight="Bold" Content="AN Isolation" />            </Grid>        </Grid>        <Grid Height="50" Width="100" Canvas.Left="657" Canvas.Top="188" HorizontalAlignment="Left" VerticalAlignment="Top"  >            <Grid.RowDefinitions>                <RowDefinition Height="30"></RowDefinition>                <RowDefinition Height="20"></RowDefinition>            </Grid.RowDefinitions>            <Grid Grid.Row="0">                <customControls:CommonValveControl Height="16" Width="16"   ValveOrientation="Horizontal"                     Status="{Binding ElementName=self,Path=CAIsolationValve}"                      IsCanEdit="True"                     ContextMenu="{StaticResource CAIsolationValve}"/>            </Grid>            <Grid Grid.Row="1">                <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10"  FontWeight="Bold" Content="CA Isolation" />            </Grid>        </Grid>        <Grid Height="50" Width="100" Canvas.Left="814" Canvas.Top="412" HorizontalAlignment="Left" VerticalAlignment="Top"  >            <Grid.RowDefinitions>                <RowDefinition Height="30"></RowDefinition>                <RowDefinition Height="20"></RowDefinition>            </Grid.RowDefinitions>            <Grid Grid.Row="0">                <customControls:CommonValveControl Height="16" Width="16"   ValveOrientation="Horizontal"             Status="{Binding ElementName=self,Path=DegasValve}"              IsCanEdit="True"             ContextMenu="{StaticResource DegasValve}" RenderTransformOrigin="0.5,0.5">                    <customControls:CommonValveControl.RenderTransform>                        <TransformGroup>                            <ScaleTransform/>                            <SkewTransform/>                            <RotateTransform Angle="90"/>                            <TranslateTransform/>                        </TransformGroup>                    </customControls:CommonValveControl.RenderTransform>                </customControls:CommonValveControl>            </Grid>        </Grid>        <Label Height="20" Width="100" FontSize="10"  FontWeight="Bold" Content="Degas Valve" Canvas.Left="876" Canvas.Top="435" />        <Grid Height="50" Width="100" Canvas.Left="536" Canvas.Top="608" HorizontalAlignment="Left" VerticalAlignment="Top"  >            <Grid.RowDefinitions>                <RowDefinition Height="30"></RowDefinition>                <RowDefinition Height="20"></RowDefinition>            </Grid.RowDefinitions>            <Grid Grid.Row="0">                <customControls:CommonValveControl Height="16" Width="16"   ValveOrientation="Horizontal"                     Status="{Binding ElementName=self,Path=SampleValve}"                      IsCanEdit="True"                     ContextMenu="{StaticResource SampleValve}" RenderTransformOrigin="0.5,0.5">                    <customControls:CommonValveControl.RenderTransform>                        <TransformGroup>                            <ScaleTransform/>                            <SkewTransform/>                            <RotateTransform Angle="90"/>                            <TranslateTransform/>                        </TransformGroup>                    </customControls:CommonValveControl.RenderTransform>                </customControls:CommonValveControl>            </Grid>        </Grid>        <Label Height="20" Width="100" FontSize="10"  FontWeight="Bold" Content="Sample Valve" Canvas.Left="599" Canvas.Top="596" />        <Grid Height="50" Width="120" Canvas.Left="539" Canvas.Top="326" HorizontalAlignment="Left" VerticalAlignment="Top"  >            <Grid.RowDefinitions>                <RowDefinition Height="30"></RowDefinition>                <RowDefinition Height="20"></RowDefinition>            </Grid.RowDefinitions>            <Grid Grid.Row="0" RenderTransformOrigin="0.5,0.5">                <Grid.RenderTransform>                    <TransformGroup>                        <ScaleTransform/>                        <SkewTransform/>                        <RotateTransform Angle="90.829"/>                        <TranslateTransform/>                    </TransformGroup>                </Grid.RenderTransform>                <customControls:CommonValveControl Height="16" Width="16"   ValveOrientation="Horizontal"                     Status="{Binding ElementName=self,Path=ReturnFlowValve}"                      IsCanEdit="True"                     ContextMenu="{StaticResource ReturnFlowValve}"/>            </Grid>        </Grid>        <Label Height="20" Width="100" FontSize="10"  FontWeight="Bold" Content="ReturnFlow Valve" Canvas.Left="605" Canvas.Top="351" />        <Canvas Width="150" Height="100" Canvas.Left="727" Canvas.Top="528" HorizontalAlignment="Left" VerticalAlignment="Top">            <userControls:TempControl TempValue="{Binding ElementName=self,Path=ReservoirTemperature}" Status="{Binding ElementName=self,Path=TCStatus}"                              DisableStatus="{Binding ElementName=self,Path=TCEnableStatus}"                              MouseLeftButtonUp="JumpToTCAction">            </userControls:TempControl>        </Canvas>        <Grid Canvas.Left="178" Canvas.Top="430" HorizontalAlignment="Center" VerticalAlignment="Top">            <Grid.ColumnDefinitions>                <ColumnDefinition Width="140"/>            </Grid.ColumnDefinitions>            <Grid.RowDefinitions>                <RowDefinition Height="25"/>                <RowDefinition Height="25"/>                <RowDefinition Height="25"/>                <RowDefinition Height="25"/>                <RowDefinition Height="25"/>                <RowDefinition Height="25"/>            </Grid.RowDefinitions>            <Grid Grid.Row="0" Grid.Column="0">                <Label Content="CA Level" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>            </Grid>            <Border Grid.Row="1" Grid.Column="0" Margin="5,0,15,5" Background="Black" Width="100">                <TextBlock Text="{Binding ElementName=self,Path=CALevel, StringFormat={}{0:F2} L}" Foreground="Lime" FontSize="12" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>            </Border>            <Grid Grid.Row="2" Grid.Column="0">                <Label Content="CA LevelRaw" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>            </Grid>            <Border Grid.Row="3" Grid.Column="0" Margin="5,0,15,5" Background="Black" Width="100">                <TextBlock Text="{Binding ElementName=self,Path=CALevelRaw, StringFormat={}{0:F2} %}" Foreground="Lime" FontSize="12" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>            </Border>            <Grid Grid.Row="4" Grid.Column="0">                <Label Content="High" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>                <Ellipse Margin="61,2,20,2"  Width="16" Height="16" Stroke="Silver"                    Fill="{Binding ElementName=self,Path=IsCALevelHigh,Converter={StaticResource boolToRedGreenColor}}"/>            </Grid>            <Grid Grid.Row="5" Grid.Column="0">                <Label Content="Low" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>                <Ellipse Margin="61,2,20,2"  Width="16" Height="16" Fill="{Binding ElementName=self,Path=IsCALevelLow,Converter={StaticResource boolToRedGreenColor}}"  Stroke="Gray"/>            </Grid>        </Grid>        <ctrls:TextboxWithLabel  Canvas.Top="271" Canvas.Left="326" LabelValue="AN Flow"   TextBoxValue="{Binding ANFlow, StringFormat={}{0:F2} L/min,ElementName=self}" TextBoxColor="Black" HorizontalAlignment="Center" VerticalAlignment="Top" />        <ctrls:TextboxWithLabel  Canvas.Top="141" Canvas.Left="671" LabelValue="CA Flow"   TextBoxValue="{Binding CAFlow, StringFormat={}{0:F2} L/min,ElementName=self}" TextBoxColor="Black" HorizontalAlignment="Center" VerticalAlignment="Top" />        <Ellipse Canvas.Left="256" Canvas.Top="100" Width="16" Height="16"  Fill="{Binding IsANLevelHigh,ElementName=self, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>        <Ellipse Canvas.Left="256" Canvas.Top="160" Width="16" Height="16"  Fill="{Binding IsANLevelLow, ElementName=self, Converter={StaticResource boolToRedColor}}" Stroke="Silver" HorizontalAlignment="Left" VerticalAlignment="Top"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding IsANPumpOpen,Mode=TwoWay,ElementName=self}" Height="8"  Width="120"  Canvas.Left="135"  Canvas.Top="198" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=ANIsolationValve}" Height="8"  Width="95"  Canvas.Left="463"  Canvas.Top="224" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=ReturnFlowValve}" Height="8"  Width="200"  Canvas.Left="603"  Canvas.Top="224" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=SampleValve}" Height="8"  Width="80"  Canvas.Left="590"  Canvas.Top="591" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="8"  Width="120"  Canvas.Left="797"  Canvas.Top="415" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="8"  Width="60"  Canvas.Left="797"  Canvas.Top="210" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=DegasValve}" Height="8"  Width="160"  Canvas.Left="868"  Canvas.Top="328" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsFlowing="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="8"  Width="420"  Canvas.Left="308"  Canvas.Top="580" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=ReturnFlowValve}" Height="8"  Width="290"  Canvas.Left="308"  Canvas.Top="420" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=ANIsolationValve}" Height="8"  Width="325"  Canvas.Left="131"  Canvas.Top="317" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsFlowing="{Binding IsANPumpOpen,Mode=TwoWay,ElementName=self}" Height="8"  Width="325"  Canvas.Left="135"  Canvas.Top="191" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=CAIsolationValve}" Height="8"  Width="160"  Canvas.Left="629"  Canvas.Top="200" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=DegasValve}" Height="8"  Width="50"  Canvas.Left="812"  Canvas.Top="319" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=DegasValve}" Height="8"  Width="50"  Canvas.Left="812"  Canvas.Top="380" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="-1"/>        <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=ANDiReplenValve}" Height="8"  Width="120"  Canvas.Left="104"  Canvas.Top="79" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top"/>        <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=CADiReplenValve}" Height="8"  Width="80"  Canvas.Left="9"  Canvas.Top="423" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top"/>        <customControls:CommonValveControl IsEnabled="{Binding IsEnabled}" Canvas.Left="156"  Canvas.Top="72" Status="{Binding ElementName=self,Path=ANDiReplenValve,Mode=TwoWay}" ContextMenu="{StaticResource ANDiReplenInValve}" ValveOrientation="Horizontal"  Height="20" Width="20"  IsCanEdit="True" HorizontalAlignment="Center" VerticalAlignment="Top"/>        <customControls:CommonValveControl IsEnabled="{Binding IsEnabled}" Canvas.Left="43"  Canvas.Top="416" Status="{Binding ElementName=self,Path=CADiReplenValve,Mode=TwoWay}" ContextMenu="{StaticResource CADiReplenInValve}" ValveOrientation="Horizontal"  Height="20" Width="20"  IsCanEdit="True" HorizontalAlignment="Left" VerticalAlignment="Center"/>        <Label Canvas.Left="129" Canvas.Top="92"  Height="30" Width="80" FontSize="10"  FontWeight="Bold" Content="AN DI RepleIn" />        <Label Canvas.Left="10" Canvas.Top="435"  Height="30" Width="80" FontSize="10"  FontWeight="Bold" Content="CA DI RepleIn" />        <ctrls:Pipe2   Canvas.Left="590"  Canvas.Top="415" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >            <local:Pipe2.RenderTransform>                <TransformGroup>                    <ScaleTransform/>                    <SkewTransform/>                    <RotateTransform Angle="90"/>                    <TranslateTransform/>                </TransformGroup>            </local:Pipe2.RenderTransform>        </ctrls:Pipe2>        <ctrls:Pipe2   Canvas.Left="450"  Canvas.Top="312" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >            <local:Pipe2.RenderTransform>                <TransformGroup>                    <ScaleTransform/>                    <SkewTransform/>                    <RotateTransform Angle="90"/>                    <TranslateTransform/>                </TransformGroup>            </local:Pipe2.RenderTransform>        </ctrls:Pipe2>        <ctrls:Pipe2   Canvas.Left="127"  Canvas.Top="312" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >            <local:Pipe2.RenderTransform>                <TransformGroup>                    <ScaleTransform/>                    <SkewTransform/>                    <RotateTransform Angle="180"/>                    <TranslateTransform/>                </TransformGroup>            </local:Pipe2.RenderTransform>        </ctrls:Pipe2>        <ctrls:Pipe2   Canvas.Left="127"  Canvas.Top="191" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >            <local:Pipe2.RenderTransform>                <TransformGroup>                    <ScaleTransform/>                    <SkewTransform/>                    <RotateTransform Angle="270"/>                    <TranslateTransform/>                </TransformGroup>            </local:Pipe2.RenderTransform>        </ctrls:Pipe2>        <ctrls:Pipe2   Canvas.Left="784"  Canvas.Top="200" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >            <local:Pipe2.RenderTransform>                <TransformGroup>                    <ScaleTransform/>                    <SkewTransform/>                    <RotateTransform Angle="0"/>                    <TranslateTransform/>                </TransformGroup>            </local:Pipe2.RenderTransform>        </ctrls:Pipe2>        <ctrls:Pipe2   Canvas.Left="855"  Canvas.Top="319" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >            <local:Pipe2.RenderTransform>                <TransformGroup>                    <ScaleTransform/>                    <SkewTransform/>                    <RotateTransform Angle="0"/>                    <TranslateTransform/>                </TransformGroup>            </local:Pipe2.RenderTransform>        </ctrls:Pipe2>    </Canvas></UserControl>
 |