generated from wenjy/SlnMesnac
change - 界面实现,修改监控首页,添加历史数据页面
parent
4010fb89e9
commit
1131d1e6a1
@ -0,0 +1,36 @@
|
||||
<UserControl x:Class="SlnMesnac.WPF.Page.History.HistoryControl"
|
||||
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:SlnMesnac.WPF.Page.History"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="1080" d:DesignWidth="1920" Background="Transparent">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="2*"/>
|
||||
<RowDefinition Height="14*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="0" BorderBrush="#EBF4FD" BorderThickness="2" CornerRadius="10" Background="#EBF4FD" Margin="10,10">
|
||||
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="1" BorderBrush="#EBF4FD" BorderThickness="2" CornerRadius="10" Background="#EBF4FD" Margin="10,10">
|
||||
<DataGrid Grid.Row="0" ItemsSource="{Binding ScanItems}" Background="Transparent"
|
||||
FontSize="16" ColumnHeaderHeight="35"
|
||||
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
||||
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False" HorizontalAlignment="Center"
|
||||
Foreground="#31446E" x:Name="dataGrid" >
|
||||
<!--resourceStyle 399行修改选中字体颜色-->
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding CreateTime ,StringFormat=\{0:yyyy-MM-dd HH:mm:ss\}}" Header="记录时间" Width="1.5*" IsReadOnly="True"/>
|
||||
<DataGridTextColumn Binding="{Binding Rfid}" Header="RFID" Width="2*" IsReadOnly="True"/>
|
||||
<DataGridTextColumn Binding="{Binding Code}" Header="ATR" Width="2*" IsReadOnly="True"/>
|
||||
<DataGridTextColumn Binding="{Binding Ocr}" Header="OCR" Width="2*" IsReadOnly="True"/>
|
||||
<DataGridTextColumn Binding="{Binding url}" Header="图像路径" Width="2*" IsReadOnly="True"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
Loading…
Reference in New Issue