Ignore:
Timestamp:
Jun 26, 2010, 9:51:11 PM (12 years ago)
Author:
Paul Lelgemann
Message:

o KeySearcher: more precise statistics in the new visualization of distributed search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/Presentation/Controls/P2PQuickWatchPresentation.xaml

    r1705 r1707  
    22        <UserControl.Resources>
    33                <Converter:TrueToVisibleOrCollapsedConverter x:Key="TrueToVisibleOrCollapsedConverter" />
    4         <Converter:TimeSpanToRoundedStringConverter x:Key="TimeSpanToRoundedStringConverter" />
    54        <Converter:LongToSizeMetricString x:Key="LongToSizeMetricString" />
    65        <Converter:DateTimeConverter x:Key="DateTimeConverter" />
    7         <Converter:TimeSpanConverter x:Key="TimeSpanConverter" />
     6        <Converter:TimeSpanToStringConverter x:Key="TimeSpanToStringConverter" />
    87        <RotateTransform x:Key="HeaderRotate" Angle="270" />
    98        <Style x:Key="ValueRow1">
     
    6968                        <Label Content="{Binding EstimatedFinishDate, FallbackValue=-}" Style="{StaticResource ValueRow3}" Grid.Column="3" />
    7069                        <Label Content="Elapsed:" Grid.Column="2" Grid.Row="2" />
    71                         <Label Content="{Binding ElapsedTime, FallbackValue=-, Converter={StaticResource TimeSpanConverter}}" Style="{StaticResource ValueRow2}" Grid.Column="2" Grid.Row="2" />
     70                        <Label Content="{Binding ElapsedTime, FallbackValue=-, Converter={StaticResource TimeSpanToStringConverter}}" Style="{StaticResource ValueRow2}" Grid.Column="2" Grid.Row="2" />
    7271                        <Label Content="Remaining:" Grid.Column="3" Grid.Row="2" />
    73                         <Label Content="{Binding RemainingTimeTotal, FallbackValue=-, Converter={StaticResource TimeSpanConverter}}" Style="{StaticResource ValueRow3}" Grid.Column="3" Grid.Row="2" />
     72                        <Label Content="{Binding RemainingTimeTotal, FallbackValue=-, Converter={StaticResource TimeSpanToStringConverter}}" Style="{StaticResource ValueRow3}" Grid.Column="3" Grid.Row="2" />
    7473                    </Grid>
    7574                                </Border>
     
    9998                            <ProgressBar Value="{Binding ProgressOfCurrentChunk, FallbackValue=0}" IsIndeterminate="{Binding IsCurrentProgressIndeterminate, FallbackValue=false}" Maximum="1" />
    10099                            <Viewbox>
    101                                 <Label Content="{Binding RemainingTime, Converter={StaticResource TimeSpanConverter}}" HorizontalAlignment="Center" Grid.Column="2" Grid.Row="1" />
     100                                <Label Content="{Binding RemainingTime, Converter={StaticResource TimeSpanToStringConverter}}" HorizontalAlignment="Center" Grid.Column="2" Grid.Row="1" />
    102101                            </Viewbox>
    103102                        </Grid>
     
    132131                        <Label Content="{Binding RequestsPerNode, FallbackValue=-}" Style="{StaticResource ValueRow3}" Grid.Column="3" Grid.Row="1" />
    133132                        <Label Content="Overhead (abs):" Grid.Column="2" Grid.Row="2" />
    134                         <Label Content="{Binding DhtOverheadInReadableTime, FallbackValue=-, Converter={StaticResource TimeSpanToRoundedStringConverter}}" Style="{StaticResource ValueRow2}" Grid.Column="2" Grid.Row="2" />
     133                        <Label Content="{Binding DhtOverheadInReadableTime, FallbackValue=-, Converter={StaticResource TimeSpanToStringConverter}}" Style="{StaticResource ValueRow2}" Grid.Column="2" Grid.Row="2" />
    135134                        <Label Content="Overhead (%):" Grid.Column="3" Grid.Row="2" />
    136135                        <Label Content="{Binding DhtOverheadInPercent, FallbackValue=-}" Style="{StaticResource ValueRow3}" Grid.Column="3" Grid.Row="2" />
Note: See TracChangeset for help on using the changeset viewer.