JLChen
2021-01-05 f500e14c0a994487070380c50c85e0929cbc8e63
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,