746 lines
32 KiB
XML
746 lines
32 KiB
XML
<UserControl
|
|
x:Class="OrpaonEMS.App.Views.AutoHandView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:keyboard="clr-namespace:KeyBoard.WPF.Behavior;assembly=KeyBoard.WPF"
|
|
xmlns:local="clr-namespace:OrpaonEMS.App.Views"
|
|
xmlns:localConverter="clr-namespace:OrpaonEMS.Core.Converts;assembly=OrpaonEMS.Core"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:prism="http://prismlibrary.com/"
|
|
d:DesignHeight="708"
|
|
d:DesignWidth="1024"
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<Style
|
|
x:Key="ButtonStyle"
|
|
BasedOn="{StaticResource MaterialDesignFlatButton}"
|
|
TargetType="Button">
|
|
<Setter Property="Margin" Value="10" />
|
|
<Setter Property="Width" Value="120" />
|
|
<Setter Property="Foreground" Value="White" />
|
|
</Style>
|
|
|
|
|
|
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.8*" />
|
|
<RowDefinition Height="1.2*" />
|
|
<RowDefinition />
|
|
<RowDefinition Height="1.2*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Border
|
|
Margin="5,5,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 Height="30" />
|
|
<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">
|
|
<StackPanel
|
|
Margin="0,5"
|
|
HorizontalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="18"
|
|
Text="手自动模式" />
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
<ToggleButton
|
|
Width="60"
|
|
Height="30"
|
|
Margin="5,2,5,0"
|
|
Command="{Binding AutoHandCmd}"
|
|
CommandParameter="{Binding IsChecked, RelativeSource={RelativeSource Self}}"
|
|
IsChecked="{Binding energyStorageService.AutoHandValue}"
|
|
Style="{StaticResource MaterialDesignSwitchToggleButton}" />
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding energyStorageService.HandAutoState}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel
|
|
Margin="0,5"
|
|
HorizontalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="18"
|
|
Text="初始手自动" />
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
<ToggleButton
|
|
Width="60"
|
|
Height="30"
|
|
Margin="5,2,5,0"
|
|
IsChecked="{Binding ConfigDataService.IsStartAuto}"
|
|
Style="{StaticResource MaterialDesignSwitchToggleButton}" />
|
|
<TextBlock VerticalAlignment="Center">
|
|
<TextBlock.Style>
|
|
<Style TargetType="TextBlock">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding ConfigDataService.IsStartAuto}" Value="true">
|
|
<Setter Property="Text" Value="初始自动" />
|
|
</DataTrigger>
|
|
<DataTrigger Binding="{Binding ConfigDataService.IsStartAuto}" Value="false">
|
|
<Setter Property="Text" Value="初始手动" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<!--<Button
|
|
x:Name="btnHand"
|
|
Width="120"
|
|
Margin="10,5"
|
|
Background="{Binding BtnHandColor}"
|
|
Command="{Binding HandBtnCmd}"
|
|
Content="手动模式"
|
|
Foreground="White" />
|
|
<Button
|
|
x:Name="btnAuto"
|
|
Width="120"
|
|
Margin="10"
|
|
Background="{Binding BtnAutoColor}"
|
|
Command="{Binding AutoBtnCmd}"
|
|
Foreground="White">
|
|
自动模式
|
|
</Button>-->
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
</Border>
|
|
<Border
|
|
Grid.Column="1"
|
|
Margin="5,5,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 Height="30" />
|
|
<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>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
<Border
|
|
Grid.Column="2"
|
|
Margin="5,5,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 Height="30" />
|
|
<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" />
|
|
</Grid>
|
|
|
|
</Border>
|
|
<Border
|
|
Grid.Column="3"
|
|
Margin="5,5,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 Height="30" />
|
|
<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="BMS复位" />
|
|
</StackPanel>
|
|
<Button
|
|
Grid.Row="1"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsLocationBtnCmd}"
|
|
Foreground="White">
|
|
Bms复位
|
|
</Button>
|
|
</Grid>
|
|
|
|
</Border>
|
|
</Grid>
|
|
<Border
|
|
Grid.Row="1"
|
|
Margin="5,5,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 Height="30" />
|
|
<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="PCS手动控制" />
|
|
</StackPanel>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.7*" />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<Button
|
|
Grid.Row="0"
|
|
Grid.Column="0"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsStartBtnCmd}"
|
|
Foreground="White">
|
|
PCS手动开始
|
|
</Button>
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
Grid.Column="0"
|
|
Orientation="Vertical">
|
|
<TextBox
|
|
Width="120"
|
|
Margin="5"
|
|
BorderBrush="SkyBlue"
|
|
BorderThickness="1"
|
|
Text="{Binding PwValue}"
|
|
TextAlignment="Center">
|
|
<i:Interaction.Behaviors>
|
|
<keyboard:NumericKeyboardBehavior />
|
|
</i:Interaction.Behaviors>
|
|
</TextBox>
|
|
<TextBlock Text="正代表充电,负代表放电" TextAlignment="Center" />
|
|
<Button
|
|
Width="120"
|
|
Margin="5"
|
|
Command="{Binding PcsSendPwBtnCmd}"
|
|
Foreground="White">
|
|
PCS手动功率
|
|
</Button>
|
|
</StackPanel>
|
|
|
|
<Button
|
|
Grid.Row="0"
|
|
Grid.Column="1"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsEndBtnCmd}"
|
|
Foreground="White">
|
|
PCS手动关闭
|
|
</Button>
|
|
<Button
|
|
Grid.Row="0"
|
|
Grid.Column="2"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsResetBtnCmd}"
|
|
Foreground="White">
|
|
PCS手动复位
|
|
</Button>
|
|
<Button
|
|
Grid.Row="0"
|
|
Grid.Column="3"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsRemoteBtnCmd}"
|
|
Foreground="White">
|
|
PCS远程
|
|
</Button>
|
|
<Button
|
|
Grid.Row="0"
|
|
Grid.Column="4"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsLocationBtnCmd}"
|
|
Foreground="White">
|
|
PCS本地
|
|
</Button>
|
|
<Button
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsCloseLinkBtnCmd}"
|
|
Foreground="White">
|
|
PCS关闭连接
|
|
</Button>
|
|
<Button
|
|
Grid.Row="1"
|
|
Grid.Column="2"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsGridConBtnCmd}"
|
|
Foreground="White">
|
|
PCS并网
|
|
</Button>
|
|
<Button
|
|
Grid.Row="1"
|
|
Grid.Column="3"
|
|
Width="120"
|
|
Margin="10"
|
|
Command="{Binding PcsGridOffBtnCmd}"
|
|
Foreground="White">
|
|
PCS离网
|
|
</Button>
|
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
<Grid Grid.Row="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Border
|
|
Margin="5,5,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 Height="30" />
|
|
<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>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Button
|
|
Width="100"
|
|
Margin="20,5,5,5"
|
|
Command="{Binding AcRunModelBtnCmd}"
|
|
CommandParameter="Cool"
|
|
Foreground="White">
|
|
制冷
|
|
</Button>
|
|
<Button
|
|
Width="100"
|
|
Margin="5"
|
|
Command="{Binding AcRunModelBtnCmd}"
|
|
CommandParameter="Heat"
|
|
Foreground="White">
|
|
加热
|
|
</Button>
|
|
<Button
|
|
Width="100"
|
|
Margin="5"
|
|
Command="{Binding AcRunModelBtnCmd}"
|
|
CommandParameter="Stop"
|
|
Foreground="White">
|
|
停机
|
|
</Button>
|
|
<Button
|
|
Width="100"
|
|
Margin="5"
|
|
Command="{Binding AcRunModelBtnCmd}"
|
|
CommandParameter="AutoCycle"
|
|
Foreground="White">
|
|
自循环
|
|
</Button>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
|
<Button
|
|
Width="100"
|
|
Margin="20,5,10,5"
|
|
Command="{Binding AcRunModelBtnCmd}"
|
|
CommandParameter="Auto"
|
|
Foreground="White">
|
|
自动
|
|
</Button>
|
|
<StackPanel VerticalAlignment="Center">
|
|
<TextBlock
|
|
FontSize="18"
|
|
Text="制热设置温度(℃)"
|
|
TextAlignment="Center" />
|
|
<TextBox
|
|
Width="120"
|
|
Height="30"
|
|
Margin="5"
|
|
BorderBrush="SkyBlue"
|
|
BorderThickness="1"
|
|
FontSize="20"
|
|
Text="{Binding SetHeatTemp}"
|
|
TextAlignment="Center">
|
|
<i:Interaction.Behaviors>
|
|
<keyboard:NumericKeyboardBehavior />
|
|
</i:Interaction.Behaviors>
|
|
</TextBox>
|
|
</StackPanel>
|
|
<StackPanel VerticalAlignment="Center">
|
|
<TextBlock
|
|
FontSize="18"
|
|
Text="制冷设置温度(℃)"
|
|
TextAlignment="Center" />
|
|
<TextBox
|
|
Width="120"
|
|
Height="30"
|
|
Margin="5"
|
|
BorderBrush="SkyBlue"
|
|
BorderThickness="1"
|
|
FontSize="20"
|
|
Text="{Binding SetCoolTemp}"
|
|
TextAlignment="Center">
|
|
<i:Interaction.Behaviors>
|
|
<keyboard:NumericKeyboardBehavior />
|
|
</i:Interaction.Behaviors>
|
|
</TextBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
<Border
|
|
Grid.Column="1"
|
|
Margin="5,5,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 Height="30" />
|
|
<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>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="2.5*" />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.Resources>
|
|
<localConverter:CmdPwTypeConverter x:Key="CmdPwTypeConverter" />
|
|
</Grid.Resources>
|
|
<StackPanel Grid.Row="0" Grid.Column="0">
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
FontSize="16"
|
|
Text="柜体1命令功率值" />
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
<ToggleButton
|
|
Width="60"
|
|
Height="30"
|
|
Margin="5,2,5,0"
|
|
IsChecked="{Binding EMSService.DistClient0.ServerCmd.CmdType, Converter={StaticResource CmdPwTypeConverter}}"
|
|
Style="{StaticResource MaterialDesignSwitchToggleButton}"
|
|
ToolTip="充放电" />
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding EMSService.DistClient0.ServerCmd.CmdType}" />
|
|
</StackPanel>
|
|
|
|
<TextBox
|
|
Width="120"
|
|
Height="30"
|
|
Margin="5"
|
|
BorderBrush="SkyBlue"
|
|
BorderThickness="1"
|
|
FontSize="20"
|
|
Text="{Binding EMSService.DistClient0.ServerCmd.CmdPw, StringFormat=0.0}"
|
|
TextAlignment="Center">
|
|
<i:Interaction.Behaviors>
|
|
<keyboard:NumericKeyboardBehavior />
|
|
</i:Interaction.Behaviors>
|
|
</TextBox>
|
|
|
|
</StackPanel>
|
|
<StackPanel Grid.Row="0" Grid.Column="1">
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
FontSize="16"
|
|
Text="柜体2命令功率值" />
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
<ToggleButton
|
|
Width="60"
|
|
Height="30"
|
|
Margin="5,2,5,0"
|
|
IsChecked="{Binding EMSService.DistClient1.ServerCmd.CmdType, Converter={StaticResource CmdPwTypeConverter}}"
|
|
Style="{StaticResource MaterialDesignSwitchToggleButton}"
|
|
ToolTip="充放电" />
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding EMSService.DistClient1.ServerCmd.CmdType}" />
|
|
</StackPanel>
|
|
|
|
<TextBox
|
|
Width="120"
|
|
Height="30"
|
|
Margin="5"
|
|
BorderBrush="SkyBlue"
|
|
BorderThickness="1"
|
|
FontSize="20"
|
|
Text="{Binding EMSService.DistClient1.ServerCmd.CmdPw, StringFormat=0.0}"
|
|
TextAlignment="Center">
|
|
<i:Interaction.Behaviors>
|
|
<keyboard:NumericKeyboardBehavior />
|
|
</i:Interaction.Behaviors>
|
|
</TextBox>
|
|
</StackPanel>
|
|
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
Grid.Column="0"
|
|
HorizontalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
FontSize="16"
|
|
Text="SOC:" />
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
FontSize="16"
|
|
Text="{Binding YuePuRunModelService.EsSoc1}" />
|
|
</StackPanel>
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
HorizontalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
FontSize="16"
|
|
Text="SOC:" />
|
|
<TextBlock
|
|
HorizontalAlignment="Center"
|
|
FontSize="16"
|
|
Text="{Binding YuePuRunModelService.EsSoc2}" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.RowSpan="2" Grid.Column="2">
|
|
<TextBlock Text="{Binding YuePuRunModelService.LogicMsg}" TextWrapping="Wrap" />
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
</Grid>
|
|
|
|
|
|
<Border
|
|
Grid.Row="3"
|
|
Margin="5,5,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 Height="30" />
|
|
<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>
|
|
|
|
<ContentControl
|
|
x:Name="UserDefineContentControl"
|
|
Grid.Row="1"
|
|
prism:RegionManager.RegionName="UserDefineContentRegion" />
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
</Grid>
|
|
</UserControl>
|