|
@@ -24,6 +24,17 @@
|
|
|
<converters:boolToRedColor2 x:Key="boolToRedColor2"/>
|
|
|
<converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
|
|
|
<converters:MutiBoolToBool x:Key="mutiBoolToBool"/>
|
|
|
+ <converters:BoolToErrorColor x:Key="boolToErrorColor"></converters:BoolToErrorColor>
|
|
|
+ <converters:BoolToYellowColor x:Key="boolToYellowColor"></converters:BoolToYellowColor>
|
|
|
+ <converters:BoolToYellowColor2 x:Key="boolToYellowColor2"></converters:BoolToYellowColor2>
|
|
|
+
|
|
|
+ <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"></converters:BoolToGreenRedColor>
|
|
|
+ <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"></converters:BoolToRedGreenColor>
|
|
|
+
|
|
|
+ <converters:BoolToColor4 x:Key="boolToColor4"></converters:BoolToColor4>
|
|
|
+ <converters:BoolToColor6 x:Key="boolToColor6"></converters:BoolToColor6>
|
|
|
+ <converters:BoolToColor7 x:Key="boolToColor7"></converters:BoolToColor7>
|
|
|
+ <converters:BoolToBool x:Key="boolReverse"></converters:BoolToBool>
|
|
|
</UserControl.Resources>
|
|
|
<Canvas>
|
|
|
<Grid>
|
|
@@ -44,12 +55,14 @@
|
|
|
</Grid.ColumnDefinitions>
|
|
|
<Grid Grid.Row="1" Grid.Column="0">
|
|
|
<userControls:ReservoirsInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
|
|
|
- ModuleTitle="{Binding Module}"
|
|
|
-
|
|
|
-
|
|
|
- />
|
|
|
+ ModuleTitle="{Binding Module}"
|
|
|
+ RecipeContentValue="{Binding CurrentRecipe.Ppid}"
|
|
|
+ StateValue="{Binding State}"
|
|
|
+ OperatingModeValue="{Binding ReservoirsPersistent.OperatingMode}"
|
|
|
+ RecipeModeValue="{Binding ReservoirsPersistent.RecipeOperatingMode}"
|
|
|
+ />
|
|
|
</Grid>
|
|
|
- <GroupBox Header="CA DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="2" Grid.Column="0" Width="200" Grid.RowSpan="2" Height="350" Margin="0,0,270,110">
|
|
|
+ <GroupBox Header="CA DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="2" Grid.Column="0" Width="200" Grid.RowSpan="2" Height="320" Margin="0,0,270,170">
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="35"></RowDefinition>
|
|
@@ -95,7 +108,7 @@
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</GroupBox>
|
|
|
- <GroupBox Header="AN DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="3" Grid.Column="0" Width="200" Grid.RowSpan="2" Height="350" Margin="0,0,270,90">
|
|
|
+ <GroupBox Header="AN DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="3" Grid.Column="0" Width="200" Grid.RowSpan="2" Height="320" Margin="0,0,270,170">
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="35"></RowDefinition>
|
|
@@ -142,7 +155,9 @@
|
|
|
</Grid>
|
|
|
</GroupBox>
|
|
|
<Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2" Margin="10 0 0 200">
|
|
|
- <userControls:RecipeLoad Margin="10,10,0,0" Module="{Binding Module}" HeadName="Res Recipe"
|
|
|
+ <userControls:RecipeLoad Margin="10,10,0,0"
|
|
|
+ Module="{Binding Module}"
|
|
|
+ HeadName="Res Recipe"
|
|
|
RecipeType="{Binding RecipeType}" IsEnabled="{Binding IsEnabled}"
|
|
|
SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
|
|
|
RecipeModeValue="{Binding ReservoirsPersistent.RecipeOperatingMode}" />
|
|
@@ -154,27 +169,26 @@
|
|
|
<RowDefinition Height="50"></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid Grid.Row="0">
|
|
|
- <Label Content="{Binding Module}" FontSize="35" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,13"></Label>
|
|
|
+ <Label Content="{Binding Module}" FontSize="35" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0"></Label>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="1">
|
|
|
<Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}"></Button>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="2">
|
|
|
- <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
|
|
|
+ <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Top" HorizontalAlignment="Center"></Label>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
- <Grid Grid.Row="2" Grid.Column="3">
|
|
|
- <userControls:OperatingModeControl HorizontalAlignment="Center" Margin="0,10,0,0" VerticalAlignment="Top"
|
|
|
+ <userControls:OperatingModeControl HorizontalAlignment="Center" Margin="0,0,0,100" VerticalAlignment="Center" Grid.Row="1" Grid.Column="3" Grid.RowSpan="2"
|
|
|
ModuleName="{Binding Module}"
|
|
|
OperationModeValue="{Binding ReservoirsPersistent.OperatingMode}"/>
|
|
|
- </Grid>
|
|
|
+
|
|
|
<Grid Grid.Row="2" Grid.Column="3">
|
|
|
- <Label Content="Recipe Mode" FontSize="15" FontWeight="Bold" Margin="0,0,0,40" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
|
|
|
- <userControls:RecipeModeControl HorizontalAlignment="Center" Margin="0,170,0,0" VerticalAlignment="Top" Width="190"
|
|
|
+ <Label Content="Recipe Mode" FontSize="15" FontWeight="Bold" Margin="0,0,0,90" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
|
|
|
+ <userControls:RecipeModeControl HorizontalAlignment="Center" Margin="0,140,0,0" VerticalAlignment="Top" Width="190"
|
|
|
ModuleName="{Binding Module}"
|
|
|
- RecipeModeValue="{Binding ReservoirsPersistent.RecipeMode}" />
|
|
|
+ RecipeModeValue="{Binding ReservoirsPersistent.RecipeOperatingMode}" />
|
|
|
</Grid>
|
|
|
- <GroupBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Right" Height="240" VerticalAlignment="Center" Margin="0,0,0,50">
|
|
|
+ <GroupBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Right" Height="240" VerticalAlignment="Center" Margin="0,0,50,120">
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="30"/>
|
|
@@ -199,41 +213,41 @@
|
|
|
<Label Content="Return Valve Open" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="1" Grid.Column="0" >
|
|
|
- <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding InputCAPumpSpeed,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
</Grid>
|
|
|
<Border Grid.Row="1" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
|
|
|
- <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Text="{Binding ReservoirData.CaPumpSpeed}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
</Border>
|
|
|
<Grid Grid.Row="3" Grid.Column="2">
|
|
|
- <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding DIReplenClearErrorCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding ANPumpSpeedSetCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="3" Grid.Column="0" >
|
|
|
- <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding InputANPumpSpeed}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
</Grid>
|
|
|
<Border Grid.Row="3" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
|
|
|
- <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Text="{Binding ReservoirData.AnPumpSpeed}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
</Border>
|
|
|
<Grid Grid.Row="5" Grid.Column="2">
|
|
|
- <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding DIReplenClearErrorCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding ReturnFlowOpenPercentSetCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="5" Grid.Column="0" >
|
|
|
- <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
+ <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding InputRetrunFlowOpenPercent,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
|
|
|
</Grid>
|
|
|
<Border Grid.Row="5" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
|
|
|
- <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Text="{Binding ReservoirData.ReturnValvePercent}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
</Border>
|
|
|
<Grid Grid.Row="1" Grid.Column="2">
|
|
|
- <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding DIReplenClearErrorCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
+ <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding CAPumpSpeedSetCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</GroupBox>
|
|
|
- <GroupBox Header="Status" Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="2" HorizontalAlignment="Right" Height="230" VerticalAlignment="Center" Margin="0,0,0,40">
|
|
|
+ <GroupBox Header="Status" Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="2" HorizontalAlignment="Right" Height="190" VerticalAlignment="Center" Margin="0,0,50,150">
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="50"/>
|
|
|
- <RowDefinition Height="50"/>
|
|
|
- <RowDefinition Height="50"/>
|
|
|
- <RowDefinition Height="50"/>
|
|
|
+ <RowDefinition Height="40"/>
|
|
|
+ <RowDefinition Height="40"/>
|
|
|
+ <RowDefinition Height="40"/>
|
|
|
+ <RowDefinition Height="40"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="200"></ColumnDefinition>
|
|
@@ -253,21 +267,41 @@
|
|
|
</Grid>
|
|
|
|
|
|
<Grid Grid.Row="0" Grid.Column="1">
|
|
|
- <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding CommonSafetyData.Reservoir12CAPumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver"/>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="1" Grid.Column="1">
|
|
|
- <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding CommonSafetyData.Reservoir1CALevelHigh,Converter={StaticResource boolToGreenRedColor}}" Stroke="Silver"/>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="2" Grid.Column="1">
|
|
|
- <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
|
|
|
+ <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding CommonSafetyData.PlatingCell12LeakDetected,Converter={StaticResource boolToYellowColor}}" Stroke="Silver"/>
|
|
|
</Grid>
|
|
|
<Border Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Background="Black" Width="80" Height="30" Margin="80 0 0 0">
|
|
|
- <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Text="{Binding CurrentRecipe.Metal}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
</Border>
|
|
|
</Grid>
|
|
|
</GroupBox>
|
|
|
<Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="3" Margin="200,0,0,0">
|
|
|
- <userControls:DMReservoirUIControl >
|
|
|
+ <userControls:DMReservoirUIControl
|
|
|
+ ModuleName="{Binding Module}"
|
|
|
+ ANIsolationValve="True"
|
|
|
+ CAIsolationValve="True"
|
|
|
+ ReturnFlowValve="{Binding ReservoirData.ReturnValveOpening}"
|
|
|
+ DegasValve="True"
|
|
|
+ SampleValve="{Binding ReservoirData.SampleOut}"
|
|
|
+ IsANPumpOpen="{Binding ReservoirData.AnPumpEnable}"
|
|
|
+ IsCAPumpOpen="{Binding ReservoirData.CaPumpRunning}"
|
|
|
+ IsCALevelHigh="True"
|
|
|
+ IsCALevelLow="True"
|
|
|
+ IsANLevelHigh="{Binding ReservoirData.AnTowerHigh}"
|
|
|
+ IsANLevelLow="{Binding ReservoirData.CaWaterLevel}"
|
|
|
+ ANFlow="0"
|
|
|
+ CAFlow="0"
|
|
|
+ CALevel="{Binding ReservoirData.CaLevel}"
|
|
|
+ CALevelRaw="{Binding ReservoirData.CaLevel}"
|
|
|
+ ReservoirTemperature ="{Binding TemperatureControlData.ReserviorTemperature}"
|
|
|
+ TCStatus ="{Binding TemperatureControlData.Status}"
|
|
|
+ TCEnableStatus ="{Binding TCEnableStatus}"
|
|
|
+ >
|
|
|
|
|
|
</userControls:DMReservoirUIControl>
|
|
|
</Grid>
|