<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="QFDT_Components.ScenarioEditingV2" 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" AllowDrop="False" xmlns:qfdt_components="clr-namespace:QFDT_Components;assembly=QFDT_Components">
  <Grid ClipToBounds="True" Height="370" Width="600">
    <Button Name="bnSave" Content="Save to .pcf" Height="23" HorizontalAlignment="Left" Margin="488,331,0,0" VerticalAlignment="Top" Width="75" IsEnabled="False" Click="bnSave_Click" />
    <TabControl Name="TabController" Height="319" HorizontalAlignment="Left" Margin="105,10,0,0" VerticalAlignment="Top" Width="495" BorderThickness="0" Background="#FFFFFFFF">
      <TabItem Name="TxTab" Header="Tx" BorderBrush="#FFFFFFFF" Background="#FFFFFFFF">
        <Grid Visibility="Visible" Background="#FFFFFFFF" ShowGridLines="False" AllowDrop="False" Width="490">
          <Button Name="bnTxClone" Content="Clone" Height="23" HorizontalAlignment="Left" Margin="380,266,0,0" VerticalAlignment="Top" Width="75" Click="bnClone_Click" />
          <DataGrid Name="TxScnearioGrid" AlternatingRowBackground="#3D000000" AlternationCount="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="True" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserResizeRows="False" CanUserSortColumns="False" SelectionMode="Single" Margin="6,27,6,49" ItemsSource="{Binding}">
            <DataGrid.Columns>
              <DataGridTextColumn CanUserSort="False" Header="Description" Binding="{Binding description}" />
              <DataGridTextColumn CanUserSort="False" Header="Mode ID" IsReadOnly="True" Binding="{Binding modeID}" />
              <DataGridTextColumn CanUserSort="False" Header="RF Mode" IsReadOnly="True" Binding="{Binding RFmode_ID}" />
              <DataGridTextColumn CanUserSort="False" Header="Ref Chan" Binding="{Binding Ref_Chan}" />
              <DataGridTextColumn CanUserSort="False" Header="PA State" Binding="{Binding PA_State}" />
              <DataGridTextColumn CanUserSort="False" Header="RGI" Binding="{Binding RGI}" />
              <DataGridTextColumn CanUserSort="False" Header="Bias" Binding="{Binding Bias}" />
              <DataGridTextColumn Header="UpperLim" CanUserSort="False" Binding="{Binding UpperLim}" />
              <DataGridTextColumn Header="LowerLim" CanUserSort="False" Binding="{Binding LowerLim}" />
            </DataGrid.Columns>
          </DataGrid>
        </Grid>
      </TabItem>
      <TabItem Name="PrimaryRxTab" Header="Primary Rx" Background="#FFFFFFFF" BorderBrush="#FFFFFFFF">
        <Grid Background="#FFFFFFFF" Width="490">
          <Button Name="bnPRxClone" Content="Clone" Height="23" HorizontalAlignment="Left" Margin="380,266,0,0" VerticalAlignment="Top" Width="75" Click="bnClone_Click" />
          <DataGrid Name="PRxScnearioGrid" AlternatingRowBackground="#3D000000" AlternationCount="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="True" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserResizeRows="False" CanUserSortColumns="False" SelectionMode="Single" Margin="6,27,6,49" ItemsSource="{Binding}">
            <DataGrid.Columns>
              <DataGridTextColumn CanUserSort="False" Header="Description" Binding="{Binding description}" />
              <DataGridTextColumn CanUserSort="False" Header="Mode ID" IsReadOnly="True" Binding="{Binding modeID}" />
              <DataGridTextColumn CanUserSort="False" Header="RF Mode" IsReadOnly="True" Binding="{Binding RFmode_ID}" />
              <DataGridTextColumn CanUserSort="False" Header="Ref Chan" Binding="{Binding Ref_Chan}" />
              <DataGridTextColumn CanUserSort="False" Header="Device" Binding="{Binding Device}" />
              <DataGridTextColumn CanUserSort="False" Header="DL Power" Binding="{Binding DLPower}" />
              <DataGridTextColumn Header="UpperLim" CanUserSort="False" Binding="{Binding UpperLim}" />
              <DataGridTextColumn Header="LowerLim" CanUserSort="False" Binding="{Binding LowerLim}" />
            </DataGrid.Columns>
          </DataGrid>
        </Grid>
      </TabItem>
      <TabItem Name="DiversityRxTab" Header="Diversity Rx" Background="#FFFFFFFF" BorderBrush="#FFFFFFFF">
        <Grid Background="#FFFFFFFF" Width="490">
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="431*" />
            <ColumnDefinition Width="17*" />
          </Grid.ColumnDefinitions>
          <Button Name="bnDRxClone" Content="Clone" Height="23" HorizontalAlignment="Left" Margin="380,266,0,0" VerticalAlignment="Top" Width="75" Grid.ColumnSpan="2" Click="bnClone_Click" />
          <DataGrid Name="DRxScnearioGrid" AlternatingRowBackground="#3D000000" AlternationCount="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="True" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserResizeRows="False" CanUserSortColumns="False" SelectionMode="Single" Margin="6,27,6,49" Grid.ColumnSpan="2" ItemsSource="{Binding}" SelectionChanged="DRxScnearioGrid_SelectionChanged">
            <DataGrid.Columns>
              <DataGridTextColumn CanUserSort="False" Header="Description" Binding="{Binding description}" />
              <DataGridTextColumn CanUserSort="False" Header="Mode ID" IsReadOnly="True" Binding="{Binding modeID}" />
              <DataGridTextColumn CanUserSort="False" Header="RF Mode" IsReadOnly="True" Binding="{Binding RFmode_ID}" />
              <DataGridTextColumn CanUserSort="False" Header="Ref Chan" Binding="{Binding Ref_Chan}" />
              <DataGridTextColumn CanUserSort="False" Header="Device" Binding="{Binding Device}" />
              <DataGridTextColumn CanUserSort="False" Header="DL Power" Binding="{Binding DLPower}" />
              <DataGridTextColumn Header="UpperLim" CanUserSort="False" Binding="{Binding UpperLim}" />
              <DataGridTextColumn Header="LowerLim" CanUserSort="False" Binding="{Binding LowerLim}" />
            </DataGrid.Columns>
          </DataGrid>
        </Grid>
      </TabItem>
    </TabControl>
    <Button Name="button2" Content="Tx" Height="33" HorizontalAlignment="Left" Margin="9,43,0,0" VerticalAlignment="Top" Width="90" Click="Tx_Click" />
    <Button Name="button3" Content="Primary Rx" HorizontalAlignment="Left" Margin="9,0,0,244" Width="90" Height="33" VerticalAlignment="Bottom" Click="PrimaryRx_Click" />
    <Button Name="button4" Content="Diversity Rx" Height="33" HorizontalAlignment="Left" Margin="10,0,0,194" VerticalAlignment="Bottom" Width="90" Click="DiversityRx_Click" />
  </Grid>
</UserControl>