From ecbf9d722cf59efe93cf60ee47e8782eca18eca6 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期六, 19 十二月 2020 13:22:55 +0800 Subject: [PATCH] 20201219-1 --- HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs index e898657..372f594 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPage.cs @@ -132,9 +132,14 @@ Height = Application.GetMinRealAverage(40), SelectedImagePath = "Collection/CollectionIcon.png", UnSelectedImagePath = "Collection/CollectionGrayIcon.png", - IsSelected = aC.collection + 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