|
|
@@ -104,7 +104,10 @@ |
|
|
|
FontSize="16" |
|
|
|
Foreground="{StaticResource TitleFontColor}" |
|
|
|
Text="名称" /> |
|
|
|
<Border Cursor="SizeWE" BorderBrush="{StaticResource TitleBorderColor}" BorderThickness="1,0,1,0" /> |
|
|
|
<Border |
|
|
|
BorderBrush="{StaticResource TitleBorderColor}" |
|
|
|
BorderThickness="1,0,1,0" |
|
|
|
Cursor="SizeWE" /> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<TextBlock |
|
|
@@ -122,7 +125,10 @@ |
|
|
|
FontSize="16" |
|
|
|
Foreground="{StaticResource TitleFontColor}" |
|
|
|
Text="数据类型" /> |
|
|
|
<Border Cursor="SizeWE" BorderBrush="{StaticResource TitleBorderColor}" BorderThickness="1,0,1,0" /> |
|
|
|
<Border |
|
|
|
BorderBrush="{StaticResource TitleBorderColor}" |
|
|
|
BorderThickness="1,0,1,0" |
|
|
|
Cursor="SizeWE" /> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<TextBlock |
|
|
@@ -140,7 +146,10 @@ |
|
|
|
FontSize="16" |
|
|
|
Foreground="{StaticResource TitleFontColor}" |
|
|
|
Text="是否启用报警" /> |
|
|
|
<Border Cursor="SizeWE" BorderBrush="{StaticResource TitleBorderColor}" BorderThickness="0,0,1,0" /> |
|
|
|
<Border |
|
|
|
BorderBrush="{StaticResource TitleBorderColor}" |
|
|
|
BorderThickness="0,0,1,0" |
|
|
|
Cursor="SizeWE" /> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<TextBlock |
|
|
@@ -189,25 +198,24 @@ |
|
|
|
Foreground="{StaticResource FontColor}" |
|
|
|
Text="{Binding ID}" /> |
|
|
|
|
|
|
|
<Grid KeyDown="Grid_KeyDown" Grid.Column="1"> |
|
|
|
<Grid Grid.Column="1" KeyDown="Grid_KeyDown"> |
|
|
|
<TextBox |
|
|
|
Background="Transparent" |
|
|
|
CaretBrush="{StaticResource CursorColor}" |
|
|
|
Foreground="{StaticResource FontColor}" |
|
|
|
Style="{StaticResource InputTextboxStyle}" |
|
|
|
TabIndex="{Binding ID}" |
|
|
|
Text="{Binding VarName}" > |
|
|
|
</TextBox> |
|
|
|
Text="{Binding VarName}" /> |
|
|
|
<Border BorderBrush="{StaticResource BorderSolid}" BorderThickness="1,0,1,0" /> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<TextBox |
|
|
|
KeyDown="Grid_KeyDown" |
|
|
|
Grid.Column="2" |
|
|
|
Background="Transparent" |
|
|
|
CaretBrush="{StaticResource CursorColor}" |
|
|
|
Foreground="{StaticResource FontColor}" |
|
|
|
KeyDown="Grid_KeyDown" |
|
|
|
Style="{StaticResource InputTextboxStyle}" |
|
|
|
TabIndex="{Binding ID}" |
|
|
|
Text="{Binding Address}" /> |
|
|
@@ -463,7 +471,7 @@ |
|
|
|
|
|
|
|
<DataTemplate.Triggers> |
|
|
|
<Trigger Property="IsMouseOver" Value="true"> |
|
|
|
<Setter Property="Background" Value="#112AB2E7" TargetName="gr"/> |
|
|
|
<Setter TargetName="gr" Property="Background" Value="#112AB2E7" /> |
|
|
|
</Trigger> |
|
|
|
</DataTemplate.Triggers> |
|
|
|
|
|
|
|