From 6abfddb8abb58b0590e137a0813b015dc2a62740 Mon Sep 17 00:00:00 2001 From: tfarcraw <123211521@163.com> Date: Sat, 1 Aug 2026 10:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PLCSharpWpf/VVMs/MainWindow/MainWindow.xaml | 2 +- PLCSharpWpf/VVMs/Robots/RobotsViewModel.cs | 2 +- .../Vision/VisionFlowHandler/Algorithm/BarcodeDecodeHandler.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PLCSharpWpf/VVMs/MainWindow/MainWindow.xaml b/PLCSharpWpf/VVMs/MainWindow/MainWindow.xaml index da7b986..fbca981 100644 --- a/PLCSharpWpf/VVMs/MainWindow/MainWindow.xaml +++ b/PLCSharpWpf/VVMs/MainWindow/MainWindow.xaml @@ -178,7 +178,7 @@ diff --git a/PLCSharpWpf/VVMs/Robots/RobotsViewModel.cs b/PLCSharpWpf/VVMs/Robots/RobotsViewModel.cs index 0019162..2a82889 100644 --- a/PLCSharpWpf/VVMs/Robots/RobotsViewModel.cs +++ b/PLCSharpWpf/VVMs/Robots/RobotsViewModel.cs @@ -53,7 +53,7 @@ namespace PLCSharp.VVMs.Robots set { SetProperty(ref _SelectedRobot, value); - + if (value == null) return; switch (_SelectedRobot.Type) { case RobotType.Undefined: diff --git a/PLCSharpWpf/VVMs/Vision/VisionFlowHandler/Algorithm/BarcodeDecodeHandler.cs b/PLCSharpWpf/VVMs/Vision/VisionFlowHandler/Algorithm/BarcodeDecodeHandler.cs index 4b9b51d..f9d8807 100644 --- a/PLCSharpWpf/VVMs/Vision/VisionFlowHandler/Algorithm/BarcodeDecodeHandler.cs +++ b/PLCSharpWpf/VVMs/Vision/VisionFlowHandler/Algorithm/BarcodeDecodeHandler.cs @@ -321,7 +321,7 @@ namespace PLCSharp.VVMs.Vision.VisionFlowHandler.Algorithm Y1 = ty, Text = decodedText.Length > 60 ? decodedText[..60] + "…" : decodedText, Color = Colors.Lime, - FontSize = 14, + FontSize = 48, }); } else