60 lines
3.7 KiB
XML
60 lines
3.7 KiB
XML
<UserControl x:Class="VisionUI.Setup.CalLogView"
|
|
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:VisionUI.Setup"
|
|
xmlns:view="clr-namespace:Aurora.View;assembly=Aurora"
|
|
IsVisibleChanged="UserControl_IsVisibleChanged"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<view:SharedResourceDictionary Source="pack://application:,,,/VisionCommonUI;component/Styles/VisionResources.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<DatePicker Grid.Row="0" Name="CalendarDatePicker" HorizontalAlignment="Right"
|
|
Height="30"
|
|
TextElement.FontSize="12"
|
|
TextElement.FontWeight="Bold"
|
|
BorderBrush="Transparent"
|
|
VerticalAlignment="Center"
|
|
VerticalContentAlignment="Center"
|
|
ToolTip="Select a date that you want to load."
|
|
CalendarStyle="{StaticResource styleCalendar}"
|
|
SelectedDate="{Binding Path=SelectedDate, Mode=TwoWay}"/>
|
|
<Grid Grid.Row="1">
|
|
<DataGrid ItemsSource="{Binding PlanListItems}"
|
|
IsReadOnly="True"
|
|
AutoGenerateColumns="False"
|
|
CanUserAddRows="False"
|
|
CanUserDeleteRows="False"
|
|
FontSize="14" >
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Header="FovID" Binding="{Binding FovId}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="ID" Binding="{Binding Step}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="Purpose" Binding="{Binding Purpose}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="Target" Binding="{Binding Target}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="Action" Binding="{Binding Action}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="X" Binding="{Binding X}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="Y" Binding="{Binding Y}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="T" Binding="{Binding T}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="ImageX" Binding="{Binding ImagePosX}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="ImageY" Binding="{Binding ImagePosY}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="StaticX" Binding="{Binding StaticPosX}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="StaticY" Binding="{Binding StaticPosY}" CellStyle="{StaticResource CellCenter}"/>
|
|
<DataGridTextColumn Header="PatternT" Binding="{Binding ResultT}" CellStyle="{StaticResource CellCenter}"/>
|
|
<!--<DataGridTextColumn Header="Result" Binding="{Binding Result}" CellStyle="{StaticResource CellCenter}"/>-->
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|