样式调整

This commit is contained in:
2026-04-25 10:42:04 +08:00
parent 2d91a579a9
commit 2d0e35de7c
2 changed files with 3 additions and 5 deletions

View File

@@ -194,7 +194,7 @@
</Grid.ColumnDefinitions>
<Border Grid.Row="0" Grid.Column="0" Background="#FFFFFF" CornerRadius="10"
BorderBrush="#E5E8E8" BorderThickness="1"
Padding="25,20" Margin="0,0,0,15" >
Padding="25,20" Margin="0,0,0,-15" >
<StackPanel Cursor="">
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="左目视野面积:" Style="{StaticResource LabelStyle}" />
@@ -219,7 +219,7 @@
<Border Grid.Column="1" Background="#FFFFFF" CornerRadius="10"
BorderBrush="#E5E8E8" BorderThickness="1"
Padding="25,20" Margin="31,0,19,15" >
Padding="25,20" Margin="31,0,19,-15" >
<StackPanel Cursor="">
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="右目视野面积:" Style="{StaticResource LabelStyle}"/>

View File

@@ -41,8 +41,6 @@ namespace 头罩视野.Views
//右目
private const int RightEyeStartAddress = 1218; // D1218
// 长按清除用
private bool _isClearPressed = false;
private Thread _clearThread;
@@ -89,7 +87,7 @@ namespace 头罩视野.Views
_plcReadTimer.Dispose();
_plcReadTimer = null;
//这个时候开始计算
AddPlcDataRow(LeftEyeDataList, RightEyeDataList)
AddPlcDataRow(LeftEyeDataList, RightEyeDataList);
}
}
//定时读取 PLC 数据