From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点

---
 Plugin.SeqEditor/SettingPanel/LoopPanel.xaml |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)

diff --git a/Plugin.SeqEditor/SettingPanel/LoopPanel.xaml b/Plugin.SeqEditor/SettingPanel/LoopPanel.xaml
new file mode 100644
index 0000000..741ccbd
--- /dev/null
+++ b/Plugin.SeqEditor/SettingPanel/LoopPanel.xaml
@@ -0,0 +1,104 @@
+锘�<UserControl x:Class="Plugin.SeqEditor.SettingPanel.LoopPanel"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
+             xmlns:local="clr-namespace:Plugin.SeqEditor.SettingPanel"
+             mc:Ignorable="d" 
+             xmlns:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
+             xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
+             xmlns:ui="clr-namespace:HMI.UI;assembly=HMI.UI"
+             xmlns:pw="https://opensource.panuon.com/wpf"
+             xmlns:pu="https://opensource.panuon.com/wpf-ui"
+             xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
+             Padding="5"
+             Background="#FFF"
+             d:DesignHeight="450" d:DesignWidth="800">
+    <Grid>
+        <StackPanel>
+            <pu:FormGroup Header="寰幆" Orientation="Vertical" 
+                          Style="{StaticResource InputFormGroupStyle}">
+                <ComboBox x:Name="CbLoopType" Style="{StaticResource FormComboxStyle}" SelectedValue="{Binding LoopType}"
+                          DisplayMemberPath="DisplayName" SelectedValuePath="DataValue"/>
+            </pu:FormGroup>
+
+            <pu:FormGroup Header="寰幆娆℃暟" Orientation="Vertical" 
+                          Style="{StaticResource InputFormGroupStyle}">
+                <ui:NumberInput Style="{StaticResource EditorTextBoxStyle}" Text="{Binding LoopCount}" />
+            </pu:FormGroup>
+
+            <pu:FormGroup Header="缁撴灉鍒ゆ柇" Orientation="Vertical">
+                <pu:FormGroup.Style>
+                    <Style TargetType="pu:FormGroup" BasedOn="{StaticResource InputFormGroupStyle}">
+                        <Setter Property="Visibility" Value="Collapsed"/>
+                        <Style.Triggers>
+                            <DataTrigger Binding="{Binding LoopType}" Value="FixedNumLoops">
+                                <Setter Property="Visibility" Value="Visible"/>
+                            </DataTrigger>
+                        </Style.Triggers>
+                    </Style>
+                </pu:FormGroup.Style>
+                <Border Padding="2" BorderThickness="1" BorderBrush="Gray" Background="#e8e8e8">
+                    <Grid>
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition Width="Auto"/>
+                            <ColumnDefinition/>
+                            <ColumnDefinition/>
+                            <ColumnDefinition Width="Auto"/>
+                        </Grid.ColumnDefinitions>
+                        <TextBlock Grid.Column="0" Text="澶辫触鐜�" Margin="0,0,5,0" VerticalAlignment="Center"/>
+                        <ComboBox Grid.Column="1" x:Name="CBLoopCondition" 
+                              pu:ComboBoxHelper.ClearButtonVisibility="Collapsed"
+                              Style="{StaticResource FormComboxStyle}" SelectedValue="{Binding LoopCondition}"
+DisplayMemberPath="DisplayName" SelectedValuePath="DataValue"/>
+                        <ui:NumberInput Grid.Column="2" Style="{StaticResource EditorTextBoxStyle}" Text="{Binding LoopMax}" />
+                        <TextBlock Grid.Column="3" Text="%娴嬭瘯PASS" VerticalAlignment="Center"/>
+                    </Grid>
+                </Border>
+            </pu:FormGroup>
+
+            <pu:FormGroup Header="缁撴灉鍒ゆ柇" Orientation="Vertical">
+                <pu:FormGroup.Style>
+                    <Style TargetType="pu:FormGroup" BasedOn="{StaticResource InputFormGroupStyle}">
+                        <Setter Property="Visibility" Value="Collapsed"/>
+                        <Style.Triggers>
+                            <DataTrigger Binding="{Binding LoopType}" Value="PassFailCount">
+                                <Setter Property="Visibility" Value="Visible"/>
+                            </DataTrigger>
+                        </Style.Triggers>
+                    </Style>
+                </pu:FormGroup.Style>
+                <Border Padding="2" BorderThickness="1" BorderBrush="Gray" Background="#e8e8e8">
+                    <Grid>
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition/>
+                            <ColumnDefinition/>
+                            <ColumnDefinition Width="Auto"/>
+                        </Grid.ColumnDefinitions>
+                        <ComboBox Grid.Column="0" x:Name="CBLoopCondition2" 
+                              pu:ComboBoxHelper.ClearButtonVisibility="Collapsed"
+                              Style="{StaticResource FormComboxStyle}" SelectedValue="{Binding LoopCondition}"
+DisplayMemberPath="DisplayName" SelectedValuePath="DataValue"/>
+                        <ui:NumberInput Grid.Column="1" Style="{StaticResource EditorTextBoxStyle}" Text="{Binding LoopMax}" />
+                        <TextBlock Grid.Column="2" Text="娆′箣鍚庣粨鏉熷惊鐜�" VerticalAlignment="Center"/>
+                    </Grid>
+                </Border>
+            </pu:FormGroup>
+
+            <pu:FormGroup Header="璇存槑" Orientation="Vertical" 
+                          Style="{StaticResource InputFormGroupStyle}">
+
+                <TextBox x:Name="TbRemark" IsReadOnly="True" 
+                         Style="{StaticResource EditorTextBoxStyle}" 
+                         Text="{Binding LoopDescription,Mode=OneWay}"/>
+            </pu:FormGroup>
+
+            <!--<pu:FormGroup Header="{DynamicResource se.adapter}" 
+        Orientation="Vertical"
+        Style="{StaticResource InputFormGroupStyle}">
+                <ComboBox x:Name="CbAdapter" Style="{StaticResource FormComboxStyle}" IsEnabled="False" SelectedValue="{Binding Adapter}" 
+                          DisplayMemberPath="DisplayName" SelectedValuePath="DataValue"/>
+            </pu:FormGroup>-->
+        </StackPanel>
+    </Grid>
+</UserControl>

--
Gitblit v1.9.1