陈嘉乐
2020-11-25 1761bbd82d7c1251283e3baa9b519204e456b2f8
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);