陈嘉乐
2020-12-01 307e554fb2ef6491d08afc58a6c0a852f44b4f46
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
@@ -77,8 +77,17 @@
            Y = Application.GetRealHeight(58),
            X = Application.GetRealWidth(295),
            UnSelectedImagePath = "LogicIcon/off.png",
            SelectedImagePath = "LogicIcon/on.png",
    };
        };
        /// <summary>
        /// 图标开关
        /// </summary>
        public Button btnclick= new Button
        {
            Width = Application.GetRealWidth(343),
            Height = Application.GetRealHeight(102),
        };
        /// <summary>
        /// View的方法
@@ -90,6 +99,7 @@
            frameLayout.AddChidren(btnWeekText);
            frameLayout.AddChidren(btnStateIcon);
            frameLayout.AddChidren(btnLienIcon);
            frameLayout.AddChidren(btnclick);
            frameLayout.AddChidren(btnSwitchIcon);
            return frameLayout;
        }