|
@@ -24,7 +24,7 @@
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
<Grid>
|
|
|
- <DataGrid Name="dgStation" GridLinesVisibility="All" HorizontalGridLinesBrush="#D3D3D3" VerticalGridLinesBrush="#D3D3D3" RowHeight="60" BorderBrush="#D3D3D3"
|
|
|
+ <DataGrid Name="dgStation" GridLinesVisibility="All" HorizontalGridLinesBrush="#D3D3D3" VerticalGridLinesBrush="#D3D3D3" RowHeight="80" BorderBrush="#D3D3D3"
|
|
|
HeadersVisibility="Column" SelectionMode="Single" SelectionUnit="FullRow" HorizontalScrollBarVisibility="Auto" CanUserResizeColumns="False"
|
|
|
FrozenColumnCount="5"
|
|
|
SelectedItem="{Binding SelectedStationItem,Mode=TwoWay}"
|
|
@@ -90,32 +90,64 @@
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="*" />
|
|
|
<RowDefinition Height="*" />
|
|
|
+ <RowDefinition Height="*" />
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid Grid.Row="0">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
<ColumnDefinition Width="*" />
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
</Grid.ColumnDefinitions>
|
|
|
<TextBlock Text="{Binding Index,StringFormat='{}{0}.'}" FontSize="14px" Foreground="#000000" HorizontalAlignment="Left" VerticalAlignment="Center"/>
|
|
|
- <TextBlock Grid.Column="1" Text="{Binding StationIdName}" FontSize="14px" Foreground="#000000"
|
|
|
- Margin="0 0 10 0" HorizontalAlignment="Right" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Grid.Column="1" Text="{Binding StationIdName}" FontSize="14px" Foreground="#000000" FontWeight="Bold"
|
|
|
+ Margin="20 0 0 0" HorizontalAlignment="Left" VerticalAlignment="Center"/>
|
|
|
+ <TextBlock Grid.Column="2" FontSize="14px" Foreground="{Binding TotalRunRateColor}" Margin="0 0 10 0"
|
|
|
+ VerticalAlignment="Center" HorizontalAlignment="Right">
|
|
|
+ <TextBlock.Text>
|
|
|
+ <MultiBinding StringFormat="{}{0} / {1}">
|
|
|
+ <Binding Path="RunCount" />
|
|
|
+ <Binding Path="TotalCount"/>
|
|
|
+ </MultiBinding>
|
|
|
+ </TextBlock.Text>
|
|
|
+ </TextBlock>
|
|
|
</Grid>
|
|
|
<Grid Grid.Row="1">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="*" />
|
|
|
<ColumnDefinition Width="*" />
|
|
|
<ColumnDefinition Width="*" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <TextBlock Grid.Column="0" Text="正确" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="14px" Foreground="#28a745" />
|
|
|
+ <TextBlock Grid.Column="1" Text="错误" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="14px" Foreground="#dc3545" />
|
|
|
+ <TextBlock Grid.Column="2" Text="无效" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="14px" Foreground="#FFA500" />
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid Grid.Row="2">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
<ColumnDefinition Width="*" />
|
|
|
+ <!--<ColumnDefinition Width="*" />-->
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <TextBlock Grid.Column="0" Text="{Binding TotalCount,StringFormat='总数: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
- FontSize="13px" Foreground="#000000" />
|
|
|
- <TextBlock Grid.Column="1" Text="{Binding EqualCount,StringFormat='正确: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ <!--<TextBlock Grid.Column="0" Text="{Binding TotalCount,StringFormat='总数: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="13px" Foreground="#000000" />-->
|
|
|
+ <!--<TextBlock Grid.Column="1" Text="{Binding EqualCountRate,StringFormat='正确: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
FontSize="13px" Foreground="#28a745" />
|
|
|
- <TextBlock Grid.Column="2" Text="{Binding ErrorCount,StringFormat='错误: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ <TextBlock Grid.Column="2" Text="{Binding ErrorCountRate,StringFormat='错误: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
FontSize="13px" Foreground="#dc3545" />
|
|
|
- <TextBlock Grid.Column="3" Text="{Binding InvalidCount,StringFormat='无效: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
- FontSize="13px" Foreground="#FFA500" />
|
|
|
+ <TextBlock Grid.Column="3" Text="{Binding InvalidCountRate,StringFormat='无效: {0}'}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="13px" Foreground="#FFA500" />-->
|
|
|
+ <TextBlock Grid.Column="0" Text="{Binding EqualRateName}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="13px" Foreground="#000000" />
|
|
|
+ <TextBlock Grid.Column="1" Text="{Binding ErrorRateName}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="13px" Foreground="#000000" />
|
|
|
+ <TextBlock Grid.Column="2" Text="{Binding InvalidRateName}" HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
+ FontSize="13px" Foreground="#000000" />
|
|
|
</Grid>
|
|
|
+
|
|
|
</Grid>
|
|
|
|
|
|
</DataTemplate>
|