陈嘉乐
2020-11-20 35a33afeeb29466c20ee39dc34e0468d687afce9
HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs
@@ -6,12 +6,13 @@
    {
        public AddInputType()
        {
            Tag = "Logic";
        }
        public void Show()
        {
            LogicView.TopView topView = new LogicView.TopView();
            this.AddChidren(topView.TopFLayoutView());
            this.AddChidren(topView.FLayoutView());
            topView.clickBackBtn.MouseUpEventHandler += (e, sen) =>
            {
                RemoveFromParent();
@@ -28,13 +29,13 @@
            this.AddChidren(viewLayout);
            #region 时间  功能
            //时间
            LogicView.SelectType timeView = new LogicView.SelectType();
            LogicView.SelectTypeView timeView = new LogicView.SelectTypeView();
            timeView.btnText.TextID = StringId.time;
            timeView.btnIcon.UnSelectedImagePath = "LogicIcon/timeicon.png";
            viewLayout.AddChidren(timeView.FLayoutView());
            //功能
            LogicView.SelectType functionView = new LogicView.SelectType();
            LogicView.SelectTypeView functionView = new LogicView.SelectTypeView();
            functionView.frameLayout.Y = timeView.frameLayout.Bottom;
            functionView.btnText.TextID = StringId.time;
            functionView.btnIcon.UnSelectedImagePath = "LogicIcon/functionicon.png";