From f500e14c0a994487070380c50c85e0929cbc8e63 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 05 一月 2021 10:48:04 +0800
Subject: [PATCH] 2021-01-05 1.更新

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/HelpView.cs |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/HelpView.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/HelpView.cs
index 1e0b479..1d1ef14 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/HelpView.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Schedule/HelpView.cs
@@ -29,6 +29,24 @@
             };
             topView.AddChidren (title);
 
+            title.MouseLongEventHandler += (sd, ds) => {
+//#if DEBUG
+                try {
+                    ////2020-01-15 闀挎寜鏄剧ず褰撳墠浣忓畢ID
+                    //new Alert ("", UserConfig.Instance.CurrentRegion.Id, "close").Show ();
+
+                    //2020-04-23 闀挎寜鍚敤 Remote DEBUG Tip
+                    SmartHome.MqttCommon.IfDEBUG = !SmartHome.MqttCommon.IfDEBUG;
+                    string mes = "Remote DEBUG Tip" + (SmartHome.MqttCommon.IfDEBUG ? "Open" : "Close");
+                    new Alert ("", mes, "close").Show ();
+
+
+                } catch { }
+//#endif
+
+            };
+
+
             var back = new Button () {
                 Height = Application.GetRealHeight (100),
                 Width = Application.GetRealWidth (85),
@@ -67,6 +85,16 @@
                 TextAlignment = TextAlignment.CenterLeft,
             };
             msgView.AddChidren (btnTitle);
+
+            btnTitle.MouseLongEventHandler += (sd, ds) => {
+                //#if DEBUG
+                try {
+                    ////2020-06-10 闀挎寜鏄剧ず褰撳墠浣忓畢ID
+                    new Alert ("", UserConfig.Instance.CurrentRegion.Id, "close").Show ();
+                } catch { }
+                //#endif
+
+            };
 
             var btnPhone = new Button () { 
                 X = Application.GetRealWidth(30),
@@ -122,6 +150,8 @@
             };
             AddChidren (btnFAQ);
 
+   
+
             var btnLine = new Button () { 
                 Y = btnFAQ.Bottom,
                 BackgroundColor = SkinStyle.Current.Black50Transparent,

--
Gitblit v1.8.0