From d8545fbd1b36a6766c57c987e5d89862b470fed9 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 03 九月 2020 09:46:29 +0800
Subject: [PATCH] 2020-09-03 1.修改风扇默认为关状态。2.Alexa添加设备时,去掉空调和通用开关选择添加支持。 3.场景增加通用开关添加和发送控制支持,Alexa 的场景同样增加通用开关的支持。

---
 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