From 559890c482f5973f06aafdfec9550fee5ba3c7f2 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 17:02:15 +0800
Subject: [PATCH] feat: CAN 模拟器 TCP 化 + 多设备并发调试 + 后台生命周期管理
---
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