Files
YuPu-OrpaonEMS/OrpaonEMS.App/Views/YuPuDashBoardView.xaml
2025-02-28 22:23:13 +08:00

1095 lines
48 KiB
XML

<UserControl
x:Class="OrpaonEMS.App.Views.YuPuDashBoardView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Syncfusion="clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.WPF"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:OrpaonEMS.App.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:prism="http://prismlibrary.com/"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
d:DesignHeight="708"
d:DesignWidth="1024"
prism:ViewModelLocator.AutoWireViewModel="True"
mc:Ignorable="d">
<!-- 主体内容 -->
<Grid Background="#F5F6FA">
<Grid.RowDefinitions>
<RowDefinition Height="0.7*" />
<RowDefinition />
<RowDefinition Height="1.3*" />
</Grid.RowDefinitions>
<Grid Margin="30,20,30,30">
<Grid.RowDefinitions>
<!--<RowDefinition Height="40" />-->
<RowDefinition />
</Grid.RowDefinitions>
<!--<TextBlock
VerticalAlignment="Center"
FontSize="22"
Foreground="#586A73"
Text="" />
<StackPanel
HorizontalAlignment="Right"
VerticalAlignment="Center"
Orientation="Horizontal">
<Border
Width="80"
Height="25"
Margin="0,0,15,0"
Background="LimeGreen"
BorderBrush="#A4ADB2"
BorderThickness="1"
CornerRadius="10">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="柜1" />
</Border>
<Border
Width="80"
Height="25"
Margin="0,0,15,0"
BorderBrush="#A4ADB2"
BorderThickness="1"
CornerRadius="10">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="柜2" />
</Border>
<Border
Width="80"
Height="25"
Margin="0,0,15,0"
BorderBrush="#A4ADB2"
BorderThickness="1"
CornerRadius="10">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="柜3" />
</Border>
</StackPanel>-->
<UniformGrid Grid.Row="1" Columns="4">
<Grid>
<Border Margin="50,20,50,20" Background="#FF7000">
<Border.Effect>
<DropShadowEffect
BlurRadius="50"
Direction="270"
Opacity="0.8"
ShadowDepth="30"
Color="#FF7000" />
</Border.Effect>
</Border>
<Border
Margin="10,0,10,0"
Background="#FF7000"
CornerRadius="10">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Border
Grid.RowSpan="2"
Height="1"
VerticalAlignment="Center"
BorderBrush="#EBEBEB"
BorderThickness="1" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="4*" />
</Grid.ColumnDefinitions>
<Border
Width="35"
Height="35"
Background="#ffffff"
CornerRadius="35"
Opacity="0.2" />
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="22"
Foreground="White"
Text="&#xe687;" />
<TextBlock
Grid.Column="1"
VerticalAlignment="Center"
FontSize="26"
Foreground="White"
Text="储能总放电量" />
</Grid>
<StackPanel
Grid.Row="1"
Margin="15,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="26"
Foreground="White"
Text="{Binding YuePuRunModelService.EsEleMeter1.EleQ_N, StringFormat=0.0}" />
<Label Margin="10,8,0,0" Foreground="White">kWh</Label>
</StackPanel>
</Grid>
</Border>
</Grid>
<Grid>
<Border Margin="50,20,50,20" Background="#FFC100">
<Border.Effect>
<DropShadowEffect
BlurRadius="50"
Direction="270"
Opacity="0.8"
ShadowDepth="30"
Color="#FFC100" />
</Border.Effect>
</Border>
<Border
Margin="10,0,10,0"
Background="#FFC100"
CornerRadius="10">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Border
Grid.RowSpan="2"
Height="1"
VerticalAlignment="Center"
BorderBrush="#EBEBEB"
BorderThickness="1" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="4*" />
</Grid.ColumnDefinitions>
<Border
Width="35"
Height="35"
Background="#ffffff"
CornerRadius="35"
Opacity="0.2" />
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="22"
Foreground="White"
Text="&#xe601;" />
<TextBlock
Grid.Column="1"
VerticalAlignment="Center"
FontSize="26"
Foreground="White"
Text="储能总充电量" />
</Grid>
<StackPanel
Grid.Row="1"
Margin="15,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="26"
Foreground="White"
Text="{Binding YuePuRunModelService.EsEleMeter1.EleQ_P, StringFormat=0.0}" />
<Label Margin="10,8,0,0" Foreground="White">kWh</Label>
</StackPanel>
</Grid>
</Border>
</Grid>
<Grid>
<Border Margin="50,20,50,20" Background="#9ACD32">
<Border.Effect>
<DropShadowEffect
BlurRadius="50"
Direction="270"
Opacity="0.8"
ShadowDepth="30"
Color="#9ACD32" />
</Border.Effect>
</Border>
<Border
Margin="10,0,10,0"
Background="#9ACD32"
CornerRadius="10">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Border
Grid.RowSpan="2"
Height="1"
VerticalAlignment="Center"
BorderBrush="#EBEBEB"
BorderThickness="1" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="4*" />
</Grid.ColumnDefinitions>
<Border
Width="35"
Height="35"
Background="#ffffff"
CornerRadius="35"
Opacity="0.2" />
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="22"
Foreground="White"
Text="&#xe87b;" />
<TextBlock
Grid.Column="1"
VerticalAlignment="Center"
FontSize="26"
Foreground="White"
Text="光伏发电量" />
</Grid>
<StackPanel
Grid.Row="1"
Margin="15,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="26"
Foreground="White"
Text="{Binding YuePuRunModelService.SolarTotalPw, StringFormat=0.0}" />
<Label Margin="10,8,0,0" Foreground="White">kWh</Label>
</StackPanel>
</Grid>
</Border>
</Grid>
<Grid>
<Border Margin="50,20,50,20" Background="#59E6B5">
<Border.Effect>
<DropShadowEffect
BlurRadius="50"
Direction="270"
Opacity="0.8"
ShadowDepth="30"
Color="#59E6B5" />
</Border.Effect>
</Border>
<Border
Margin="10,0,10,0"
Background="#59E6B5"
CornerRadius="10">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Border
Grid.RowSpan="2"
Height="1"
VerticalAlignment="Center"
BorderBrush="#EBEBEB"
BorderThickness="1" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="4*" />
</Grid.ColumnDefinitions>
<Border
Width="35"
Height="35"
Background="#ffffff"
CornerRadius="35"
Opacity="0.2" />
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="22"
Foreground="White"
Text="&#xe658;" />
<TextBlock
Grid.Column="1"
VerticalAlignment="Center"
FontSize="26"
Foreground="White"
Text="光伏功率" />
</Grid>
<StackPanel
Grid.Row="1"
Margin="15,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="26"
Foreground="White"
Text="{Binding YuePuRunModelService.SolarTotalRt, StringFormat=0.0}" />
<Label Margin="10,8,0,0" Foreground="White">kW</Label>
</StackPanel>
</Grid>
</Border>
</Grid>
</UniformGrid>
</Grid>
<UniformGrid
Grid.Row="1"
Margin="20,10,40,0"
Columns="4">
<Border
Margin="20,0,0,0"
Background="White"
CornerRadius="10">
<Border.Effect>
<DropShadowEffect
BlurRadius="20"
Direction="280"
Opacity="0.4"
ShadowDepth="0"
Color="DarkGray" />
</Border.Effect>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="3*" />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<TextBlock
Margin="5"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="24"
Foreground="Black"
Text="&#xe685;" />
<TextBlock
Margin="5"
VerticalAlignment="Center"
FontSize="20"
Foreground="#596B75"
Text="储能1#(主)" />
</StackPanel>
<!--<lvc:PieChart Grid.Row="1" Series="{Binding SeriesSOC}" />-->
<syncfusion:SfCircularGauge
x:Name="circularGaugeSOC"
Grid.Row="1"
GaugeHeaderPosition="0.5,0.5"
HeaderAlignment="Center">
<syncfusion:SfCircularGauge.GaugeHeader>
<StackPanel>
<TextBlock
Width="100"
Height="20"
FontSize="18"
Text="{Binding YuePuRunModelService.EsSoc1, StringFormat={}{0} %}"
TextAlignment="Center" />
<TextBlock
Width="100"
Height="20"
Margin="0,5,0,0"
FontSize="12"
Text="SOC"
TextAlignment="Center" />
</StackPanel>
</syncfusion:SfCircularGauge.GaugeHeader>
<syncfusion:SfCircularGauge.Scales>
<syncfusion:CircularScale
x:Name="gauge2Scale"
EndValue="100"
Interval="10"
RadiusFactor="1"
RangePosition="Custom"
RimStroke="Gray"
RimStrokeThickness="18"
ShowLabels="False"
ShowTicks="False"
StartAngle="-90"
StartValue="0"
SweepAngle="360">
<syncfusion:CircularScale.Ranges>
<syncfusion:CircularRange
x:Name="gauge2Range"
Background="Gray"
EndValue="{Binding YuePuRunModelService.EsSoc1}"
StartValue="0"
Stroke="LimeGreen"
StrokeThickness="18"
Offset="1" />
</syncfusion:CircularScale.Ranges>
<syncfusion:CircularScale.Pointers>
<syncfusion:CircularPointer NeedlePointerVisibility="Collapsed" />
</syncfusion:CircularScale.Pointers>
</syncfusion:CircularScale>
</syncfusion:SfCircularGauge.Scales>
</syncfusion:SfCircularGauge>
<UniformGrid Grid.Row="2" Columns="2">
<Border
Margin="0,5,0,0"
BorderBrush="DarkGray"
BorderThickness="0,0,2,0">
<StackPanel HorizontalAlignment="Center">
<TextBlock FontSize="18" Text="{Binding YuePuRunModelService.EsSoh1, StringFormat={}{0:F1} %}" />
<StackPanel Orientation="Horizontal">
<Border
Width="10"
Height="10"
Background="#59E6B5" />
<TextBlock Margin="5,0,0,0" Text="SOH" />
</StackPanel>
</StackPanel>
</Border>
<StackPanel Margin="0,5,0,0" HorizontalAlignment="Center">
<TextBlock FontSize="18" Text="{Binding YuePuRunModelService.EsSoe1, StringFormat={}{0:F1} %}" />
<StackPanel Orientation="Horizontal">
<Border
Width="10"
Height="10"
Background="#FF7900" />
<TextBlock Margin="5,0,0,0" Text="SOE" />
</StackPanel>
</StackPanel>
</UniformGrid>
</Grid>
</Border>
<Border
Margin="20,0,0,0"
Background="White"
CornerRadius="10">
<Border.Effect>
<DropShadowEffect
BlurRadius="20"
Direction="280"
Opacity="0.4"
ShadowDepth="0"
Color="DarkGray" />
</Border.Effect>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="3*" />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<TextBlock
Margin="5"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="24"
Foreground="Black"
Text="&#xe685;" />
<TextBlock
Margin="5"
VerticalAlignment="Center"
FontSize="20"
Foreground="#596B75"
Text="储能2#" />
</StackPanel>
<!--<lvc:PieChart Grid.Row="1" Series="{Binding SeriesSOC}" />-->
<syncfusion:SfCircularGauge
x:Name="circularGaugeSOC2"
Grid.Row="1"
GaugeHeaderPosition="0.5,0.5"
HeaderAlignment="Center">
<syncfusion:SfCircularGauge.GaugeHeader>
<StackPanel>
<TextBlock
Width="100"
Height="20"
FontSize="18"
Text="{Binding YuePuRunModelService.EsSoc2, StringFormat={}{0} %}"
TextAlignment="Center" />
<TextBlock
Width="100"
Height="20"
Margin="0,5,0,0"
FontSize="12"
Text="SOC"
TextAlignment="Center" />
</StackPanel>
</syncfusion:SfCircularGauge.GaugeHeader>
<syncfusion:SfCircularGauge.Scales>
<syncfusion:CircularScale
x:Name="gauge2Scale2"
EndValue="100"
Interval="10"
RadiusFactor="1"
RangePosition="Custom"
RimStroke="Gray"
RimStrokeThickness="18"
ShowLabels="False"
ShowTicks="False"
StartAngle="-90"
StartValue="0"
SweepAngle="360">
<syncfusion:CircularScale.Ranges>
<syncfusion:CircularRange
x:Name="gauge2Range2"
Background="Gray"
EndValue="{Binding YuePuRunModelService.EsSoc2}"
StartValue="0"
Stroke="LimeGreen"
StrokeThickness="18"
Offset="1" />
</syncfusion:CircularScale.Ranges>
<syncfusion:CircularScale.Pointers>
<syncfusion:CircularPointer NeedlePointerVisibility="Collapsed" />
</syncfusion:CircularScale.Pointers>
</syncfusion:CircularScale>
</syncfusion:SfCircularGauge.Scales>
</syncfusion:SfCircularGauge>
<UniformGrid Grid.Row="2" Columns="2">
<Border
Margin="0,5,0,0"
BorderBrush="DarkGray"
BorderThickness="0,0,2,0">
<StackPanel HorizontalAlignment="Center">
<TextBlock FontSize="18" Text="{Binding YuePuRunModelService.EsSoh2, StringFormat={}{0:F1} %}" />
<StackPanel Orientation="Horizontal">
<Border
Width="10"
Height="10"
Background="#59E6B5" />
<TextBlock Margin="5,0,0,0" Text="SOH" />
</StackPanel>
</StackPanel>
</Border>
<StackPanel Margin="0,5,0,0" HorizontalAlignment="Center">
<TextBlock FontSize="18" Text="{Binding YuePuRunModelService.EsSoe2, StringFormat={}{0:F1} %}" />
<StackPanel Orientation="Horizontal">
<Border
Width="10"
Height="10"
Background="#FF7900" />
<TextBlock Margin="5,0,0,0" Text="SOE" />
</StackPanel>
</StackPanel>
</UniformGrid>
</Grid>
</Border>
<Grid Margin="10,0,0,0">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Border
Margin="5,0,5,5"
Background="White"
CornerRadius="10">
<Border.Effect>
<DropShadowEffect
BlurRadius="20"
Direction="280"
Opacity="0.4"
ShadowDepth="0"
Color="DarkGray" />
</Border.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="2*" />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock
Margin="10,0,0,0"
VerticalAlignment="Center"
Foreground="#717171"
Text="月度管理大楼储能充电量(kWh)" />
<TextBlock
Grid.Row="1"
Margin="10,0,0,0"
VerticalAlignment="Center"
FontSize="22"
Text="{Binding YuPuPwAnalyzeService.EsManageAnalyse.MonthChargPw, StringFormat=0.0}" />
<Border
Grid.Row="1"
Width="30"
Height="30"
Margin="0,0,5,0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Background="#D5F8EC"
CornerRadius="5">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="18"
Foreground="#59E6B5"
Text="&#xe6aa;" />
</Border>
<!--<StackPanel
Grid.Row="2"
Margin="10,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontFamily="../Assets/Fonts/#iconfont"
Foreground="#59E6B5"
Text="&#xe6d5;" />
<TextBlock Foreground="#59E6B5" Text="良好" />
<TextBlock
Margin="5,0,0,0"
Foreground="#A4ADB2"
Text="健康评估" />
</StackPanel>-->
</Grid>
</Border>
<Border
Grid.Row="1"
Margin="5,10,5,0"
Background="White"
CornerRadius="10">
<Border.Effect>
<DropShadowEffect
BlurRadius="20"
Direction="280"
Opacity="0.4"
ShadowDepth="0"
Color="DarkGray" />
</Border.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="2*" />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock
Margin="10,0,0,0"
VerticalAlignment="Center"
Foreground="#717171"
Text="月度光伏发电量(kWh)" />
<TextBlock
Grid.Row="1"
Margin="10,0,0,0"
VerticalAlignment="Center"
FontSize="22"
Text="{Binding YuPuPwAnalyzeService.SolarTaxAnalyse.MonthChargPw, StringFormat=0.0}" />
<Border
Grid.Row="1"
Width="30"
Height="30"
Margin="0,0,5,0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Background="#D5F8EC"
CornerRadius="5">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="18"
Foreground="#59E6B5"
Text="&#xe7c8;" />
</Border>
<!--<StackPanel
Grid.Row="2"
Margin="10,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontFamily="../Assets/Fonts/#iconfont"
Foreground="Red"
Text="&#xe6d5;" />
<TextBlock Foreground="Red" Text="{Binding ACService.OutTemp}" />
<TextBlock
Margin="5,0,0,0"
Foreground="#A4ADB2"
Text="出水温度" />
</StackPanel>-->
</Grid>
</Border>
</Grid>
<Grid Margin="10,0,0,0">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Border
Margin="5,0,5,5"
Background="White"
CornerRadius="10">
<Border.Effect>
<DropShadowEffect
BlurRadius="20"
Direction="280"
Opacity="0.4"
ShadowDepth="0"
Color="DarkGray" />
</Border.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="2*" />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock
Margin="10,0,0,0"
VerticalAlignment="Center"
Foreground="#717171"
Text="月度管理大楼储能放电量(kWh)" />
<TextBlock
Grid.Row="1"
Margin="10,0,0,0"
VerticalAlignment="Center"
FontSize="22"
Text="{Binding YuPuPwAnalyzeService.EsManageAnalyse.MonthDisChargPw, StringFormat=0.0}" />
<Border
Grid.Row="1"
Width="30"
Height="30"
Margin="0,0,5,0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Background="#D5F8EC"
CornerRadius="5">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="18"
Foreground="#59E6B5"
Text="&#xe7f4;" />
</Border>
<!--<StackPanel
Grid.Row="2"
Margin="10,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontFamily="../Assets/Fonts/#iconfont"
Foreground="Red"
Text="&#xe6d5;" />
<TextBlock Foreground="Red" Text="{Binding InPowerPCSDataService.Power, StringFormat={}{0:F1} kW}" />
<TextBlock
Margin="5,0,0,0"
Foreground="#A4ADB2"
Text="{Binding InPowerPCSDataService.Charg_DisChargInfo}" />
</StackPanel>-->
</Grid>
</Border>
<Border
Grid.Row="1"
Margin="5,10,5,0"
Background="White"
CornerRadius="10">
<Border.Effect>
<DropShadowEffect
BlurRadius="20"
Direction="280"
Opacity="0.4"
ShadowDepth="0"
Color="DarkGray" />
</Border.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="2*" />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock
Margin="10,0,0,0"
VerticalAlignment="Center"
Foreground="#717171"
Text="月度光伏转移管理大楼电量(kWh)" />
<TextBlock
Grid.Row="1"
Margin="10,0,0,0"
VerticalAlignment="Center"
FontSize="22"
Text="{Binding YuPuPwAnalyzeService.SolarManageAnalyse.MonthChargPw, StringFormat=0.0}" />
<Border
Grid.Row="1"
Width="30"
Height="30"
Margin="0,0,5,0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Background="#D5F8EC"
CornerRadius="5">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="18"
Foreground="#59E6B5"
Text="&#xe8ba;" />
</Border>
<!--<StackPanel
Grid.Row="2"
Margin="10,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontFamily="../Assets/Fonts/#iconfont"
Foreground="#59E6B5"
Text="&#xe6d5;" />
<TextBlock Foreground="#59E6B5" Text="10天后" />
<TextBlock
Margin="5,0,0,0"
Foreground="#A4ADB2"
Text="下次维保时间" />
</StackPanel>-->
</Grid>
</Border>
</Grid>
</UniformGrid>
<!-- Sales Report -->
<Grid Grid.Row="2" Margin="30,10,30,10">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<TextBlock
Margin="10,0"
VerticalAlignment="Center"
FontFamily="../Assets/Fonts/#iconfont"
FontSize="26"
Foreground="Black"
Text="&#xe635;" />
<TextBlock
VerticalAlignment="Center"
FontSize="22"
Foreground="#596B75"
Text="统计信息" />
</StackPanel>
<Border
Grid.Row="1"
Margin="10,0,10,0"
Background="White"
CornerRadius="10">
<Border.Effect>
<DropShadowEffect
BlurRadius="20"
Direction="280"
Opacity="0.4"
ShadowDepth="0"
Color="DarkGray" />
</Border.Effect>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="7*" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<Syncfusion:SfChart x:Name="HourPwChart" Margin="10">
<Syncfusion:SfChart.PrimaryAxis>
<Syncfusion:NumericalAxis Header="小时" ShowGridLines="False" />
</Syncfusion:SfChart.PrimaryAxis>
<Syncfusion:SfChart.SecondaryAxis>
<Syncfusion:NumericalAxis Header="电量(kWh)" Minimum="0" />
</Syncfusion:SfChart.SecondaryAxis>
<Syncfusion:ColumnSeries
EnableAnimation="True"
ItemsSource="{Binding PwAnalyzeService.ListLastHourData}"
SegmentSpacing="0.2"
XBindingPath="HourInfo"
YBindingPath="EsHourDisCharg">
<Syncfusion:ColumnSeries.AdornmentsInfo>
<Syncfusion:ChartAdornmentInfo
LabelPosition="Inner"
ShowLabel="True"
ShowMarker="True" />
</Syncfusion:ColumnSeries.AdornmentsInfo>
</Syncfusion:ColumnSeries>
<Syncfusion:ColumnSeries
EnableAnimation="True"
ItemsSource="{Binding PwAnalyzeService.ListLastHourData}"
SegmentSpacing="0.1"
XBindingPath="HourInfo"
YBindingPath="EsHourCharg">
<Syncfusion:ColumnSeries.AdornmentsInfo>
<Syncfusion:ChartAdornmentInfo
LabelPosition="Inner"
ShowLabel="True"
ShowMarker="True" />
</Syncfusion:ColumnSeries.AdornmentsInfo>
</Syncfusion:ColumnSeries>
<Syncfusion:ColumnSeries
EnableAnimation="True"
ItemsSource="{Binding PwAnalyzeService.ListLastHourData}"
SegmentSpacing="0.2"
XBindingPath="HourInfo"
YBindingPath="SolarHourCharg">
<Syncfusion:ColumnSeries.AdornmentsInfo>
<Syncfusion:ChartAdornmentInfo
LabelPosition="Inner"
ShowLabel="True"
ShowMarker="True" />
</Syncfusion:ColumnSeries.AdornmentsInfo>
</Syncfusion:ColumnSeries>
</Syncfusion:SfChart>
<Grid Grid.Column="1" Margin="0,10">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Margin="0,10,10,10">
<StackPanel Orientation="Horizontal">
<Border
Width="10"
Height="10"
Background="Red"
CornerRadius="10" />
<TextBlock
Margin="5,0,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="月度储能收益" />
</StackPanel>
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock
Margin="5,5,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="1115" />
<TextBlock
Margin="5,5,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="元" />
</StackPanel>
</StackPanel>
<StackPanel Grid.Row="1" Margin="0,10,10,10">
<StackPanel Orientation="Horizontal">
<Border
Width="10"
Height="10"
Background="#B03060"
CornerRadius="10" />
<TextBlock
Margin="5,0,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="月度光伏收益" />
</StackPanel>
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock
Margin="5,5,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="526" />
<TextBlock
Margin="5,5,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="元" />
</StackPanel>
</StackPanel>
<!--<StackPanel Grid.Row="2" Margin="0,10,10,10">
<StackPanel Orientation="Horizontal">
<Border
Width="10"
Height="10"
Background="#59E6B5"
CornerRadius="10" />
<TextBlock
Margin="5,0,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="月度总收益" />
</StackPanel>
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock
Margin="5,5,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="{Binding PwAnalyzeService.SolarAnalyse.DayChargPw, StringFormat=0.0}" />
<TextBlock
Margin="5,5,0,0"
VerticalAlignment="Center"
FontSize="18"
Text="kWh" />
</StackPanel>
</StackPanel>-->
</Grid>
</Grid>
</Border>
</Grid>
</Grid>
</UserControl>