From bd2c6c39668f2495d14440ae2d6bb7a7856e9d2f Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 12 三月 2021 17:47:57 +0800
Subject: [PATCH] 2021-3-12-3
---
HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs | 69 ++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
new file mode 100644
index 0000000..fbebc91
--- /dev/null
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
@@ -0,0 +1,69 @@
+锘縰sing System;
+using HDL_ON.UI.UI2.Intelligence.Automation.LogicView;
+using Shared;
+using System.Collections.Generic;
+using System.Text;
+namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice.View
+{
+ public class ReplicationView
+ {
+ Dialog dialog = new Dialog();
+ /// <summary>
+ ///
+ /// </summary>
+ public void Show()
+ {
+ #region 鐣岄潰甯冨眬
+ dialog.BackgroundColor = CSS.CSS_Color.viewMiddle;
+ PirDevice.View.TopView topView = new View.TopView();
+ topView.topNameBtn.TextID = StringId.fuzhiyaokonggongnneg;
+ dialog.AddChidren(topView.FLayoutView());
+ topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { dialog.Close();};
+ FrameLayout frameLayout = new FrameLayout();
+ frameLayout.Height = Application.GetRealHeight(667 - 64);
+ frameLayout.Y = Application.GetRealHeight(64);
+ // frameLayout.BackgroundColor = CSS.CSS_Color.textWhiteColor;
+ dialog.AddChidren(frameLayout);
+ var textBtn = new Button
+ {
+ Y = Application.GetRealHeight(24),
+ X = Application.GetRealWidth(10),
+ Width = Application.GetRealWidth(375 - 20),
+ Height = Application.GetRealHeight(20),
+ TextSize = TextSize.text14,
+ TextColor = CSS.CSS_Color.textColor,
+ TextAlignment = TextAlignment.Center,
+ TextID = StringId.duizhunanxiaanniu,
+ };
+ frameLayout.AddChidren(textBtn);
+
+ var icon1Btn = new Button
+ {
+ Y = Application.GetRealHeight(91),
+ X = Application.GetRealWidth((375 - 149) / 2),
+ Width = Application.GetRealWidth(149),
+ Height = Application.GetRealHeight(95),
+ UnSelectedImagePath = "PirIcon/icon1.png",
+ };
+ frameLayout.AddChidren(icon1Btn);
+ var icon2Btn = new Button
+ {
+ Y = Application.GetRealHeight(289),
+ X = Application.GetRealWidth(122),
+ Width = Application.GetRealWidth(182),
+ Height = Application.GetRealHeight(314),
+ UnSelectedImagePath = "PirIcon/icon2.png",
+ };
+ frameLayout.AddChidren(icon2Btn);
+ dialog.Show();
+ #endregion
+
+ }
+ /// <summary>
+ /// 绉婚櫎褰撳墠鐣岄潰
+ /// </summary>
+ public void RemView() {
+ dialog.Close();
+ }
+ }
+}
--
Gitblit v1.8.0