wxr
2020-12-09 b5f348ec1381a8b05d00e585a3e156381f751d72
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs
@@ -15,17 +15,18 @@
            Width = Application.GetRealWidth(343),
            X = Application.GetRealWidth(16),
            BackgroundColor = CSS.CSS_Color.view,
            Radius=(uint)Application.GetRealHeight(12),
            Radius =(uint)Application.GetRealHeight(12),
        };
        /// <summary>
        /// 时间控件UIPickerView 
        /// </summary>
        public UIPickerView mUIPickerView = new UIPickerView
        {
            //Y = Application.GetRealHeight(44),
            X= Application.GetRealWidth(12),
            Height = Application.GetRealHeight(297),
            Width = Application.GetRealWidth(343),
            BackgroundColor = CSS.CSS_Color.viewTranslucence,
            Width = Application.GetRealWidth(343-12*2),
            BackgroundColor =CSS.CSS_Color.viewTranslucence,
            Radius = (uint)Application.GetRealHeight(12),
        };
        /// <summary>
@@ -39,7 +40,8 @@
            Width = Application.GetRealWidth(52),
            Height = Application.GetRealHeight(32),
            Y = Application.GetRealHeight(6),
            X = Application.GetRealWidth(8)
            X = Application.GetRealWidth(8),
        };
        /// <summary>
        /// 确定Btn
@@ -62,7 +64,8 @@
            BackgroundColor = CSS.CSS_Color.viewLine,
            Width = Application.GetRealWidth(343),
            Height = 1,
            Y = Application.GetRealWidth(44)
            Y = Application.GetRealWidth(44),
        };
        /// <summary>
        /// 时间View的方法
@@ -70,11 +73,12 @@
        /// <returns></returns>
        public void FLayoutView(FrameLayout fLayout)
        {
            fLayout.AddChidren(frameLayout);
            frameLayout.AddChidren(mUIPickerView);
            frameLayout.AddChidren(btnCancel);
            frameLayout.AddChidren(btnConfirm);
            frameLayout.AddChidren(btnLine);
            fLayout.AddChidren(frameLayout);
        }
        /// <summary>
        /// 获取1-24小时列表