更新LIN 的驱动
This commit is contained in:
@@ -579,6 +579,45 @@
|
||||
|
||||
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5,0,5,0"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="/Assets/Fonts/#iconfont"
|
||||
FontSize="18"
|
||||
Foreground="DodgerBlue"
|
||||
Text="" />
|
||||
<TextBlock
|
||||
Width="auto"
|
||||
Foreground="DodgerBlue"
|
||||
Style="{StaticResource TextBlockStyle}"
|
||||
Text="LIN使能" />
|
||||
<ToggleButton
|
||||
Width="70"
|
||||
Margin="10,0,0,0"
|
||||
Command="{Binding LinHandEnableCmd}"
|
||||
CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
|
||||
FontSize="8"
|
||||
ToolTip="使能时:触发报文中使能;禁用时:触发报文中使能=False">
|
||||
<ToggleButton.Style>
|
||||
<Style BasedOn="{StaticResource MaterialDesignSwitchToggleButton}" TargetType="ToggleButton">
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter Property="Content" Value="使能" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsChecked" Value="False">
|
||||
<Setter Property="Content" Value="禁用" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</ToggleButton.Style>
|
||||
</ToggleButton>
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
|
||||
Reference in New Issue
Block a user