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.Core/Exceptions/FormValidateException.cs |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/HMI.Core/Exceptions/FormValidateException.cs b/HMI.Core/Exceptions/FormValidateException.cs
new file mode 100644
index 0000000..765b080
--- /dev/null
+++ b/HMI.Core/Exceptions/FormValidateException.cs
@@ -0,0 +1,34 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace HMI.Core.Exceptions
+{
+    public class FormValidateException : Exception
+    {
+        public readonly List<FormGroupValidateResult> Result;
+        public bool Success
+        {
+            get => Result == null || Result.Count == 0;
+        }
+
+        public FormValidateException()
+        {
+            Result = new List<FormGroupValidateResult>();
+        }
+    }
+
+    public class FormGroupValidateResult
+    {
+        public readonly string Message;
+        public readonly object Sender;
+
+        public FormGroupValidateResult(string message, object sender)
+        {
+            Message = message;
+            Sender = sender;
+        }
+    }
+}

--
Gitblit v1.9.1