样式调整
This commit is contained in:
@@ -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}"/>
|
||||
|
||||
@@ -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 数据
|
||||
|
||||
Reference in New Issue
Block a user