From 5e5b950e83dff438e64ce7e088aaa31455091b0c Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 07 七月 2021 14:57:42 +0800
Subject: [PATCH] 2021-7-7-1

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs
index 1783c17..50fd91a 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs
@@ -113,6 +113,12 @@
             ///涓嬩竴姝ョ殑鐐瑰嚮浜嬩欢
             saveBtn.MouseUpEventHandler += (sender, e) =>
             {
+                if (control.status.Count>29) {
+                    ///瓒呭嚭30涓孩澶栧疂鍐呭瓨婊′簡浼氬嚭鐜板紓甯�
+                    new PirMethod().ErrorShow(null, "娣诲姞鎸夐挳瓒呭嚭30涓�");
+                    return;
+                }
+
                 var texts = editText.Text.Trim();
                 if (string.IsNullOrEmpty(editText.Text))
                 {

--
Gitblit v1.8.0