From d53f7315de145266e6465d9f95d11d1712b9a91b Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 18 十二月 2020 20:55:28 +0800 Subject: [PATCH] 20201218-6 --- HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs index 8361ea9..372f594 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs @@ -134,7 +134,12 @@ UnSelectedImagePath = "Collection/CollectionGrayIcon.png", IsSelected = aC.collect }; - controlView.AddChidren(btnCollection); + //controlView.AddChidren(btnCollection); + //2020-12-16 濡傛灉鏄垚鍛橀殣钘忔敹钘忓姛鑳� + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + { + controlView.AddChidren(btnCollection); + } arcBar = new DiyArcSeekBar() { @@ -265,7 +270,12 @@ controlView.AddChidren(btnSwitch); LoadEventList(); - new TopViewDiv(bodyView,aC.name).LoadTopView_FunctionTop(aC, actionRefresh); + new TopViewDiv(bodyView,Language.StringByID(StringId.AC)).LoadTopView_FunctionTop(aC, actionRefresh); + new System.Threading.Thread(() => + { + DriverLayer.Control.Ins.SendReadCommand(aC); + }) + { IsBackground = true }.Start(); } /// <summary> /// 鍔犺浇淇敼妯″紡鍖哄煙 @@ -288,8 +298,6 @@ Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(287), BackgroundImagePath = "FunctionIcon/AC/DivBg1.png", - Animate = Animate.UpToDown, - AnimateSpeed = 0.3f }; dialogView.AddChidren(modeChangeView); @@ -411,9 +419,7 @@ Y = Application.GetRealHeight(172), Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(243), - AnimateSpeed = 0.3f, BackgroundImagePath = "FunctionIcon/AC/DivBg2.png", - Animate = Animate.UpToDown, }; dialogView.AddChidren(modeChangeView); -- Gitblit v1.8.0