From 3bedb23993745f97e5870eca160c9f00c053c44c Mon Sep 17 00:00:00 2001 From: JLChen <jlchen@JLChendeMac.local> Date: 星期五, 14 五月 2021 18:55:30 +0800 Subject: [PATCH] 实现门锁的UI --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs index 44e7821..4fdf8ed 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs @@ -131,12 +131,12 @@ UnSelectedImagePath = "Collection/CollectionGrayIcon.png", IsSelected = function.collect }; - //controlView.AddChidren(btnCollection); + controlView.AddChidren(btnCollection); //2020-12-16 濡傛灉鏄垚鍛橀殣钘忔敹钘忓姛鑳� - if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) - { - controlView.AddChidren(btnCollection); - } + //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) + //{ + // controlView.AddChidren(btnCollection); + //} arcBar = new DiyArcSeekBar() { @@ -234,7 +234,10 @@ Height = Application.GetRealWidth(30), UnSelectedImagePath = fhTemp.GetModeIconPath(function.GetAttrState(FunctionAttributeKey.Mode)) }; - controlView.AddChidren(btnMode); + if (function.GetAttribute(FunctionAttributeKey.Mode)!=null) + { + controlView.AddChidren(btnMode); + } btnSwitch = new Button() { -- Gitblit v1.8.0