|
@@ -65,7 +65,7 @@
|
|
|
</MultiBinding>
|
|
|
</userControls:FlowPipe.IsFlowing>
|
|
|
</userControls:FlowPipe>
|
|
|
- <userControls:FlowPipe Height="8" Width="825" Canvas.Left="260" Canvas.Top="50" IsFlowing="{Binding LLBVentValveIsOpen}"/>
|
|
|
+ <userControls:FlowPipe Height="8" Width="825" Canvas.Left="256" Canvas.Top="50" IsFlowing="{Binding LLBVentValveIsOpen}"/>
|
|
|
<userControls:FlowPipe Height="8" Width="394" Canvas.Left="1092" Canvas.Top="54" RotateTransformValue="90" IsFlowing="{Binding LLBVentValveIsOpen}"/>
|
|
|
<userControls:FlowPipe Height="8" Width="285" Canvas.Left="800" Canvas.Top="450" IsFlowing="{Binding LLBVentValveIsOpen}" IsReverse="True"/>
|
|
|
<userControls:FlowPipe Height="8" Width="100" Canvas.Left="657" Canvas.Top="454" RotateTransformValue="90">
|
|
@@ -91,11 +91,11 @@
|
|
|
</userControls:FlowPipe.IsFlowing>
|
|
|
|
|
|
</userControls:FlowPipe>
|
|
|
- <userControls:Pump Canvas.Left="636" Canvas.Top="664" Width="35" Height="35" IsOpen="{Binding PumpIsOpen,Mode=TwoWay}">
|
|
|
+ <userControls:Pump Canvas.Left="636" Canvas.Top="664" Width="35" Height="35" IsOpen="{Binding RtDataValues[TM.PumpIsRunning],Mode=TwoWay}">
|
|
|
<userControls:Pump.ContextMenu>
|
|
|
<ContextMenu>
|
|
|
- <MenuItem Header="ON" Command="{Binding OpenPumpCommand}" IsChecked="{Binding PumpIsOpen,Mode=OneWay}" IsEnabled="{Binding PumpIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}"/>
|
|
|
- <MenuItem Header="OFF" Command="{Binding ClosePumpCommand}" IsChecked="{Binding PumpIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding PumpIsOpen,Mode=OneWay}"/>
|
|
|
+ <MenuItem Header="ON" Command="{Binding OpenTMPumpCommand}" IsChecked="{Binding RtDataValues[TM.PumpIsRunning],Mode=OneWay}" IsEnabled="{Binding RtDataValues[TM.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}"/>
|
|
|
+ <MenuItem Header="OFF" Command="{Binding CloseTMPumpCommand}" IsChecked="{Binding RtDataValues[TM.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding RtDataValues[TM.PumpIsRunning],Mode=OneWay}"/>
|
|
|
</ContextMenu>
|
|
|
</userControls:Pump.ContextMenu>
|
|
|
</userControls:Pump>
|
|
@@ -171,11 +171,11 @@
|
|
|
</MultiBinding>
|
|
|
</userControls:FlowPipe.IsFlowing>
|
|
|
</userControls:FlowPipe>
|
|
|
- <userControls:Pump Canvas.Left="636" Canvas.Top="744" Width="35" Height="35" IsOpen="{Binding PumpIsOpen,Mode=TwoWay}">
|
|
|
+ <userControls:Pump Canvas.Left="636" Canvas.Top="744" Width="35" Height="35" IsOpen="{Binding RtDataValues[LL.PumpIsRunning],Mode=TwoWay}">
|
|
|
<userControls:Pump.ContextMenu>
|
|
|
<ContextMenu>
|
|
|
- <MenuItem Header="ON" Command="{Binding OpenPumpCommand}" IsChecked="{Binding PumpIsOpen,Mode=OneWay}" IsEnabled="{Binding PumpIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}"/>
|
|
|
- <MenuItem Header="OFF" Command="{Binding ClosePumpCommand}" IsChecked="{Binding PumpIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding PumpIsOpen,Mode=OneWay}"/>
|
|
|
+ <MenuItem Header="ON" Command="{Binding OpenLLPumpCommand}" IsChecked="{Binding RtDataValues[LL.PumpIsRunning],Mode=OneWay}" IsEnabled="{Binding RtDataValues[LL.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}"/>
|
|
|
+ <MenuItem Header="OFF" Command="{Binding CloseLLPumpCommand}" IsChecked="{Binding RtDataValues[LL.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding RtDataValues[LL.PumpIsRunning],Mode=OneWay}"/>
|
|
|
</ContextMenu>
|
|
|
</userControls:Pump.ContextMenu>
|
|
|
</userControls:Pump>
|
|
@@ -611,7 +611,57 @@
|
|
|
</Grid>
|
|
|
</StackPanel>
|
|
|
|
|
|
+ <StackPanel Canvas.Top="610" Canvas.Right="10" Width="720" Visibility="Collapsed">
|
|
|
+ <Grid>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="30"/>
|
|
|
+ <RowDefinition Height="Auto"/>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
|
|
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
|
|
|
+ <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
|
|
|
+ <Path.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <ScaleTransform/>
|
|
|
+ <SkewTransform/>
|
|
|
+ <RotateTransform Angle="45"/>
|
|
|
+ <TranslateTransform/>
|
|
|
+ </TransformGroup>
|
|
|
+ </Path.RenderTransform>
|
|
|
+ </Path>
|
|
|
+ <TextBlock Margin="5,0,0,0" Text="PM Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
+ <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" >
|
|
|
+ <Canvas Background="{DynamicResource Table_BG_Content}" Margin="1" Height="130" Width="712">
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="180" Canvas.Top="10" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMA Door Open" Canvas.Left="210" Canvas.Top="10" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="380" Canvas.Top="10" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMA Door Open" Canvas.Left="410" Canvas.Top="10" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="180" Canvas.Top="40" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMB Door Open" Canvas.Left="210" Canvas.Top="40" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="380" Canvas.Top="40" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMB Door Open" Canvas.Left="410" Canvas.Top="40" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="180" Canvas.Top="70" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMC Door Open" Canvas.Left="210" Canvas.Top="70" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="380" Canvas.Top="70" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMC Door Open" Canvas.Left="410" Canvas.Top="70" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="180" Canvas.Top="100" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMA Door Open" Canvas.Left="210" Canvas.Top="100" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+
|
|
|
+ <Ellipse Width="22" Height="22" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="380" Canvas.Top="100" Stroke="Silver" StrokeThickness="2"/>
|
|
|
+ <Button Width="120" Height="25" Content="PMA Door Open" Canvas.Left="410" Canvas.Top="100" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
|
|
|
+ </Canvas>
|
|
|
+ </Border>
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+ </StackPanel>
|
|
|
</Canvas>
|
|
|
|
|
|
</UserControl>
|