From d0ded5cd9bf5070a120bad58b5be21fe2ac6a4ff Mon Sep 17 00:00:00 2001
From: C3032 <C3032@BC3032>
Date: 星期六, 20 十二月 2025 16:41:09 +0800
Subject: [PATCH] test

---
 IDViewer_2D/ResultJudge.xaml |   68 ++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 0 deletions(-)

diff --git a/IDViewer_2D/ResultJudge.xaml b/IDViewer_2D/ResultJudge.xaml
new file mode 100644
index 0000000..be57d30
--- /dev/null
+++ b/IDViewer_2D/ResultJudge.xaml
@@ -0,0 +1,68 @@
+锘�<Window x:Class="SmartScanner.ResultJudge"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:SmartScanner"
+        mc:Ignorable="d"
+        Title="妫�娴嬫柟妗堢紪杈�" Height="600" Width="450">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="1*"/>
+            <RowDefinition Height="15*"/>
+            <RowDefinition Height="1*"/>
+        </Grid.RowDefinitions>
+
+        <TextBlock Grid.Row="0" Text="妫�娴嬫柟妗堢紪杈戝櫒" FontSize="16" FontWeight="Bold" Margin="0,0,0,10"/>
+
+        <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
+            <ItemsControl ItemsSource="{Binding JudgmentPoints}">
+                <ItemsControl.ItemTemplate>
+                    <DataTemplate>
+                        <Border BorderBrush="LightGray" BorderThickness="1" Margin="0,5" Padding="10">
+                            <Grid>
+                                <Grid.ColumnDefinitions>
+                                    <ColumnDefinition Width="Auto"/>
+                                    <ColumnDefinition Width="*"/>
+                                </Grid.ColumnDefinitions>
+
+                                <TextBlock Grid.Column="0" Text="{Binding PointNumber}" 
+                                           FontWeight="Bold" VerticalAlignment="Center" Margin="0,0,10,0"/>
+
+                                <StackPanel Grid.Column="1">
+                                    <StackPanel Orientation="Horizontal" Margin="0,0,0,5">
+                                        <TextBlock Text="鐩爣鏁伴噺:" Width="80"/>
+                                        <ComboBox ItemsSource="{Binding DataContext.TargetCountOptions, RelativeSource={RelativeSource AncestorType=Window}}"
+                                                  SelectedItem="{Binding TargetCount}" Width="50"/>
+                                    </StackPanel>
+
+                                    <StackPanel Orientation="Horizontal" Margin="0,0,0,5">
+                                        <TextBlock Text="寰楀垎闃堝��:" Width="80"/>
+                                        <TextBox Text="{Binding ScoreThreshold}" Width="50"/>
+                                    </StackPanel>
+
+                                    <ItemsControl ItemsSource="{Binding TargetConditions}" Margin="10,0,0,0">
+                                        <ItemsControl.ItemTemplate>
+                                            <DataTemplate>
+                                                <StackPanel Orientation="Horizontal" Margin="0,0,0,5">
+                                                    <TextBlock Text="鐩爣绫诲瀷:" Width="80"/>
+                                                    <ComboBox ItemsSource="{Binding DataContext.TargetTypeOptions, RelativeSource={RelativeSource AncestorType=Window}}"
+                          SelectedItem="{Binding TargetType}" Width="50"/>
+                                                </StackPanel>
+                                            </DataTemplate>
+                                        </ItemsControl.ItemTemplate>
+                                    </ItemsControl>
+                                </StackPanel>
+                            </Grid>
+                        </Border>
+                    </DataTemplate>
+                </ItemsControl.ItemTemplate>
+            </ItemsControl>
+        </ScrollViewer>
+
+        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,0,0">
+            <Button x:Name="LoadConfig_RJ" Content="鍔犺浇閰嶇疆" Width="80" Margin="0,0,10,0" Command="{Binding LoadCommand}"/>
+            <Button x:Name="SaveConfig_RJ" Content="淇濆瓨閰嶇疆" Width="80" Command="{Binding SaveCommand}"/>
+        </StackPanel>
+    </Grid>
+</Window>

--
Gitblit v1.9.3