<commit_before>﻿<UserControl x:Class="Ev3Controller.UserControlView.Ev3MotorDeviceView"
             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:Ev3Controller.UserControlView"
             mc:Ignorable="d" 
             Background="White"
             d:DesignHeight="120" d:DesignWidth="100" IsEnabledChanged="UserControl_IsEnabledChanged">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Resource/TextBoxStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid x:Name="OutputCircleArea"
          IsEnabled="{Binding Path=IsConnected}">
        <!--Add "Converter to chagne size."-->
        <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <TextBox x:Name="DevicePortText"
                 Grid.Column="2" Grid.ColumnSpan="4"
                 Grid.Row="0" Grid.RowSpan="1"
                 Style="{DynamicResource ResourceKey=DeviceInfoTextBox}"
                 IsEnabled="{Binding Path=IsConnected}"
                 Panel.ZIndex="2"
                 Text="{Binding Path=PortName}" />
        <TextBox x:Name="DeviceNameText"
                 Grid.Column="2" Grid.ColumnSpan="4"
                 Grid.Row="1" Grid.RowSpan="1"
                 Style="{DynamicResource ResourceKey=DeviceInfoTextBox}"
                 IsEnabled="{Binding Path=IsConnected}"
                 Panel.ZIndex="2"
                 Text="{Binding Path=DeviceName}" />
        <TextBox x:Name="TargetOutputText"
                 Grid.Column="2" Grid.ColumnSpan="2"
                 Grid.Row="4" Grid.RowSpan="1"
                 Style="{DynamicResource ResourceKey=ValueTextBox}"
                 IsEnabled="{Binding Path=IsConnected}"
                 Panel.ZIndex="2"
                 Text="{Binding Path=TargetOutput}"/>
        <TextBox x:Name="TargetOutputUnitText"<commit_msg>Update view layout.<commit_after>﻿<UserControl x:Class="Ev3Controller.UserControlView.Ev3MotorDeviceView"
             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:Ev3Controller.UserControlView"
             mc:Ignorable="d" 
             Background="White"
             d:DesignHeight="120" d:DesignWidth="100" IsEnabledChanged="UserControl_IsEnabledChanged">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Resource/TextBoxStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid x:Name="OutputCircleArea"
          IsEnabled="{Binding Path=IsConnected}">
        <!--Add "Converter to chagne size."-->
        <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <TextBox x:Name="DevicePortText"
                 Grid.Column="0" Grid.ColumnSpan="5"
                 Grid.Row="0" Grid.RowSpan="1"
                 Style="{DynamicResource ResourceKey=DeviceInfoTextBox}"
                 IsEnabled="{Binding Path=IsConnected}"
                 Panel.ZIndex="2"
                 Text="{Binding Path=PortName}" />
        <TextBox x:Name="DeviceNameText"
                 Grid.Column="0" Grid.ColumnSpan="5"
                 Grid.Row="1" Grid.RowSpan="1"
                 Style="{DynamicResource ResourceKey=DeviceInfoTextBox}"
                 IsEnabled="{Binding Path=IsConnected}"
                 Panel.ZIndex="2"
                 Text="{Binding Path=DeviceName}" />
        <TextBox x:Name="TargetOutputText"
                 Grid.Column="2" Grid.ColumnSpan="2"
                 Grid.Row="4" Grid.RowSpan="1"
                 Style="{DynamicResource ResourceKey=ValueTextBox}"
                 IsEnabled="{Binding Path=IsConnected}"
                 Panel.ZIndex="2"
                 Text="{Binding Path=TargetOutput}"/>
        <TextBox x:Name="TargetOutputUnitText"
{'fraction_non_alphanumeric': 0.13250629270046746, 'fraction_numerical': 0.018338727076591153, 'mean_word_length': 2.1607954545454544, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6344454', 'n_tokens_mistral': 1527, 'n_tokens_neox': 1422, 'n_words': 193}