From f1a544260cba180bf555c7437c627de38d2b8dfe Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 24 八月 2021 16:57:19 +0800
Subject: [PATCH] 2021-08-24 1.修改大华SDK根据账号注册域名自动切换国内和海外域名

---
 HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
index 19fe9ea..0b70665 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
@@ -154,6 +154,14 @@
                                 this.RemoveFromParent();
                             };
                             break;
+                        case SPK.SensorEnvironment:
+                            var form2 = new AddSensorEnvironmentPage();
+                            form2.AddForm(device);
+                            form2.AddDeviceEvent = (functionObj) => {
+                                refreshView.BeginHeaderRefreshing();
+                                this.RemoveFromParent();
+                            };
+                            break;
                     }
                 };
             }

--
Gitblit v1.8.0