<UserControl x:Class="XHandler.View.Liquids.DispenseParam"
|
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:XHandler.View.Liquids"
|
xmlns:str="clr-namespace:XHandler.Properties"
|
mc:Ignorable="d"
|
d:DesignHeight="1080" d:DesignWidth="800"
|
Loaded="UserControl_Loaded">
|
<Grid Name="gdContent">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
<Image Grid.Row="0" x:Name="imgGumLiquidMark" Grid.Column="0" Grid.RowSpan="8" Width="277" Height="213" Source="pack://application:,,,./Assets/LiquidParam/aspirateparam.png"/>
|
<Image Grid.Row="11" Grid.Column="0" Grid.RowSpan="6" Width="277" Height="183" Source="pack://application:,,,./Assets/LiquidParam/gunshift.png"/>
|
<Image Grid.Row="18" Grid.Column="0" Grid.RowSpan="7" Width="277" Height="183" Source="pack://application:,,,./Assets/LiquidParam/hitwall.png"/>
|
|
|
<TextBlock Grid.Row="0" Grid.Column="1" Text="{x:Static str:Resources.strDispenseSpeed}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="1" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_speed, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_speed" Grid.Row="1" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_speed" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="0" Grid.Column="1" x:Name="dsError" Text="{Binding ElementName=tbdispense_speed,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="0" Grid.Column="2" Text="{x:Static str:Resources.strDispenseDelay}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="1" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_delay, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_delay" Grid.Row="1" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_delay" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="0" Grid.Column="2" x:Name="ddError" Text="{Binding ElementName=tbdispense_delay,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="2" Grid.Column="1" Text="{x:Static str:Resources.strAcceleration}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="3" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_acceleration, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_acceleration" Grid.Row="3" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_acceleration" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="2" Grid.Column="1" x:Name="daError" Text="{Binding ElementName=tbdispense_acceleration,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="2" Grid.Column="2" Text="{x:Static str:Resources.strDeceleration}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="3" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_deceleration, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_deceleration" Grid.Row="3" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_deceleration" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="2" Grid.Column="2" x:Name="ddnError" Text="{Binding ElementName=tbdispense_deceleration,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="4" Grid.Column="1" Text="{x:Static str:Resources.strPreDispenseAir}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="5" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding before_dispense_volume, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbbefore_dispense_volume" Grid.Row="5" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="before_dispense_volume" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="4" Grid.Column="1" x:Name="bdvError" Text="{Binding ElementName=tbbefore_dispense_volume,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="4" Grid.Column="2" Text="排前吸空气延迟 (s)" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="5" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding before_dispense_delay, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbbefore_dispense_delay" Grid.Row="5" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="before_dispense_delay" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="4" Grid.Column="2" x:Name="bddError" Text="{Binding ElementName=tbbefore_dispense_delay,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="6" Grid.Column="1" Text="排后吸空气(μl)" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
|
<!--<TextBlock Grid.Row="6" Grid.Column="1" Text="{x:Static str:Resources.strAfterDispenseAir}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>-->
|
<!--<TextBox Grid.Row="7" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding after_dispense_volume, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbafter_dispense_volume" Grid.Row="7" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="after_dispense_volume" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="6" Grid.Column="1" x:Name="aavError" Text="{Binding ElementName=tbafter_dispense_volume,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="6" Grid.Column="2" Text="排后吸空气延迟 (s)" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="7" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding after_dispense_delay, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbafter_dispense_delay" Grid.Row="7" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="after_dispense_delay" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="6" Grid.Column="2" x:Name="aadError" Text="{Binding ElementName=tbafter_dispense_delay,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="8" Grid.Column="1" Text="{x:Static str:Resources.strMoveSpeed}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16" FontWeight="Bold"/>
|
|
<TextBlock Grid.Row="9" Grid.Column="1" Text="{x:Static str:Resources.strInletHoleSpeed}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="10" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_enter_speed, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_enter_speed" Grid.Row="10" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_enter_speed" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="9" Grid.Column="1" x:Name="desError" Text="{Binding ElementName=tbdispense_enter_speed,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="9" Grid.Column="2" Text="{x:Static str:Resources.strOutletHoleSpeed}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="10" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_out_speed, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_out_speed" Grid.Row="10" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Top" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_out_speed" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="9" Grid.Column="2" x:Name="dosError" Text="{Binding ElementName=tbdispense_out_speed,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="11" Grid.Column="1" Text="{x:Static str:Resources.strDispensePosition}" VerticalAlignment="Center" Margin="20 0 0 0" FontSize="16" FontWeight="Bold"/>
|
|
<StackPanel Grid.Row="12" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0 0 0">
|
<TextBlock Text="{x:Static str:Resources.strDispenseDistance}" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
<ComboBox x:Name="cbDispensePosition" Height="30" Width="100" BorderThickness="0" Background="{DynamicResource lightGrayBrush}"
|
Margin="20 0" VerticalAlignment="Center" SelectionChanged="cbDispensePosition_SelectionChanged" IsEditable="False"/>
|
<!--<TextBox Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_well_bottom_length, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_well_bottom_length" Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_well_bottom_length" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Text="mm" VerticalAlignment="Center" FontSize="16" Margin="10 0"/>
|
<TextBlock Text="{x:Static str:Resources.strDispense}" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
</StackPanel>
|
|
<TextBlock Grid.Row="11" Grid.Column="2" x:Name="awblError" SizeChanged="awblError_SizeChanged" Text="{Binding ElementName=tbdispense_well_bottom_length,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
<TextBlock Grid.Row="11" Grid.Column="2" x:Name="awxlError" SizeChanged="awxlError_SizeChanged" Text="{Binding ElementName=tbaspirate_well_x,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
<TextBlock Grid.Row="11" Grid.Column="2" x:Name="awylError" SizeChanged="awylError_SizeChanged" Text="{Binding ElementName=tbaspirate_well_y,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<StackPanel Grid.Row="13" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0 0 0">
|
<TextBlock Text="{x:Static str:Resources.strFromCenterShiftX}" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
<!--<TextBox Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding aspirate_well_x, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbaspirate_well_x" Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_well_x" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
|
<TextBlock Text="{x:Static str:Resources.strShiftY}" VerticalAlignment="Center" FontSize="16" Margin="0"/>
|
<!--<TextBox Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding aspirate_well_y, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbaspirate_well_y" Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_well_y" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
|
<TextBlock Text="mm" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
</StackPanel>
|
|
<TextBlock Grid.Row="14" Grid.Column="1" Text="{x:Static str:Resources.strLiquidDetection}" VerticalAlignment="Center" Margin="20 0 0 0" FontSize="16" FontWeight="Bold"/>
|
|
<StackPanel Grid.Row="15" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0 0 0">
|
<TextBlock Text="{x:Static str:Resources.strSensitivity}" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
<ComboBox x:Name="cbLiquidDetectLevel" Height="30" Width="100" BorderThickness="0" Background="{DynamicResource lightGrayBrush}"
|
Margin="20 0" VerticalAlignment="Center" SelectionChanged="cbLiquidDetectLevel_SelectionChanged" IsEditable="False"/>
|
</StackPanel>
|
|
<TextBlock Grid.Row="16" Grid.Column="1" Text="{x:Static str:Resources.strBlocklDetection}" VerticalAlignment="Center" Margin="20 0 0 0" FontSize="16" FontWeight="Bold"/>
|
|
<StackPanel Grid.Row="17" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0 0 0">
|
<TextBlock Text="{x:Static str:Resources.strSensitivity}" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
<ComboBox x:Name="cbBlockDetectLevel" Height="30" Width="100" BorderThickness="0" Background="{DynamicResource lightGrayBrush}"
|
Margin="20 0" VerticalAlignment="Center" SelectionChanged="cbBlockDetectLevel_SelectionChanged" IsEditable="False"/>
|
</StackPanel>
|
|
<TextBlock Grid.Row="18" Grid.Column="1" Text="{x:Static str:Resources.strGunHittingWall}" VerticalAlignment="Center" Margin="20 0 0 0" FontSize="16" FontWeight="Bold"/>
|
|
<StackPanel Grid.Row="19" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0 0 0">
|
<TextBlock Text="{x:Static str:Resources.strGunHittingWall}" VerticalAlignment="Center" Margin="0 0 20 0" FontSize="16"/>
|
<CheckBox x:Name="checkBoxIsKnock" VerticalAlignment="Center" FontSize="16" Margin="5 0" Style="{DynamicResource SwitchCheckBoxStyle}" IsChecked="False" Click="checkBoxIsKnock_Click" Checked="checkBoxIsKnock_Checked" Unchecked="checkBoxIsKnock_Checked"/>
|
</StackPanel>
|
|
<TextBlock Grid.Row="20" Grid.Column="1" Text="{x:Static str:Resources.strHitWallDirection}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
|
<StackPanel Grid.Row="21" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0 0 0">
|
<TextBlock Text="{x:Static str:Resources.strFromCenterShiftX}" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
<TextBox x:Name="tbdispense_knock_x" Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_knock_wall_x" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
|
<TextBlock Text="{x:Static str:Resources.strShiftYKnock}" VerticalAlignment="Center" FontSize="16" Margin="0"/>
|
<TextBox x:Name="tbdispense_knock_y" Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_knock_wall_y" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Text="%" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
</StackPanel>
|
<StackPanel Grid.Row="21" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0" Visibility="Collapsed">
|
<RadioButton x:Name="radiobuttonN" Width="60" Height="30" Style="{DynamicResource gapRadioButtonSytle}" Content="{x:Static str:Resources.strNorth}"
|
FontSize="16" Background="White" Margin="0 0 0 0" HorizontalAlignment="Center"
|
VerticalContentAlignment="Center" Click="radiobuttonN_Click"/>
|
<RadioButton x:Name="radiobuttonS" Width="60" Height="30" Style="{DynamicResource gapRadioButtonSytle}" Content="{x:Static str:Resources.strSouth}"
|
FontSize="16" Background="White" Margin="-1 0 0 0" HorizontalAlignment="Center"
|
VerticalContentAlignment="Center" Click="radiobuttonS_Click"/>
|
<RadioButton x:Name="radiobuttonW" Width="60" Height="30" Style="{DynamicResource gapRadioButtonSytle}" Content="{x:Static str:Resources.strWest}"
|
FontSize="16" Background="White" Margin="-1 0 0 0" HorizontalAlignment="Center"
|
VerticalContentAlignment="Center" Click="radiobuttonW_Click"/>
|
<RadioButton x:Name="radiobuttonE" Width="60" Height="30" Style="{DynamicResource gapRadioButtonSytle}" Content="{x:Static str:Resources.strEast}"
|
FontSize="16" Background="White" Margin="-1 0 0 0" HorizontalAlignment="Center"
|
VerticalContentAlignment="Center" Click="radiobuttonE_Click"/>
|
</StackPanel>
|
|
<TextBlock Grid.Row="22" Grid.Column="1" Text="{x:Static str:Resources.strHitWallSpeed}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="23" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_knock_speed, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_knock_speed" Grid.Row="23" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_knock_speed" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-100]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="22" Grid.Column="1" x:Name="ksError" Text="{Binding ElementName=tbdispense_knock_speed,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<TextBlock Grid.Row="22" Grid.Column="2" Text="{x:Static str:Resources.strHitWallDelay}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<!--<TextBox Grid.Row="23" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" Margin="20 0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding dispense_knock_wall_delay, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbdispense_knock_wall_delay" Grid.Row="23" Grid.Column="2" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_knock_wall_delay" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="22" Grid.Column="2" x:Name="kwdError" Text="{Binding ElementName=tbdispense_knock_wall_delay,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
|
<StackPanel Grid.Row="24" Grid.Column="1" Grid.ColumnSpan="4" Orientation="Horizontal" Margin="20 0 0 0">
|
<TextBlock Text="{x:Static str:Resources.strAtDistance}" VerticalAlignment="Center" Margin="0" FontSize="16"/>
|
<ComboBox x:Name="cbKnockPosition" Height="30" Width="100" BorderThickness="0" Background="{DynamicResource lightGrayBrush}"
|
Margin="20 0" VerticalAlignment="Center" SelectionChanged="cbKnockPosition_SelectionChanged" IsEditable="False"/>
|
<!--<TextBox Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Text="{Binding knock_well_height, Mode=TwoWay}"/>-->
|
<TextBox x:Name="tbknock_well_height" Height="30" Width="100" FontSize="16" VerticalContentAlignment="Center" Margin="0" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="knock_well_height" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
|
<TextBlock Text="{x:Static str:Resources.strHitWall}" VerticalAlignment="Center" FontSize="16" Margin="10 0"/>
|
</StackPanel>
|
|
<TextBlock Grid.Row="24" Grid.Column="2" x:Name="kwhError" Text="{Binding ElementName=tbknock_well_height,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5 5 5 0"/>
|
<TextBlock Grid.Row="25" Grid.Column="1" Text="{x:Static str:Resources.strHitDistanceOfWall}" VerticalAlignment="Bottom" Margin="20 0 0 0" FontSize="16"/>
|
<TextBox x:Name="tbknock_wall_distance" Grid.Row="26" Grid.Column="1" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}" Margin="20 0"
|
BorderThickness="0" >
|
<TextBox.Text>
|
<Binding Path="dispense_knock_wall_length" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnValidationError="True" >
|
<Binding.ValidationRules>
|
<local:LiquidsValidationRule ValidateType="1,4@[2],5@[0-1000]"/>
|
</Binding.ValidationRules>
|
</Binding>
|
</TextBox.Text>
|
</TextBox>
|
<TextBlock Grid.Row="26" Grid.Column="2" x:Name="knockDisError" Text="{Binding ElementName=tbknock_wall_distance,Path=(Validation.Errors)[0].ErrorContent}" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5 5 5 0"/>
|
</Grid>
|
</UserControl>
|