﻿<UserControl x:Class="DriveDotNetGuiClient.CANObjects.GMASCANObject"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"/>
            <ColumnDefinition/>
            <ColumnDefinition Width="130"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Row="0" Grid.Column="0" Text="G-MAS IP:" Height="25" Margin="0,2,0,0"/>
        <TextBlock Grid.Row="0" Grid.Column="2" Text="G-MAS Host IP:" Height="25" HorizontalAlignment="Stretch" Margin="20,2,0,0" />
        <TextBlock Grid.Row="1" Grid.Column="0" Text="Node Name:" Height="25" Margin="0,2,0,0"/>
        <TextBlock Grid.Row="1" Grid.Column="2" Text="Node Type:" Height="25" Margin="20,2,0,0"/>

        <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding GmasIP}" Height="25" Margin="0,2,0,0"/>
        <TextBox Grid.Row="0" Grid.Column="3" Text="{Binding GmasHostIP}" Height="25" Margin="0,2,0,0"/>
        <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding AxisName}" Height="25" Margin="0,2,0,0"/>
        <ComboBox Grid.Row="1" Grid.Column="3" ItemsSource="{Binding NodeTypes}" SelectedItem="{Binding SelectedNodeType}" Height="25" Margin="0,2,0,0"/>
    </Grid>
</UserControl>
