From 24068547ed1396034f56c7bd34ecbd2891f00653 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 10 五月 2021 17:39:28 +0800 Subject: [PATCH] 代码优化 --- HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPage.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPage.cs index 55ef055..3c87ac3 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPage.cs @@ -129,10 +129,10 @@ }; //controlView.AddChidren(btnCollection); //2020-12-16 濡傛灉鏄垚鍛橀殣钘忔敹钘忓姛鑳� - if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) - { - controlView.AddChidren(btnCollection); - } + //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) + //{ + // controlView.AddChidren(btnCollection); + //} curtainSeekBar = new CurtainRollSeekBarOn() { @@ -201,8 +201,8 @@ Y = Application.GetRealHeight(466), Width = Application.GetMinRealAverage(32), Height = Application.GetMinRealAverage(32), - UnSelectedImagePath = "FunctionIcon/Curtain/CurtainCloseIcon.png", - SelectedImagePath = "FunctionIcon/Curtain/CurtainCloseOnIcon.png", + UnSelectedImagePath = "FunctionIcon/Curtain/CurtainDownIcon.png", + SelectedImagePath = "FunctionIcon/Curtain/CurtainDownIconOn.png", IsSelected = function.GetAttrState(FunctionAttributeKey.Percent) == "0", }; controlView.AddChidren(btnCurtainClose); @@ -224,8 +224,8 @@ Y = Application.GetRealHeight(466), Width = Application.GetMinRealAverage(32), Height = Application.GetMinRealAverage(32), - UnSelectedImagePath = "FunctionIcon/Curtain/CurtainOpenIcon.png", - SelectedImagePath = "FunctionIcon/Curtain/CurtainOpenOnIcon.png", + UnSelectedImagePath = "FunctionIcon/Curtain/CurtainUpIcon.png", + SelectedImagePath = "FunctionIcon/Curtain/CurtainUpIconOn.png", IsSelected = function.GetAttrState(FunctionAttributeKey.Percent) != "0", }; controlView.AddChidren(btnCurtainOpen); -- Gitblit v1.8.0