From b50f4f4b1f0668f3071c0ad0c6dbd723cc140986 Mon Sep 17 00:00:00 2001
From: Tong <1025782220@qq.com>
Date: 星期二, 31 八月 2021 09:51:43 +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