wxr
2022-09-22 e48f135a906169f35cbd7a7144ed56201012c694
光伏卡片开关总数更新
2个文件已修改
17 ■■■■ 已修改文件
HDL_ON/UI/UI2/1-HomePage/HomePage.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -1238,7 +1238,7 @@
                Width = Application.GetRealWidth(160),
                Height = Application.GetRealHeight(105),
                BackgroundColor = CSS_Color.MainBackgroundColor,
                Radius = (uint)Application.GetRealWidth(5),
                Radius = (uint)Application.GetRealWidth(15),
            };
            view1.AddChidren(view);
@@ -1259,7 +1259,7 @@
            var btnLogo = new Button()
            {
                Y = Application.GetRealWidth(90),
                Y = Application.GetRealWidth(85),
                UnSelectedImagePath = "FunctionIcon/Acst/LvJianLogo.png",
                SelectedImagePath = "FunctionIcon/Acst/LvJianLogo.png",
                Width = Application.GetRealWidth(80),
@@ -1299,7 +1299,10 @@
                string onoff = btnAcstPower.IsSelected ? "on" : "off";
                Dictionary<string, string> d = new Dictionary<string, string>();
                d.Add(FunctionAttributeKey.OnOff, onoff);
                Control.Ins.SendWriteCommand(FunctionList.List.GetAcstParentList()[0], d);
                foreach(var temp in FunctionList.List.GetAcstParentList())
                {
                    Control.Ins.SendWriteCommand(temp, d);
                }
            };
           
HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -1090,7 +1090,11 @@
                            string onoff = btnAcstPower.IsSelected ? "on":"off";
                            Dictionary<string, string> d = new Dictionary<string, string>();
                            d.Add(FunctionAttributeKey.OnOff, onoff);
                            Control.Ins.SendWriteCommand(FunctionList.List.GetAcstParentList()[0], d);
                            foreach (var temp in FunctionList.List.GetAcstParentList())
                            {
                                Control.Ins.SendWriteCommand(temp, d);
                            }
                        };
@@ -1189,7 +1193,7 @@
                    TextColor = CSS_Color.MainColor,
                    TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
                    TextAlignment = TextAlignment.CenterLeft,
                    Text = FunctionList.List.InverterList().Count.ToString(),
                    Text = FunctionList.List.InverterList().FindAll((temp)=>temp.trait_on_off.ToString() == "on").Count.ToString(),
                    Tag = "inverter_onCount",
                    BorderWidth = 0,
                };