From 1afe548ac40cc7f975917ef9bf2e156595cf81f3 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 16 四月 2026 08:58:04 +0800
Subject: [PATCH] 优化;

---
 HMI.ParameterManage/SettingModal.xaml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/HMI.ParameterManage/SettingModal.xaml b/HMI.ParameterManage/SettingModal.xaml
index 37370f6..1078321 100644
--- a/HMI.ParameterManage/SettingModal.xaml
+++ b/HMI.ParameterManage/SettingModal.xaml
@@ -19,6 +19,13 @@
     <Grid Margin="10">
         <StackPanel x:Name="formPanel">
 
+            <pu:FormGroup x:Name="FgProductName"  Visibility="Collapsed"
+              Header="{DynamicResource Pm.Product.Name}" 
+              dp:FormGroupHelper.IsRequired="True" 
+              GroupName="MyFormGroup">
+                <TextBox x:Name="TbProductName" IsReadOnly="True" Style="{StaticResource EditorTextBoxStyle}" />
+            </pu:FormGroup>
+
             <pu:FormGroup x:Name="FgName"
                           dp:FormGroupHelper.ValidateMethod="ValidateName"
                           Header="{DynamicResource Pm.Parameter.Name}" 
@@ -37,6 +44,14 @@
                     <ComboBoxItem>Bool</ComboBoxItem>
                     <ComboBoxItem>String</ComboBoxItem>
                 </ComboBox>
+            </pu:FormGroup>
+
+            <pu:FormGroup x:Name="FgIsArray" Header="IsArray" dp:FormGroupHelper.IsRequired="True" GroupName="MyFormGroup">
+                <CheckBox x:Name="CbIsArray" Checked="CbIsArray_Checked" Unchecked="CbIsArray_Checked"/>
+            </pu:FormGroup>
+
+            <pu:FormGroup x:Name="FgLength" Visibility="Collapsed" Header="Length" dp:FormGroupHelper.IsRequired="True" GroupName="MyFormGroup">
+                <ui:NumberInput x:Name="NiLength" TextChanged="NiLength_TextChanged" Style="{StaticResource EditorTextBoxStyle}"/>
             </pu:FormGroup>
 
             <pu:FormGroup x:Name="FgValue" Style="{StaticResource RequiredInputFormGroupStyle}" 
@@ -58,6 +73,8 @@
                         <TextBox x:Name="TbStringValue" Style="{StaticResource EditorTextBoxStyle}"/>
                         <Button Grid.Column="1" Click="Button_Click" Style="{StaticResource SearchButton}"/>
                     </Grid>
+                    <DataGrid Visibility="Collapsed" 
+                              x:Name="arrayInput" MinHeight="100" MaxHeight="200" CanUserAddRows="False" CanUserDeleteRows="False"></DataGrid>
                 </Grid>
             </pu:FormGroup>
 

--
Gitblit v1.9.1