|
@@ -13,6 +13,7 @@
|
|
|
<converters:BoolToVisibility2 x:Key="boolToVisibility2"></converters:BoolToVisibility2>
|
|
|
<converters:BoolToVisibility x:Key="boolToVisibility"></converters:BoolToVisibility>
|
|
|
<converters:BoolToOrientation x:Key="boolToOrientation"></converters:BoolToOrientation>
|
|
|
+ <converters:MutiBoolToBool x:Key="mutiBoolToBool"/>
|
|
|
<Style x:Key="DisableContextMenuStyle" TargetType="userControls:Pump1">
|
|
|
<Setter Property="IsEnabled" Value="False"/>
|
|
|
</Style>
|
|
@@ -162,19 +163,89 @@
|
|
|
<Image Source="pack://application:,,,/PunkHPX8_Themes;component/Themes/Images/parts/VpwShelf.png" Height="186" Width="292" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="276" Canvas.Top="398"/>
|
|
|
|
|
|
<userControls:FlowPipe Height="6" Width="180" IsFlowing="{Binding IsBoosterPumpOpen,ElementName=self}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="71" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
- <userControls:FlowPipe Height="6" Width="360" IsFlowing="{Binding RinseCommonData.FillValve}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="261" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
- <userControls:FlowPipe Height="6" Width="400" IsFlowing="{Binding RinseCommonData.FillValve}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="330" Canvas.Top="241" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
- <userControls:FlowPipe Height="6" Width="100" IsFlowing="{Binding RinseCommonData.FillValve}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="630" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
- <userControls:FlowPipe IsFlowing="{Binding RinseCommonData.DrainValve}" Height="8" Width="124" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="418" Canvas.Top="95"/>
|
|
|
- <userControls:FlowPipe IsFlowing="{Binding RinseCommonData.DrainValve}" Height="8" Width="150" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="730" Canvas.Top="95"/>
|
|
|
- <userControls:FlowPipe IsFlowing="{Binding RinseCommonData.DrainValve}" Height="8" Width="80" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="530" Canvas.Top="241"/>
|
|
|
- <userControls:FlowPipe IsFlowing="{Binding RinseCommonData.DrainValve}" Height="8" Width="80" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="338" Canvas.Top="241"/>
|
|
|
+ <userControls:FlowPipe Height="6" Width="360" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="261" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" >
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsBoosterPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DIWProcessValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="6" Width="400" IsReverse="True" Panel.ZIndex="-1" Canvas.Left="330" Canvas.Top="241" HorizontalAlignment="Center" VerticalAlignment="Top" >
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsBoosterPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DIWDegasValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="6" Width="100" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="630" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" >
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsBoosterPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DIWDegasValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="8" Width="124" IsReverse="True" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="418" Canvas.Top="95">
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsDegasPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DegasAdjustValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="8" Width="150" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="730" Canvas.Top="95">
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsBoosterPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DIWDegasValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="8" Width="80" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="530" Canvas.Top="241">
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsBoosterPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DIWDegasValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="8" Width="80" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="338" Canvas.Top="241">
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsBoosterPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DIWDegasValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
<userControls:FlowPipe IsReverse="True" IsFlowing="{Binding IsVacuumPumpOpen,Mode=TwoWay,ElementName=self}" Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="437" Canvas.Top="617"/>
|
|
|
- <userControls:FlowPipe IsFlowing="{Binding ElementName=self,Path=VPW1VACValve}" Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="304" Canvas.Top="569"/>
|
|
|
- <userControls:FlowPipe IsFlowing="{Binding ElementName=self,Path=VPW2VACValve}" Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="564" Canvas.Top="569"/>
|
|
|
+ <userControls:FlowPipe Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="304" Canvas.Top="569">
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsVacuumPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="VPW1VACValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="564" Canvas.Top="569">
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsVacuumPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="VPW2VACValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
<userControls:FlowPipe Height="6" Width="160" IsFlowing="{Binding IsDegasPumpOpen,ElementName=self}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="100" Canvas.Top="213" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
- <userControls:FlowPipe Height="6" Width="160" IsFlowing="{Binding RinseCommonData.FillValve}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="255" Canvas.Top="213" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
- <userControls:FlowPipe Height="6" Width="135" IsFlowing="{Binding IsVacuumPumpOpen,ElementName=self}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="296" Canvas.Top="612" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
+ <userControls:FlowPipe Height="6" Width="160" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="255" Canvas.Top="213" HorizontalAlignment="Center" VerticalAlignment="Top" >
|
|
|
+ <userControls:FlowPipe.IsFlowing>
|
|
|
+ <MultiBinding Converter="{StaticResource mutiBoolToBool}">
|
|
|
+ <Binding ElementName="self" Path="IsDegasPumpOpen" />
|
|
|
+ <Binding ElementName="self" Path="DegasAdjustValve"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </userControls:FlowPipe.IsFlowing>
|
|
|
+ </userControls:FlowPipe>
|
|
|
+ <userControls:FlowPipe Height="6" Width="135" IsFlowing="{Binding IsVacuumPumpOpen,ElementName=self}" IsReverse="True" Panel.ZIndex="-1" Canvas.Left="296" Canvas.Top="612" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
<userControls:FlowPipe Height="6" Width="135" IsFlowing="{Binding IsVacuumPumpOpen,ElementName=self}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="430" Canvas.Top="612" HorizontalAlignment="Center" VerticalAlignment="Top" />
|
|
|
|
|
|
<Canvas Width="40" Height="20" Canvas.Left="710" Canvas.Top="55" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" >
|