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