|
|
|
@ -13,17 +13,16 @@
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Border Grid.Row="0" BorderBrush="#EBF4FD" BorderThickness="2" CornerRadius="10" Background="#EBF4FD" Margin="10,10">
|
|
|
|
|
<StackPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="日志类型" FontSize="18" Foreground="#31446E" Margin="10,3"/>
|
|
|
|
|
<!--<TextBox Text="{Binding RfidCode}" FontSize="24" Grid.Row="1" Width="180" Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Center" Padding="5">
|
|
|
|
|
<TextBox.Template>
|
|
|
|
|
<ControlTemplate TargetType="TextBox">
|
|
|
|
|
<Border Background="White" BorderBrush="White" BorderThickness="1" CornerRadius="5">
|
|
|
|
|
<ScrollViewer x:Name="PART_ContentHost" />
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</TextBox.Template>
|
|
|
|
|
</TextBox>-->
|
|
|
|
|
<ComboBox SelectedItem="{Binding LogType}" FontSize="16" Grid.Row="1" Width="180" Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Center" Padding="5">
|
|
|
|
|
<ComboBoxItem>包裹数据</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>设备监控</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>系统数据</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem IsSelected="True">所有</ComboBoxItem>
|
|
|
|
|
</ComboBox>
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="日志级别" FontSize="18" Foreground="#31446E" Margin="10,3"/>
|
|
|
|
|
<ComboBox SelectedItem="{Binding LogLevel}" FontSize="16" Grid.Row="1" Width="180" Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Center" Padding="5">
|
|
|
|
|
<ComboBoxItem>Info</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>Warn</ComboBoxItem>
|
|
|
|
@ -51,6 +50,7 @@
|
|
|
|
|
<!--resourceStyle 399行修改选中字体颜色-->
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding Id}" Header="序号" Width="1*" IsReadOnly="True"/>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding LogType}" Header="日志类型" Width="1*" IsReadOnly="True"/>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding LogLevel}" Header="日志级别" Width="1*" IsReadOnly="True"/>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding Content}" Header="日志内容" Width="3*" IsReadOnly="True">
|
|
|
|
|
<DataGridTextColumn.ElementStyle>
|
|
|
|
|