1063 lines
46 KiB
XML
1063 lines
46 KiB
XML
<UserControl
|
|
x:Class="OrpaonEMS.App.Views.DashBoardView"
|
|
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="" />
|
|
|
|
<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 InPowerPCSDataService.AccDisChargPw, 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="" />
|
|
|
|
<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 InPowerPCSDataService.AccChargPw, 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="" />
|
|
|
|
<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 SolarEnergyService.Power, StringFormat=0.0}" />
|
|
<Label Margin="10,8,0,0" Foreground="White">kW</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="" />
|
|
|
|
<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 EnergyStorageService.AcrelMeters.Psum, 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
|
|
Grid.RowSpan="2"
|
|
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="" />
|
|
<TextBlock
|
|
Margin="5"
|
|
VerticalAlignment="Center"
|
|
FontSize="20"
|
|
Foreground="#596B75"
|
|
Text="电池簇" />
|
|
</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 BmsDataService.BmsSOC.RtValue, 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 BmsDataService.BmsSOC.RtValue}"
|
|
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 BmsDataService.BmsSOH.RtValue, 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 BmsDataService.BmsSOE.RtValue, 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
|
|
Grid.RowSpan="2"
|
|
Grid.Column="1"
|
|
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 Height="0.7*" />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="5"
|
|
VerticalAlignment="Center"
|
|
FontFamily="../Assets/Fonts/#iconfont"
|
|
FontSize="24"
|
|
Foreground="Black"
|
|
Text="" />
|
|
<TextBlock
|
|
Margin="5"
|
|
VerticalAlignment="Center"
|
|
FontSize="20"
|
|
Foreground="#596B75"
|
|
Text="控制状态" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Vertical">
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
FontSize="18"
|
|
Text="手动状态" />
|
|
<TextBlock
|
|
Margin="0,5,0,0"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="20"
|
|
FontWeight="Bold"
|
|
Foreground="Green"
|
|
Text="{Binding EnergyStorageService.HandAutoState}" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Vertical">
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
FontSize="18"
|
|
Text="系统状态" />
|
|
<TextBlock
|
|
Margin="0,5,0,0"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="20"
|
|
FontWeight="Bold"
|
|
Foreground="Green"
|
|
Text="{Binding EnergyStorageService.EsSysRunStateMsg}" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="3" Orientation="Vertical">
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
FontSize="18"
|
|
Text="削峰填谷模式" />
|
|
<TextBlock
|
|
Margin="0,5,0,0"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="20"
|
|
FontWeight="Bold"
|
|
Foreground="Green"
|
|
Text="{Binding EMSService.PeakValleyStateMsg}" />
|
|
</StackPanel>
|
|
</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="电池运行状态" />
|
|
<TextBlock
|
|
Grid.Row="1"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="22"
|
|
Text="{Binding BmsDataService.BmsBatStateMsg}" />
|
|
<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="" />
|
|
</Border>
|
|
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
FontFamily="../Assets/Fonts/#iconfont"
|
|
Foreground="#59E6B5"
|
|
Text="" />
|
|
<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="液冷运行状态" />
|
|
<TextBlock
|
|
Grid.Row="1"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="22"
|
|
Text="{Binding ACService.CoolWorkModelMsg}" />
|
|
<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="" />
|
|
</Border>
|
|
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
FontFamily="../Assets/Fonts/#iconfont"
|
|
Foreground="Red"
|
|
Text="" />
|
|
<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="PCS运行状态" />
|
|
<TextBlock
|
|
Grid.Row="1"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="22"
|
|
Text="{Binding InPowerPCSDataService.PcsRunState.PcsStateMsg}" />
|
|
<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="" />
|
|
</Border>
|
|
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
FontFamily="../Assets/Fonts/#iconfont"
|
|
Foreground="Red"
|
|
Text="" />
|
|
<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="消防运行模式" />
|
|
<TextBlock
|
|
Grid.Row="1"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="22"
|
|
Text="{Binding FFService.FireWorkModelMsg}" />
|
|
<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="" />
|
|
</Border>
|
|
|
|
<StackPanel
|
|
Grid.Row="2"
|
|
Margin="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
FontFamily="../Assets/Fonts/#iconfont"
|
|
Foreground="#59E6B5"
|
|
Text="" />
|
|
<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="" />
|
|
<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.2"
|
|
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="{Binding PwAnalyzeService.EsAnalyse.DayChargPw, StringFormat=0.0}" />
|
|
<TextBlock
|
|
Margin="5,5,0,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="18"
|
|
Text="kWh" />
|
|
</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="{Binding PwAnalyzeService.EsAnalyse.DayDisChargPw, StringFormat=0.0}" />
|
|
<TextBlock
|
|
Margin="5,5,0,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="18"
|
|
Text="kWh" />
|
|
</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>
|