<Window x:Class="WpfApplication_ModbusMapper_Client.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <StackPanel Orientation="Vertical">
            <TextBlock Name="textblock_connect" Margin="5" >
                <Run Text="连接:"/>
                <Run Text="{Binding IsConnected,Mode=OneWay}"/>
            </TextBlock>
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Margin="5" Text="A=" />
                <TextBox Text="{Binding A}"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Margin="5" Text="B=" />
                <TextBox Text="{Binding B}"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Margin="5" Text="C=" />
                <TextBox Text="{Binding C}"/>
            </StackPanel>
        </StackPanel>
       </Grid>
</Window>
