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 作为历史根节点
---
HMI.ParameterManage/TestItemModal.xaml | 71 +++++++++++++++++++++++++++++++++++
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/HMI.ParameterManage/TestItemModal.xaml b/HMI.ParameterManage/TestItemModal.xaml
new file mode 100644
index 0000000..87ce82f
--- /dev/null
+++ b/HMI.ParameterManage/TestItemModal.xaml
@@ -0,0 +1,71 @@
+锘�<pu:WindowX x:Class="HMI.ParameterManage.TestItemModal"
+ 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:HMI.ParameterManage"
+ xmlns:pw="https://opensource.panuon.com/wpf"
+ xmlns:pu="https://opensource.panuon.com/wpf-ui"
+ xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
+ xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
+ mc:Ignorable="d"
+ Title="Form"
+ SizeToContent="Height"
+ Width="600"
+ WindowStartupLocation="CenterOwner"
+ BorderBrush="#3E3E45"
+ BorderThickness="1"
+ Foreground="Black"
+ Style="{StaticResource ModalWindow}">
+ <Grid Margin="10">
+ <StackPanel x:Name="formPanel">
+ <pu:FormGroup x:Name="FgName" Style="{StaticResource InputFormGroupStyle}"
+ Header="{DynamicResource Pm.Ti.Name}" GroupName="MyFormGroup"
+ dp:FormGroupHelper.IsRequired="True"
+ dp:FormGroupHelper.ValidateMethod="ValidateName">
+ <TextBox x:Name="TbName" Style="{StaticResource EditorTextBoxStyle}" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgType" Style="{StaticResource InputFormGroupStyle}"
+ Header="{DynamicResource Pm.Ti.Type}"
+ dp:FormGroupHelper.IsRequired="True" GroupName="MyFormGroup">
+ <ComboBox x:Name="CbType" Style="{StaticResource FormComboxStyle}" SelectedValuePath="Content">
+ <ComboBoxItem>PassFail</ComboBoxItem>
+ <ComboBoxItem>Int</ComboBoxItem>
+ <ComboBoxItem>Double</ComboBoxItem>
+ <ComboBoxItem>String</ComboBoxItem>
+ </ComboBox>
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgEnable" Style="{StaticResource InputFormGroupStyle}"
+ Header="{DynamicResource Pm.Ti.Shineng}" GroupName="MyFormGroup">
+ <CheckBox x:Name="CoEnable" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgLimitDown" Style="{StaticResource InputFormGroupStyle}"
+ Header="{DynamicResource Pm.Ti.LimitDown}" GroupName="MyFormGroup">
+ <pu:NumberInput x:Name="NiLimitDown" Style="{StaticResource FormNumberInput}" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgLimitUp" Style="{StaticResource InputFormGroupStyle}"
+Header="{DynamicResource Pm.Ti.LimitUp}" GroupName="MyFormGroup">
+ <pu:NumberInput x:Name="NiLimitUp" Style="{StaticResource FormNumberInput}" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgStrValue" Style="{StaticResource InputFormGroupStyle}"
+Header="{DynamicResource Pm.Ti.StrValue}" GroupName="MyFormGroup">
+ <TextBox x:Name="TbStrValue" Style="{StaticResource EditorTextBoxStyle}" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgOffset" Style="{StaticResource InputFormGroupStyle}"
+Header="{DynamicResource Pm.Ti.Offset}" GroupName="MyFormGroup">
+ <pu:NumberInput x:Name="NiOffset" Style="{StaticResource FormNumberInput}" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgSource" Style="{StaticResource InputFormGroupStyle}"
+Header="{DynamicResource Pm.Ti.Source}" GroupName="MyFormGroup">
+ <ComboBox x:Name="CbSource" SelectedValuePath="Content" Style="{StaticResource FormComboxStyle}" />
+ </pu:FormGroup>
+ </StackPanel>
+ </Grid>
+</pu:WindowX>
--
Gitblit v1.9.1