<UserControl x:Class="HistoryView.Controls.Configs.ChannelComparision"
             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" 
             xmlns:local="clr-namespace:HistoryView.Controls.Configs"
             mc:Ignorable="d" 
             x:Name="This"
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="0"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Border  x:Name="Index" Grid.Column="0">
            <TextBlock Text="{Binding ElementName=This, Path=Source.Index}" VerticalAlignment="Center"  HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="SetPoint" Grid.Column="2">
            <TextBlock Text="{Binding ElementName=This, Path=Source.SetPoint}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="CapsWarning" Grid.Column="4">
            <TextBlock Text="{Binding ElementName=This, Path=Source.CapsWarning}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="FloorWarning" Grid.Column="6">
            <TextBlock Text="{Binding ElementName=This, Path=Source.FloorWarning}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="UpperLimit" Grid.Column="8">
            <TextBlock Text="{Binding ElementName=This, Path=Source.Caps}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="LowerLimit" Grid.Column="10">
            <TextBlock Text="{Binding ElementName=This, Path=Source.Floor}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="Running_P" Grid.Column="12">
            <TextBlock Text="{Binding ElementName=This, Path=Source.Running_P}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="Running_I" Grid.Column="14">
            <TextBlock Text="{Binding ElementName=This, Path=Source.Running_I}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="Running_D" Grid.Column="16">
            <TextBlock Text="{Binding ElementName=This, Path=Source.Running_D}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="SetpointUpRate" Grid.Column="18">
            <TextBlock Text="{Binding ElementName=This, Path=Source.SetpointUpRate}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="SetpointDownRate" Grid.Column="20">
            <TextBlock Text="{Binding ElementName=This, Path=Source.SetpointDownRate}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
        <Border  x:Name="ChannelMode" Grid.Column="22">
            <TextBlock Text="{Binding ElementName=This, Path=Source.ChannelMode}" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Border>
    </Grid>
</UserControl>
