|
|
|
@ -38,100 +38,100 @@
|
|
|
|
<!-- 数据导出 -->
|
|
|
|
<!-- 数据导出 -->
|
|
|
|
<!--#region 数据导出-->
|
|
|
|
<!--#region 数据导出-->
|
|
|
|
<!--<md:Card Margin="5,0,5,5"
|
|
|
|
<!--<md:Card Margin="5,0,5,5"
|
|
|
|
UniformCornerRadius="5"
|
|
|
|
UniformCornerRadius="5"
|
|
|
|
Background="White">
|
|
|
|
Background="White">
|
|
|
|
<StackPanel Margin="10" VerticalAlignment="Center">
|
|
|
|
<StackPanel Margin="10" VerticalAlignment="Center">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<TextBlock Margin="10"
|
|
|
|
<TextBlock Margin="10"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Text="起始日期"
|
|
|
|
Text="起始日期"
|
|
|
|
FontSize="16" />
|
|
|
|
FontSize="16" />
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<!--<DatePicker Width="120" SelectedDate="{Binding ReportStartTime}">
|
|
|
|
<!--<DatePicker Width="120" SelectedDate="{Binding ReportStartTime}">
|
|
|
|
<DatePicker.Resources>
|
|
|
|
<DatePicker.Resources>
|
|
|
|
<Style TargetType="DatePicker">
|
|
|
|
<Style TargetType="DatePicker">
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
<Setter Property="Template">
|
|
|
|
<Setter Property="Template">
|
|
|
|
<Setter.Value>
|
|
|
|
<Setter.Value>
|
|
|
|
<ControlTemplate>
|
|
|
|
<ControlTemplate>
|
|
|
|
<TextBox x:Name="PART_TextBox" Text="{Binding Path=SelectedDate, StringFormat={}{0:yyyy年MM月dd日}, RelativeSource={RelativeSource AncestorType={x:Type DatePicker}}}" />
|
|
|
|
<TextBox x:Name="PART_TextBox" Text="{Binding Path=SelectedDate, StringFormat={}{0:yyyy年MM月dd日}, RelativeSource={RelativeSource AncestorType={x:Type DatePicker}}}" />
|
|
|
|
</ControlTemplate>
|
|
|
|
</ControlTemplate>
|
|
|
|
</Setter.Value>
|
|
|
|
</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
</DatePicker.Resources>
|
|
|
|
</DatePicker.Resources>
|
|
|
|
</DatePicker>-->
|
|
|
|
</DatePicker>-->
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
<hc:DatePicker Width="140"
|
|
|
|
<hc:DatePicker Width="140"
|
|
|
|
Height="36"
|
|
|
|
Height="36"
|
|
|
|
Margin="10,0"
|
|
|
|
Margin="10,0"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
DisplayDate="{Binding ReportStartTime, StringFormat={}{0:yyyy-MM-dd}}"
|
|
|
|
DisplayDate="{Binding ReportStartTime, StringFormat={}{0:yyyy-MM-dd}}"
|
|
|
|
SelectedDate="{Binding ReportStartTime, StringFormat={}{0:yyyy-MM-dd}}" />
|
|
|
|
SelectedDate="{Binding ReportStartTime, StringFormat={}{0:yyyy-MM-dd}}" />
|
|
|
|
<TextBlock Margin="10"
|
|
|
|
<TextBlock Margin="10"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Text="结束日期"
|
|
|
|
Text="结束日期"
|
|
|
|
FontSize="16" />
|
|
|
|
FontSize="16" />
|
|
|
|
<hc:DatePicker Width="140"
|
|
|
|
<hc:DatePicker Width="140"
|
|
|
|
Height="36"
|
|
|
|
Height="36"
|
|
|
|
Margin="10,0"
|
|
|
|
Margin="10,0"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
DisplayDate="{Binding ReportEndTime, StringFormat={}{0:yyyy-MM-dd}}"
|
|
|
|
DisplayDate="{Binding ReportEndTime, StringFormat={}{0:yyyy-MM-dd}}"
|
|
|
|
SelectedDate="{Binding ReportEndTime, StringFormat={}{0:yyyy-MM-dd}}">
|
|
|
|
SelectedDate="{Binding ReportEndTime, StringFormat={}{0:yyyy-MM-dd}}">
|
|
|
|
|
|
|
|
|
|
|
|
</hc:DatePicker>
|
|
|
|
</hc:DatePicker>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<TextBlock Margin="10"
|
|
|
|
<TextBlock Margin="10"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Text="最小震级"
|
|
|
|
Text="最小震级"
|
|
|
|
FontSize="16" />
|
|
|
|
FontSize="16" />
|
|
|
|
<hc:NumericUpDown Width="78"
|
|
|
|
<hc:NumericUpDown Width="78"
|
|
|
|
Margin="10"
|
|
|
|
Margin="10"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="12"
|
|
|
|
FontSize="12"
|
|
|
|
Foreground="#FF673Ab7"
|
|
|
|
Foreground="#FF673Ab7"
|
|
|
|
DecimalPlaces="2"
|
|
|
|
DecimalPlaces="2"
|
|
|
|
Increment="0.1"
|
|
|
|
Increment="0.1"
|
|
|
|
Maximum="0"
|
|
|
|
Maximum="0"
|
|
|
|
Minimum="-3.0"
|
|
|
|
Minimum="-3.0"
|
|
|
|
Value="{Binding ReportMinML}" />
|
|
|
|
Value="{Binding ReportMinML}" />
|
|
|
|
<TextBlock Margin="10,0,10,0"
|
|
|
|
<TextBlock Margin="10,0,10,0"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Text="最大震级"
|
|
|
|
Text="最大震级"
|
|
|
|
FontSize="16" />
|
|
|
|
FontSize="16" />
|
|
|
|
<hc:NumericUpDown Width="78"
|
|
|
|
<hc:NumericUpDown Width="78"
|
|
|
|
Margin="10"
|
|
|
|
Margin="10"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="12"
|
|
|
|
FontSize="12"
|
|
|
|
Foreground="#FF673Ab7"
|
|
|
|
Foreground="#FF673Ab7"
|
|
|
|
DecimalPlaces="2"
|
|
|
|
DecimalPlaces="2"
|
|
|
|
Increment="0.1"
|
|
|
|
Increment="0.1"
|
|
|
|
Maximum="0"
|
|
|
|
Maximum="0"
|
|
|
|
Minimum="-3.0"
|
|
|
|
Minimum="-3.0"
|
|
|
|
Value="{Binding ReportMaxML}" />
|
|
|
|
Value="{Binding ReportMaxML}" />
|
|
|
|
<TextBlock Margin="10,0,10,0"
|
|
|
|
<TextBlock Margin="10,0,10,0"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Text="中等能量"
|
|
|
|
Text="中等能量"
|
|
|
|
FontSize="16" />
|
|
|
|
FontSize="16" />
|
|
|
|
<TextBox Width="60"
|
|
|
|
<TextBox Width="60"
|
|
|
|
Margin="10,0,0,0"
|
|
|
|
Margin="10,0,0,0"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
FontSize="12"
|
|
|
|
FontSize="12"
|
|
|
|
Foreground="#FF673Ab7"
|
|
|
|
Foreground="#FF673Ab7"
|
|
|
|
Text="{Binding MiddleEnergy}"
|
|
|
|
Text="{Binding MiddleEnergy}"
|
|
|
|
TextAlignment="Right" />
|
|
|
|
TextAlignment="Right" />
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="J" />
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="J" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</md:Card>-->
|
|
|
|
</md:Card>-->
|
|
|
|
<!--#endregion-->
|
|
|
|
<!--#endregion-->
|
|
|
|
<!-- 数据筛选 -->
|
|
|
|
<!-- 数据筛选 -->
|
|
|
|
@ -484,23 +484,7 @@
|
|
|
|
Content="月报"
|
|
|
|
Content="月报"
|
|
|
|
FontSize="16"
|
|
|
|
FontSize="16"
|
|
|
|
Style="{StaticResource MaterialDesignRaisedDarkButton}" />
|
|
|
|
Style="{StaticResource MaterialDesignRaisedDarkButton}" />
|
|
|
|
<StackPanel Grid.Row="1"
|
|
|
|
|
|
|
|
Grid.ColumnSpan="3"
|
|
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="事件总数:" FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center"
|
|
|
|
|
|
|
|
d:Text="11142"
|
|
|
|
|
|
|
|
Foreground="Black"
|
|
|
|
|
|
|
|
Text="{Binding SearchCount}"
|
|
|
|
|
|
|
|
FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock Margin="10,0,0,0" Text="中等能量事件:" FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock d:Text="1000"
|
|
|
|
|
|
|
|
Foreground="Black"
|
|
|
|
|
|
|
|
FontSize="16"
|
|
|
|
|
|
|
|
Text="{Binding MiddleEventCount}"
|
|
|
|
|
|
|
|
Cursor="" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<Button Grid.Row="1"
|
|
|
|
<Button Grid.Row="1"
|
|
|
|
Grid.Column="3"
|
|
|
|
Grid.Column="3"
|
|
|
|
Width="70"
|
|
|
|
Width="70"
|
|
|
|
@ -512,12 +496,53 @@
|
|
|
|
CommandParameter="{Binding ElementName=rView}" />
|
|
|
|
CommandParameter="{Binding ElementName=rView}" />
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<StackPanel Margin="20,0,20,10">
|
|
|
|
|
|
|
|
<WrapPanel Margin="20,0,0,10"
|
|
|
|
|
|
|
|
VerticalAlignment="Center">
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="事件总数:" FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center"
|
|
|
|
|
|
|
|
d:Text="11142"
|
|
|
|
|
|
|
|
Width="60"
|
|
|
|
|
|
|
|
Foreground="Black"
|
|
|
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
|
|
|
Text="{Binding SearchCount}"
|
|
|
|
|
|
|
|
FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock Margin="10,0,0,0" Text="中等能量事件:" FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock d:Text="1000"
|
|
|
|
|
|
|
|
Foreground="Black"
|
|
|
|
|
|
|
|
FontSize="16"
|
|
|
|
|
|
|
|
Width="60"
|
|
|
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
|
|
|
Text="{Binding MiddleEventCount}"
|
|
|
|
|
|
|
|
Cursor="" />
|
|
|
|
|
|
|
|
<TextBlock Text="总能量:" FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock Foreground="Black"
|
|
|
|
|
|
|
|
FontSize="16"
|
|
|
|
|
|
|
|
Width="80"
|
|
|
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
|
|
|
Text="{Binding TotalEnergy, StringFormat={}{0:F0}J}" />
|
|
|
|
|
|
|
|
<TextBlock Margin="20,0,0,0" Text="平均能量:" FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock Foreground="Black"
|
|
|
|
|
|
|
|
FontSize="16"
|
|
|
|
|
|
|
|
Width="60"
|
|
|
|
|
|
|
|
d:Text="11111J"
|
|
|
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
|
|
|
Text="{Binding AverageEnergy, StringFormat={}{0:F0}J}" />
|
|
|
|
|
|
|
|
<TextBlock Margin="20,0,0,0" Text="最大能量:" FontSize="16" />
|
|
|
|
|
|
|
|
<TextBlock Foreground="Black"
|
|
|
|
|
|
|
|
FontSize="16"
|
|
|
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
|
|
|
Width="60"
|
|
|
|
|
|
|
|
Text="{Binding MaxEnergy, StringFormat={}{0:F0}J}" />
|
|
|
|
|
|
|
|
</WrapPanel>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</md:Card>
|
|
|
|
</md:Card>
|
|
|
|
<!--<md:Card Margin="5,0,5,5"
|
|
|
|
<!--<md:Card Margin="5,0,5,5"
|
|
|
|
UniformCornerRadius="5"
|
|
|
|
UniformCornerRadius="5"
|
|
|
|
Background="White"></md:Card>-->
|
|
|
|
Background="White"></md:Card>-->
|
|
|
|
<!--#region 事件列表-->
|
|
|
|
<!--#region 事件列表-->
|
|
|
|
<md:Card Grid.Row="2"
|
|
|
|
<md:Card Grid.Row="2"
|
|
|
|
Margin="5"
|
|
|
|
Margin="5"
|
|
|
|
|