From 02a4825ca5d4f7b3edcd3f47fec66c2672f7253e Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 23 十二月 2020 15:35:56 +0800 Subject: [PATCH] 2020-12-23-3 --- HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs index 446a903..76de907 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs @@ -501,14 +501,10 @@ private void BrightnessMethod(Entity.Function device, Button button, string titleName) { #region 鐣岄潰 - FrameLayout frame = new FrameLayout - { - BackgroundColor = CSS.CSS_Color.viewTrans60lucence, - }; - this.AddChidren(frame); + //涔嬪墠鐨勭姸鎬佸�� string stateVlaue = button.Text; LogicView.BrightnessView brightness = new LogicView.BrightnessView(); - brightness.FLayoutView(frame, titleName, stateVlaue, (brightnesValue) => + brightness.FLayoutView(this, titleName, stateVlaue, (brightnesValue) => { //鐣岄潰鏄剧ず閫変腑鍊� button.Text = brightnesValue+"%"; -- Gitblit v1.8.0