From 1761bbd82d7c1251283e3baa9b519204e456b2f8 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 25 十一月 2020 16:50:55 +0800 Subject: [PATCH] 2020-11-25-1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SelectTypeView.cs | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SelectTypeView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SelectTypeView.cs index 1f55cbe..f702cc6 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SelectTypeView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SelectTypeView.cs @@ -66,6 +66,21 @@ TextAlignment = TextAlignment.CenterLeft, Visible = false, }; + + /// <summary> + /// 锛堟潯浠舵垨鑰呯洰鏍囷級璁惧鐘舵�佹枃鏈弿杩� + /// </summary> + public Button btnState = new Button + { + TextSize = TextSize.text12, + Width = Application.GetRealWidth(130), + Height = Application.GetRealHeight(17), + TextColor = CSS.CSS_Color.textCancelColor, + Y = Application.GetRealHeight(17), + X = Application.GetRealWidth(375-48-130), + TextAlignment = TextAlignment.CenterRight, + Visible=false, + }; /// <summary> /// 鍥炬爣 /// </summary> @@ -108,6 +123,7 @@ frameLayout.AddChidren(btnText); frameLayout.AddChidren(btnDeviceName); frameLayout.AddChidren(btnRoomName); + frameLayout.AddChidren(btnState); frameLayout.AddChidren(btnNextIcon); btnLine.Y = frameLayout.Height - 1; frameLayout.AddChidren(btnLine); -- Gitblit v1.8.0