|
@@ -29,6 +29,9 @@
|
|
|
<converters:BoolToColor x:Key="boolToColor"/>
|
|
|
<converters:BoolToColor2 x:Key="boolToColor2"/>
|
|
|
<converters:BoolToBool x:Key="BoolToBool"/>
|
|
|
+ <converters:IntToBoolConverter x:Key="converters:IntToBoolConverter"/>
|
|
|
+ <converters:IntToBoolConverter2 x:Key="converters:IntToBoolConverter2"/>
|
|
|
+
|
|
|
</UserControl.Resources>
|
|
|
<Canvas >
|
|
|
|
|
@@ -208,19 +211,19 @@
|
|
|
<ctrls:Pipe2 Canvas.Left="1144" Canvas.Top="120" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
|
|
|
|
|
|
- <Ellipse Width="20" Height="20" Fill="{Binding SRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="500" Canvas.Top="300"/>
|
|
|
- <Button Height="20" Content="SRFM Man/Aut" Canvas.Left="530" Canvas.Top="300" Command="{Binding SetSRfCommand}" Background="Gray"/>
|
|
|
+ <!--<Ellipse Width="20" Height="20" Fill="{Binding SRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="500" Canvas.Top="300"/>
|
|
|
+ <Button Height="20" Content="SRFM Man/Aut" Canvas.Left="530" Canvas.Top="300" Command="{Binding SetSRfCommand}" Background="Gray"/>-->
|
|
|
|
|
|
- <Ellipse Width="20" Height="20" Fill="{Binding SRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="500" Canvas.Top="325"/>
|
|
|
- <Button Height="20" Width="100" Content="SRF ON/OFF" Canvas.Left="530" Canvas.Top="325" Command="{Binding SetSRfCommand}" Background="Gray"/>
|
|
|
+ <Ellipse Width="20" Height="20" Fill="{Binding SRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="500" Canvas.Top="305"/>
|
|
|
+ <Button Height="20" Width="100" Content="SRF ON/OFF" Canvas.Left="530" Canvas.Top="305" Command="{Binding SetSRfCommand}" Background="Gray"/>
|
|
|
|
|
|
- <Ellipse Width="20" Height="20" Fill="{Binding BRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="650" Canvas.Top="300"/>
|
|
|
- <Button Height="20" Width="100" Content="SRFM Man/Aut" Canvas.Left="680" Canvas.Top="300" Command="{Binding SetBRfCommand}" Background="Gray"/>
|
|
|
+ <!--<Ellipse Width="20" Height="20" Fill="{Binding BRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="650" Canvas.Top="300"/>
|
|
|
+ <Button Height="20" Width="100" Content="SRFM Man/Aut" Canvas.Left="680" Canvas.Top="300" Command="{Binding SetBRfCommand}" Background="Gray"/>-->
|
|
|
|
|
|
- <Ellipse Width="20" Height="20" Fill="{Binding BRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="650" Canvas.Top="325"/>
|
|
|
- <Button Height="20" Width="100" Content="BRF ON/OFF" Canvas.Left="680" Canvas.Top="325" Command="{Binding SetBRfCommand}" Background="Gray"/>
|
|
|
+ <Ellipse Width="20" Height="20" Fill="{Binding BRFIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="650" Canvas.Top="305"/>
|
|
|
+ <Button Height="20" Width="100" Content="BRF ON/OFF" Canvas.Left="680" Canvas.Top="305" Command="{Binding SetBRfCommand}" Background="Gray"/>
|
|
|
<!--<Ellipse Width="20" Height="20" Fill="{Binding GasIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="500" Canvas.Top="590"/>-->
|
|
|
- <Button Width="100" Content="Gas SetPoint" Canvas.Left="400" Canvas.Top="650" Background="Gray" Command="{Binding GasSetPointCommand}"/>
|
|
|
+ <Button Width="100" Content="Gas SetPoint" Canvas.Left="390" Canvas.Top="650" Background="Gray" Command="{Binding GasSetPointCommand}"/>
|
|
|
<Button Height="20" Content="HV SetPoint" Canvas.Left="1290" Canvas.Top="316" Command="{Binding HVSetCommand}" Background="Gray"/>
|
|
|
<Ellipse Width="20" Height="20" Fill="{Binding HVIsOn,Converter={StaticResource boolToColor}}" Canvas.Left="1380" Canvas.Top="316"/>
|
|
|
<Button Height="20" Width="100" Content="HV ON/OFF" Canvas.Left="1410" Canvas.Top="316" Command="{Binding HVCommand}" CommandParameter="True" Background="Gray"/>
|
|
@@ -617,7 +620,7 @@
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
- <Grid Width="300" Height="290" Canvas.Left="500" Canvas.Top="352" Background="#E8E8E8" unity:GridOptions.ShowBorder="True">
|
|
|
+ <Grid Width="300" Height="290" Canvas.Left="500" Canvas.Top="332" Background="#E8E8E8" unity:GridOptions.ShowBorder="True">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition/>
|
|
|
<RowDefinition/>
|
|
@@ -637,7 +640,12 @@
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <TextBlock Text="SRF" Grid.ColumnSpan="3" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
+ <TextBlock Text="SRF Match Mode" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
+ <StackPanel Grid.Column="1" Grid.ColumnSpan="2" Orientation="Horizontal">
|
|
|
+ <RadioButton Content="Manual" VerticalContentAlignment="Center" Command="{Binding SetMatchModeCommand}" CommandParameter="SRFManual" IsChecked="{Binding RtDataValues[PMA.Match.WorkMode],Converter={StaticResource converters:IntToBoolConverter},Mode=OneWay}"/>
|
|
|
+ <RadioButton Content="Auto" VerticalContentAlignment="Center" Command="{Binding SetMatchModeCommand}" CommandParameter="SRFAuto" Margin="10,0,0,0" IsChecked="{Binding RtDataValues[PMA.Match.WorkMode],Converter={StaticResource converters:IntToBoolConverter2},Mode=OneWay}"/>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
|
|
|
<TextBlock Grid.Row="1" Text="SRF Fwd Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
|
|
|
<TextBlock Grid.Row="2" Text="SRF Ref Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
|
|
@@ -646,17 +654,20 @@
|
|
|
|
|
|
<TextBox Grid.Row="1" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding SRFFwdPowerSetpoint}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
|
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.SRfReflectPower],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center" Grid.ColumnSpan="2"/>
|
|
|
- <TextBox Grid.Row="3" Grid.Column="1" Width="Auto" Height="Auto" Text="0.0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
|
|
|
- <TextBox Grid.Row="4" Grid.Column="1" Width="Auto" Height="Auto" Text="0.0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
|
|
|
+ <TextBox Grid.Row="3" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding SRFMatchC1}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
|
|
|
+ <TextBox Grid.Row="4" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding SRFMatchC2}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
|
|
|
|
|
|
<TextBlock Grid.Row="1" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.SRfForwardPowerFeedBack],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
<!--<TextBlock Grid.Row="2" Grid.Column="2" Width="Auto" Height="Auto" Text="0.0" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>-->
|
|
|
- <TextBlock Grid.Row="3" Grid.Column="2" Width="Auto" Height="Auto" Text="0.0" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
- <TextBlock Grid.Row="4" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.BRfForwardPowerFeedBack],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
-
|
|
|
- <TextBlock Text="BRF" Grid.Row="5" Grid.ColumnSpan="3" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
-
|
|
|
+ <TextBlock Grid.Row="3" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.Match.C1],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
+ <TextBlock Grid.Row="4" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.Match.C2],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
|
|
|
+ <TextBlock Text="BRF Match Mode" Grid.Row="5" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
+ <StackPanel Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" Orientation="Horizontal">
|
|
|
+ <RadioButton Content="Manual" VerticalContentAlignment="Center" Command="{Binding SetMatchModeCommand}" CommandParameter="BRFManual" IsChecked="{Binding RtDataValues[PMA.BiasMatch.WorkMode]}"/>
|
|
|
+ <RadioButton Content="Auto" VerticalContentAlignment="Center" Command="{Binding SetMatchModeCommand}" CommandParameter="BRFAuto" Margin="10,0,0,0" IsChecked="{Binding RtDataValues[PMA.BiasMatch.WorkMode]}"/>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
<TextBlock Grid.Row="6" Text="BRF Fwd Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
|
|
|
<TextBlock Grid.Row="7" Text="BRF Ref Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
|
|
|
<TextBlock Grid.Row="8" Text="BRF Match C1(%)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
|
|
@@ -672,8 +683,8 @@
|
|
|
|
|
|
<TextBlock Grid.Row="6" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.BRfForwardPowerFeedBack],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
<TextBlock Grid.Row="7" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.BRfReflectPower],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center" Grid.ColumnSpan="2"/>
|
|
|
-
|
|
|
- <TextBlock Grid.Row="9" Grid.Column="2" Width="Auto" Height="Auto" Text="0.0" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
+ <TextBlock Grid.Row="8" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.BiasMatch.C1],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
+ <TextBlock Grid.Row="9" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding RtDataValues[PMA.BiasMatch.C2],StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
<TextBlock Grid.Row="10" Grid.Column="2" Width="Auto" Height="Auto" Text="0.0" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
|
|
|
|
|
|
</Grid>
|