From c1d681f496f2e1c53f88472d803e3c95fab521af Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 29 七月 2021 09:46:16 +0800
Subject: [PATCH] 萤石测试通过
---
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputTextView.cs | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputTextView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputTextView.cs
new file mode 100644
index 0000000..90736a0
--- /dev/null
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputTextView.cs
@@ -0,0 +1,41 @@
+锘縰sing System;
+using Shared;
+namespace HDL_ON.UI.UI2.Intelligence.Automation.LogicView
+{
+ public class AddOutputInputTextView
+ {
+ /// <summary>
+ /// 涓绘帶浠�
+ /// </summary>
+ public FrameLayout frameLayout = new FrameLayout
+ {
+ Height = Application.GetRealHeight(46),
+ };
+ /// <summary>
+ /// 鏄剧ず锛堝鏋�/灏辨墽琛岋級
+ /// </summary>
+ public Button btnIf = new Button
+ {
+ TextSize = TextSize.text16,
+ TextColor = CSS.CSS_Color.textColor,
+ Width = Application.GetRealWidth(32 + 32+200),
+ Height = Application.GetRealHeight(22),
+ Y = Application.GetRealHeight(12),
+ X = Application.GetRealWidth(TextSize.left16),
+ TextAlignment = TextAlignment.CenterLeft,
+ TextID = StringId.ifCondition,
+ IsBold = true,
+ };
+ /// <summary>
+ /// View
+ /// </summary>
+ /// <returns></returns>
+ public FrameLayout FLayoutView(int flHeight,int btnY)
+ {
+ frameLayout.Height = Application.GetRealHeight(flHeight);
+ btnIf.Y= Application.GetRealHeight(btnY);
+ frameLayout.AddChidren(btnIf);
+ return frameLayout;
+ }
+ }
+}
--
Gitblit v1.8.0