仪表框更改和状态变量更改
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
UniformCornerRadius="2">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="2*" />
|
||||
<RowDefinition Height="2.2*" />
|
||||
<RowDefinition Height="3*" />
|
||||
<RowDefinition Height="1.5*" />
|
||||
</Grid.RowDefinitions>
|
||||
@@ -28,22 +28,22 @@
|
||||
Background="#404040"
|
||||
CornerRadius="3" />
|
||||
<StackPanel Margin="1,3,1,0">
|
||||
<DockPanel Margin="1,3">
|
||||
<DockPanel Margin="1,5,1,2">
|
||||
<TextBlock
|
||||
Margin="1,0,1,0"
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
FontSize="14"
|
||||
FontSize="13"
|
||||
Foreground="White"
|
||||
Text="PV" />
|
||||
<TextBlock
|
||||
Margin="0,0,0,0"
|
||||
Margin="1,0,0,0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="13"
|
||||
Foreground="White"
|
||||
Text="{Binding ElementName=MeterInstance, Path=PVValue}" />
|
||||
<TextBlock
|
||||
Margin="0,0"
|
||||
Margin="0,0,1,0"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Right"
|
||||
@@ -51,7 +51,7 @@
|
||||
Foreground="White"
|
||||
Text="{Binding ElementName=MeterInstance, Path=Unit}" />
|
||||
</DockPanel>
|
||||
<DockPanel Margin="1,-3,2,0">
|
||||
<DockPanel Margin="1,0,0,0">
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
@@ -60,7 +60,7 @@
|
||||
Foreground="Gold"
|
||||
Text="SV" />
|
||||
<TextBlock
|
||||
Margin="5,0,5,0"
|
||||
Margin="6,0,0,0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="16"
|
||||
Foreground="Gold"
|
||||
|
||||
Reference in New Issue
Block a user