From fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 17:59:45 +0800
Subject: [PATCH] feat: 集成CAN驱动/模拟器 + 仪器仪表注册/硬件调试模块

---
 Plugin.TsExecution/SingleControl.xaml |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/Plugin.TsExecution/SingleControl.xaml b/Plugin.TsExecution/SingleControl.xaml
index 16720c0..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"
@@ -455,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" 
@@ -463,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