From d1b72117058f1131046b6aa3add8e3ccfae033d8 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 10:36:07 +0800
Subject: [PATCH] docs: CAN 模拟器独立 TCP 服务进程设计规格(统一 CanDeviceDriver + 双工推送协议)
---
Plugin.TsExecution/SingleControl.xaml | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/Plugin.TsExecution/SingleControl.xaml b/Plugin.TsExecution/SingleControl.xaml
index 8a31373..4bbacd5 100644
--- a/Plugin.TsExecution/SingleControl.xaml
+++ b/Plugin.TsExecution/SingleControl.xaml
@@ -12,6 +12,7 @@
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Loaded="UserControl_Loaded"
Background="#ccc6c7"
+ PreviewMouseRightButtonDown="control_PreviewMouseRightButtonDown"
FontSize="{Binding ActualHeight,RelativeSource={RelativeSource AncestorType=UserControl},
Converter={StaticResource hfc}, ConverterParameter='12,816'}"
x:Name="control"
@@ -125,8 +126,7 @@
</Label>
<Label Content="{Binding Status}" VerticalAlignment="Center" VerticalContentAlignment="Center"
- Padding="0"
- Margin="0"
+ Padding="0" Margin="0"
HorizontalContentAlignment="Center"
Foreground="#FFF"
FontWeight="Bold"
@@ -456,7 +456,13 @@
VerticalContentAlignment="Center" Content="{DynamicResource Ts.ProbeCount}"/>
<Label Padding="0" FontSize="12" Margin="0,0,15,0"
VerticalAlignment="Center"
-VerticalContentAlignment="Center" Content="{Binding ProbeCount}"/>
+VerticalContentAlignment="Center">
+ <TextBlock>
+ <Run Text="{Binding ProbeCount}"/>
+ <Run Text="/"/>
+ <Run Text="{Binding ProbeWarn,Mode=OneWay}"/>
+ </TextBlock>
+ </Label>
<StackPanel x:Name="probeWarnPanel" Orientation="Horizontal" Visibility="Collapsed">
<Label x:Name="alarmLabel" Padding="0" FontSize="12"
@@ -464,7 +470,7 @@
VerticalContentAlignment="Center" Content="{DynamicResource Ts.ProbeAlarmCount}"/>
<Label x:Name="alarmValue" Padding="0" FontSize="12"
VerticalAlignment="Center"
-VerticalContentAlignment="Center" Content="{Binding ProbeWarn}"/>
+VerticalContentAlignment="Center" Content="{Binding ProbeWarn,Mode=OneWay}"/>
</StackPanel>
<Button FontSize="12" Style="{StaticResource LinkButton}"
--
Gitblit v1.9.1