alielie
2026-04-23 ef52fd6fd07508883dce4eb002acda59f0169e59
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>