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.ModelManage/DataModal.xaml | 77 ++++++++++++++++++++++++++++++++++++++
1 files changed, 77 insertions(+), 0 deletions(-)
diff --git a/Plugin.ModelManage/DataModal.xaml b/Plugin.ModelManage/DataModal.xaml
new file mode 100644
index 0000000..a90cd95
--- /dev/null
+++ b/Plugin.ModelManage/DataModal.xaml
@@ -0,0 +1,77 @@
+锘�<pu:WindowX x:Class="Plugin.ModelManage.DataModal"
+ 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:Plugin.ModelManage"
+ 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"
+ xmlns:pde="clr-namespace:Plugin.ModelManage.Entity"
+ xmlns:sys="clr-namespace:System;assembly=mscorlib"
+ mc:Ignorable="d"
+ Title="Form"
+ SizeToContent="Height"
+ Width="600"
+ WindowStartupLocation="CenterOwner"
+ Style="{StaticResource ModalWindow}">
+ <Window.Resources>
+ <!--<ObjectDataProvider x:Key="enumValues"
+ MethodName="GetValues"
+ ObjectType="{x:Type sys:Enum}">
+ <ObjectDataProvider.MethodParameters>
+ <x:Type TypeName="pde:ControlType"/>
+ </ObjectDataProvider.MethodParameters>
+ </ObjectDataProvider>
+
+ <ObjectDataProvider x:Key="dioType"
+ MethodName="GetValues"
+ ObjectType="{x:Type sys:Enum}">
+ <ObjectDataProvider.MethodParameters>
+ <x:Type TypeName="pde:DIOType"/>
+ </ObjectDataProvider.MethodParameters>
+ </ObjectDataProvider>-->
+ </Window.Resources>
+ <Grid Margin="10">
+ <StackPanel x:Name="formPanel">
+ <pu:FormGroup x:Name="FgModel"
+ Header="鍨嬪彿"
+ Style="{StaticResource InputFormGroupStyle}"
+ dp:FormGroupHelper.IsRequired="True"
+ dp:FormGroupHelper.ValidateMethod="ValidateModel"
+ GroupName="MyFormGroup">
+ <TextBox x:Name="TbModel" Style="{StaticResource EditorTextBoxStyle}" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgCodeLength" Header="鏉$爜闀垮害"
+ Style="{StaticResource InputFormGroupStyle}"
+ dp:FormGroupHelper.IsRequired="True"
+ GroupName="MyFormGroup">
+ <pu:NumberInput x:Name="NiCodeLength" Style="{StaticResource FormNumberInput}" />
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgStartIndex" Header="璧峰涓嬫爣"
+Style="{StaticResource InputFormGroupStyle}"
+dp:FormGroupHelper.IsRequired="True"
+GroupName="MyFormGroup">
+ <pu:NumberInput x:Name="NiStartIndex" Style="{StaticResource FormNumberInput}" />
+ </pu:FormGroup>
+
+ <!--<pu:FormGroup x:Name="FgLength" Header="鎴彇闀垮害"
+Style="{StaticResource InputFormGroupStyle}"
+dp:FormGroupHelper.IsRequired="True"
+GroupName="MyFormGroup">
+ <pu:NumberInput x:Name="NiLength" Style="{StaticResource FormNumberInput}" />
+ </pu:FormGroup>-->
+
+ <pu:FormGroup x:Name="FgFixcode"
+Header="鍥哄畾鐮�"
+Style="{StaticResource InputFormGroupStyle}"
+dp:FormGroupHelper.IsRequired="True"
+ dp:FormGroupHelper.ValidateMethod="ValidateFixcode"
+GroupName="MyFormGroup">
+ <TextBox x:Name="TbFixcode" Style="{StaticResource EditorTextBoxStyle}" />
+ </pu:FormGroup>
+ </StackPanel>
+ </Grid>
+</pu:WindowX>
--
Gitblit v1.9.1