From 94d6591af7870ba0f1f7797310c07581d6fcd0b4 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期五, 04 十一月 2022 16:27:14 +0800
Subject: [PATCH] 2022年11月04日16:26:44

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |   49 ++++++++++++++++++++++++-------------------------
 1 files changed, 24 insertions(+), 25 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index acbc6c3..ac508a3 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -1073,30 +1073,29 @@
                         };
                         functionView.AddChidren(btnJMLogo);
 
-                        Button btnAcstPower = new Button()
-                        {
-                            X = Application.GetRealWidth(120),
-                            Y = specialList.Contains(index) ? Application.GetRealWidth(160) : Application.GetRealWidth(117),
-                            Width = Application.GetRealWidth(32),
-                            Height = Application.GetRealWidth(32),
-                            SelectedImagePath = "Public/PowerOpen.png",
-                            UnSelectedImagePath = "Public/PowerClose.png",
-                            IsSelected = functionOnCount > 0,
-                            Tag = item + "_AllControl",
-                        };
-                        functionView.AddChidren(btnAcstPower);
-                        btnAcstPower.MouseUpEventHandler = (sender, e) =>
-                        {
-                            btnAcstPower.IsSelected = !btnAcstPower.IsSelected;
-                            string onoff = btnAcstPower.IsSelected ? "on" : "off";
-                            Dictionary<string, string> d = new Dictionary<string, string>();
-                            d.Add(FunctionAttributeKey.OnOff, onoff);
-
-                            foreach (var temp in FunctionList.List.GetAcstParentList())
-                            {
-                                Control.Ins.SendWriteCommand(temp, d);
-                            }
-                        };
+                        //Button btnAcstPower = new Button()
+                        //{
+                        //    X = Application.GetRealWidth(120),
+                        //    Y = specialList.Contains(index) ? Application.GetRealWidth(160) : Application.GetRealWidth(117),
+                        //    Width = Application.GetRealWidth(32),
+                        //    Height = Application.GetRealWidth(32),
+                        //    SelectedImagePath = "Public/PowerOpen.png",
+                        //    UnSelectedImagePath = "Public/PowerClose.png",
+                        //    IsSelected = functionOnCount > 0,
+                        //    Tag = item + "_AllControl",
+                        //};
+                        //functionView.AddChidren(btnAcstPower);
+                        //btnAcstPower.MouseUpEventHandler = (sender, e) =>
+                        //{
+                        //    btnAcstPower.IsSelected = !btnAcstPower.IsSelected;
+                        //    string onoff = btnAcstPower.IsSelected ? "on" : "off";
+                        //    Dictionary<string, string> d = new Dictionary<string, string>();
+                        //    d.Add(FunctionAttributeKey.OnOff, onoff);
+                        //    foreach (var temp in FunctionList.List.GetAcstParentList())
+                        //    {
+                        //        Control.Ins.SendWriteCommand(temp, d);
+                        //    }
+                        //};
 
 
                         btnFunctionViewBg.MouseUpEventHandler = (sender, e) =>
@@ -1347,7 +1346,7 @@
                     {
                         lz = "en";
                     }
-                    string url = $"h5/index.html?homeId={DB_ResidenceData.Instance.CurrentRegion.id}&token={UserInfo.Current.AccessToken}&refresh_token={UserInfo.Current.RefreshToken}&url={HttpUtil.GlobalRequestHttpsHost}&language={lz}";
+                    string url = $"h5/index.html?homeId={DB_ResidenceData.Instance.CurrentRegion.id}&token={UserInfo.Current.AccessToken}&refresh_token={UserInfo.Current.RefreshToken}&url={OnAppConfig.Instance.RequestHttpsHost}&language={lz}";
                     Inverter.Ins.ShowWebviewFormUrl(url);
 
                     Inverter.Ins.H5Page.JSToNativeAction = (dictionary) =>

--
Gitblit v1.8.0