From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 06 七月 2021 09:39:03 +0800
Subject: [PATCH] 2021-07-06 1.更新

---
 HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage_AddIrButton.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage_AddIrButton.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage_AddIrButton.cs
index c4482f9..341c300 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage_AddIrButton.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage_AddIrButton.cs
@@ -9,8 +9,11 @@
 {
     public class AcControlPage_AddIrButton : FrameLayout
     {
-        public AcControlPage_AddIrButton()
+        Action action;
+
+        public AcControlPage_AddIrButton(Action act)
         {
+            action = act;
         }
         public void Show(Function control)
         {
@@ -139,6 +142,8 @@
                      {
                          control.attributes.Add(new FunctionAttributes() { key = buttonObj.key, value = new System.Collections.Generic.List<string>() { buttonObj.value } });
                          this.RemoveFromParent();
+                         action?.Invoke();
+                         //new TipPopView().FlashingBox(Language.StringByID(StringId.tianjiachenggong));
                      }
                      else
                      {

--
Gitblit v1.8.0