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.AlermInfoManage/Modal/AlarmSettingModal.xaml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/HMI.AlermInfoManage/Modal/AlarmSettingModal.xaml b/HMI.AlermInfoManage/Modal/AlarmSettingModal.xaml
new file mode 100644
index 0000000..94f0e0a
--- /dev/null
+++ b/HMI.AlermInfoManage/Modal/AlarmSettingModal.xaml
@@ -0,0 +1,58 @@
+锘�<pu:WindowX x:Class="HMI.AlarmInfoManage.AlarmSettingModal"
+ 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.AlarmInfoManage"
+ 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:ui="clr-namespace:HMI.UI;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 Header="{DynamicResource Alm.DbAddress}"
+ dp:FormGroupHelper.IsRequired="True"
+ dp:FormGroupHelper.ValidateMethod="ValidateDBAddress"
+ GroupName="MyFormGroup">
+ <TextBox Style="{StaticResource EditorTextBoxStyle}"
+ x:Name="dbAddress"/>
+ </pu:FormGroup>
+
+ <pu:FormGroup Header="{DynamicResource Alm.StartAddress}" dp:FormGroupHelper.IsRequired="True"
+ GroupName="MyFormGroup">
+ <TextBox Style="{StaticResource EditorTextBoxStyle}"
+ x:Name="startAddress"/>
+ </pu:FormGroup>
+
+ <pu:FormGroup Header="{DynamicResource Alm.DbLength}" dp:FormGroupHelper.IsRequired="True"
+ GroupName="MyFormGroup">
+ <pu:NumberInput Style="{StaticResource FormNumberInput}" x:Name="length" Interval="1"/>
+ </pu:FormGroup>
+
+ <pu:FormGroup Header="鎶ヨ浠g爜" dp:FormGroupHelper.IsRequired="True" x:Name="FgCode"
+ GroupName="MyFormGroup">
+ <TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="TbCode"/>
+ </pu:FormGroup>
+
+ <pu:FormGroup Header="绾у埆" dp:FormGroupHelper.IsRequired="True" x:Name="FgLevel"
+ GroupName="MyFormGroup">
+ <pu:NumberInput Style="{StaticResource FormNumberInput}" x:Name="NiLevel"/>
+ </pu:FormGroup>
+
+ <pu:FormGroup x:Name="FgDesc" Header="{DynamicResource Alm.Description}" dp:FormGroupHelper.IsRequired="True"
+ GroupName="MyFormGroup">
+ <TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="TbDesc"/>
+ </pu:FormGroup>
+ </StackPanel>
+ </Grid>
+</pu:WindowX>
--
Gitblit v1.9.1