82 lines
4.8 KiB
XML
82 lines
4.8 KiB
XML
<UserControl x:Class="MilUI.VisionImageTestView"
|
|
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:aurora="clr-namespace:Aurora.View;assembly=Aurora"
|
|
mc:Ignorable="d"
|
|
Loaded="UserControl_Loaded"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
<UserControl.Resources>
|
|
<Style TargetType="{x:Type GroupBox}" BasedOn="{StaticResource AVDefaultGB}"/>
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid Grid.Column="0" x:Name="gridCameraView" Margin="10"/>
|
|
|
|
<Grid Grid.Column="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="60"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Grid.Row="0" x:Name="gridVisionImageTestSettingView" Margin="5"/>
|
|
|
|
<Grid Grid.Row="1" Margin="5">
|
|
<StackPanel Margin="15, 0" Orientation="Horizontal" HorizontalAlignment="Right">
|
|
<Button Style="{StaticResource styleBtnPatternSetting}"
|
|
Command="{Binding CMD_GetFolder}">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Image Style="{StaticResource stylePatternButtonImage}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/ColorIcons/img_upload.png"/>
|
|
<TextBlock Style="{StaticResource stylePatternButtonTextBlock}">
|
|
<Run Text="{Binding [Folder], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Button>
|
|
<Button Style="{StaticResource styleBtnPatternSetting}"
|
|
Command="{Binding CMD_GetImages}">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Image Style="{StaticResource stylePatternButtonImage}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/ColorIcons/img_upload.png"/>
|
|
<TextBlock Style="{StaticResource stylePatternButtonTextBlock}">
|
|
<Run Text="{Binding [Files], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Button>
|
|
<Button Style="{StaticResource styleBtnPatternSetting}"
|
|
Command="{Binding CMD_Clear}">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Image Style="{StaticResource stylePatternButtonImage}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/ColorIcons/img_eraser.png"/>
|
|
<TextBlock Style="{StaticResource stylePatternButtonTextBlock}">
|
|
<Run Text="{Binding [Clear], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Button>
|
|
|
|
<Button Style="{StaticResource styleBtnPatternSetting}"
|
|
Command="{Binding CMD_Start}">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<Image Style="{StaticResource stylePatternButtonImage}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/ColorIcons/img_ok.png"/>
|
|
<TextBlock Style="{StaticResource stylePatternButtonTextBlock}">
|
|
<Run Text="{Binding [Start], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Button>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<Grid Grid.Row="2" x:Name="gridVisionImageTestLogView" Margin="5" />
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|