wxr
2021-02-23 34d49c20c2c2543658e844847c5eaa87f4c954e9
HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -27,9 +27,13 @@
        /// </summary>
        void CheckLinkStatus()
        {
            if (Control.Ins.GatewayOnline)
            if (!Control.Ins.GatewayOnline_Local && !Control.Ins.GatewayOnline_Cloud)
            {
                if (Control.Ins.IsRemote)
                bodyView.btnLinkStateTip.BackgroundColor = CSS.CSS_Color.LinkTipFail;
            }
            else
            {
                if (Control.Ins.GatewayOnline_Cloud)
                {
                    bodyView.btnLinkStateTip.BackgroundColor = CSS.CSS_Color.MainColor;
                }
@@ -37,10 +41,6 @@
                {
                    bodyView.btnLinkStateTip.BackgroundColor = CSS.CSS_Color.LinkTipRemote;
                }
            }
            else
            {
                bodyView.btnLinkStateTip.BackgroundColor = CSS.CSS_Color.LinkTipFail;
            }
        }
@@ -133,8 +133,16 @@
                btnChangeScene.IsBold = false;
                CurShowTypeIsFunction = true;
                contentView.PageIndex = 0;
            };
            //var client = new BlufiClient();
            //client.PostPackageLengthLimit = 128;
            //client.RequestDeviceScan();
            //client.RequestDeviceStatus();
            //client.BlufiDelegate.Blufi_DidReceiveDeviceScanResponse();
            btnChangeScene.MouseUpEventHandler = (sender, e) =>
            {
                btnChangeScene.IsSelected = true;