变量的更改

This commit is contained in:
2025-07-04 22:16:28 +08:00
parent 61035aaf2e
commit f703e18523
28 changed files with 3758 additions and 1525 deletions

View File

@@ -133,7 +133,7 @@
</StackPanel>
</Border>
<Border>
<Border Width="220">
<Border.Style>
<Style BasedOn="{StaticResource BoardStyle}" TargetType="Border">
<Style.Triggers>
@@ -143,34 +143,44 @@
</Style.Triggers>
</Style>
</Border.Style>
<StackPanel Style="{StaticResource StackPanelStyle}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<StackPanel Style="{StaticResource StackPanelStyle}">
<TextBlock
Margin="5,0,5,0"
VerticalAlignment="Center"
FontFamily="/Assets/Fonts/#iconfont"
FontSize="16"
Foreground="White"
Text="&#xe776;" />
<TextBlock
FontSize="16"
Foreground="White"
Text="PLC通信:" />
<TextBlock
Margin="5,0"
FontSize="16"
Foreground="White"
Text="{Binding MachineRtDataService.LinkState, Converter={StaticResource BoolOkStrConvert}}" />
<TextBlock
Margin="2,0"
FontSize="16"
Foreground="White"
Text="|" />
</StackPanel>
<TextBlock
Margin="5,0,5,0"
Grid.Column="1"
Margin="5,0"
VerticalAlignment="Center"
FontFamily="/Assets/Fonts/#iconfont"
FontSize="16"
Foreground="White"
Text="&#xe776;" />
<TextBlock
FontSize="16"
Foreground="White"
Text="PLC通信:" />
<TextBlock
Margin="5,0"
FontSize="16"
Foreground="White"
Text="{Binding MachineRtDataService.LinkState, Converter={StaticResource BoolOkStrConvert}}" />
<TextBlock
Margin="2,0"
FontSize="16"
Foreground="White"
Text="|" />
<TextBlock
Margin="5,0"
FontSize="16"
Foreground="White"
Text="{Binding ConfigService.PlcCycleTime}" />
</StackPanel>
</Grid>
</Border>
<Border>
<Border.Style>