83 lines
4.6 KiB
XML
83 lines
4.6 KiB
XML
<UserControl x:Class="VisionCommonUI.CameraLightSettingView"
|
|
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:VisionCommonUI"
|
|
xmlns:view="clr-namespace:Aurora.View;assembly=Aurora"
|
|
mc:Ignorable="d"
|
|
IsVisibleChanged="UserControl_IsVisibleChanged">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Grid.Row="0">
|
|
<StackPanel Orientation="Horizontal" Margin="10"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<TextBlock x:Name="tbLightSettingHeader"
|
|
Style="{StaticResource styleTextBlockTitle}"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<Grid Grid.Row="1">
|
|
<StackPanel Orientation="Horizontal" Margin="10,15,18,5"
|
|
HorizontalAlignment="Right" VerticalAlignment="Center">
|
|
<StackPanel Orientation="Vertical" Margin="2">
|
|
<Button Style="{StaticResource styleBtnNormalCamTool}"
|
|
Click="OnAllLightOnButtonClicked">
|
|
<Image Margin="0,0,0,2" Style="{StaticResource styleImgCamTool}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/icon_light_on.png"/>
|
|
</Button>
|
|
<TextBlock Margin="0,5,0,0" FontSize="11" FontWeight="Bold"
|
|
Style="{StaticResource styleTextBlockTitle}">
|
|
<Run Text="{Binding [All], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
<Run Text="{Binding [On], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Vertical" Margin="2">
|
|
<Button Style="{StaticResource styleBtnNormalCamTool}"
|
|
Click="OnAllLightOffButtonClicked">
|
|
<Image Margin="0,0,0,2" Style="{StaticResource styleImgCamTool}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/icon_light_off.png"/>
|
|
</Button>
|
|
<TextBlock Margin="0,5,0,0" FontSize="11" FontWeight="Bold"
|
|
Style="{StaticResource styleTextBlockTitle}">
|
|
<Run Text="{Binding [All], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
<Run Text="{Binding [Off], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Vertical" Margin="2">
|
|
<Button Style="{StaticResource styleBtnNormalCamTool}"
|
|
Click="OnReloadButtonClicked">
|
|
<Image Style="{StaticResource styleImgCamTool}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/icon_refresh.png"/>
|
|
</Button>
|
|
<TextBlock Margin="0,5,0,0" FontSize="11" FontWeight="Bold"
|
|
Style="{StaticResource styleTextBlockTitle}">
|
|
<Run Text="{Binding [Reload], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Vertical" Margin="2">
|
|
<Button Style="{StaticResource styleBtnNormalCamTool}"
|
|
Click="OnSaveButtonClicked">
|
|
<Image Style="{StaticResource styleImgCamTool}"
|
|
Source="pack://application:,,,/VisionCommonUI;component/Icons/icon_save.png"/>
|
|
</Button>
|
|
<TextBlock Margin="0,5,0,0" FontSize="11" FontWeight="Bold"
|
|
Style="{StaticResource styleTextBlockTitle}">
|
|
<Run Text="{Binding [Save], Source={StaticResource langTokens}, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<Grid Grid.Row="2" HorizontalAlignment="Center">
|
|
<StackPanel Orientation="Vertical" Margin="15,10,15,15"
|
|
x:Name="stackPanelLightSettingView"/>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|