From df8d4ab0ef17a7fab5dea9c47bbd9f4d4a2a40b0 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 15 三月 2021 14:55:49 +0800 Subject: [PATCH] 合并前上传一个版本 --- HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs index a119c53..85125ca 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPage.cs @@ -141,7 +141,7 @@ Height = Application.GetRealWidth(177), Progress = curtain.percent, ProgressTextColor =0x00000000, - IsInvertedProgress = true, + //IsInvertedProgress = true, }; controlView.AddChidren(curtainSeekBar); @@ -202,6 +202,7 @@ Height = Application.GetMinRealAverage(32), UnSelectedImagePath = "FunctionIcon/Curtain/CurtainCloseIcon.png", SelectedImagePath = "FunctionIcon/Curtain/CurtainCloseOnIcon.png", + IsSelected = curtain.GetAttrState(FunctionAttributeKey.Percent) == "0" }; controlView.AddChidren(btnCurtainClose); @@ -224,6 +225,7 @@ Height = Application.GetMinRealAverage(32), UnSelectedImagePath = "FunctionIcon/Curtain/CurtainOpenIcon.png", SelectedImagePath = "FunctionIcon/Curtain/CurtainOpenOnIcon.png", + IsSelected = curtain.GetAttrState(FunctionAttributeKey.Percent) != "0" }; controlView.AddChidren(btnCurtainOpen); -- Gitblit v1.8.0