<UserControl x:Class="VIZ.Framework.WpfTest.TallyTest"
             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:fcommon="clr-namespace:VIZ.Framework.Common;assembly=VIZ.Framework.Common"
             xmlns:local="clr-namespace:VIZ.Framework.WpfTest"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid Background="#ff252b3d">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="100"></RowDefinition>
        </Grid.RowDefinitions>
        <fcommon:GPIOPinTestControl x:Name="tally" Margin="40" Width="700" Height="140"></fcommon:GPIOPinTestControl>

        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
            <Button Grid.Row="1" Width="120" Height="40" Content="开启GPIO" Click="Button_Click_Open" Margin="10"></Button>
            <Button Grid.Row="1" Width="120" Height="40" Content="关闭GPIO" Click="Button_Click_Close" Margin="10"></Button>
        </StackPanel>
    </Grid>
</UserControl>
