From 5eeafe3af80bfd88306bd8ad9e76c8f4b51ca35f Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 14:16:20 +0800
Subject: [PATCH] 增加本地发送的重发机制

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs
index ac37f82..70dcbe9 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs
@@ -61,8 +61,8 @@
         /// </summary>
         public Button btn_subtract = new Button
         {
-            Width = Application.GetMinRealAverage(24),
-            Height = Application.GetMinRealAverage(24),
+            Width = Application.GetRealWidth(24),
+            Height = Application.GetRealWidth(24),
             X = Application.GetRealWidth(26),
             Y = Application.GetRealHeight(118),
             UnSelectedImagePath = "LogicIcon/-.png",
@@ -82,7 +82,7 @@
         {
             Y = Application.GetRealHeight(103),//杩涘害鏉$埗鎺т欢Y鍧愭爣
             X = Application.GetRealWidth(62-10),//杩涘害鏉鍧愭爣
-            SeekBarPadding=Application.GetRealHeight(10),//杩涘害鏉″疄闄呴暱搴�=244-12*2(鍐呰竟璺�);
+            SeekBarPadding=Application.GetRealHeight(10),//杩涘害鏉″疄闄呴暱搴�=244-10*2(鍐呰竟璺�);
             Width = Application.GetRealWidth(240),//杩涘害鏉$殑闀垮害
             Height = Application.GetRealHeight(54),//杩涘害鏉$埗鎺т欢楂樺害
             IsProgressTextShow = true,//鏄剧ず鐧惧垎姣�
@@ -99,8 +99,8 @@
         /// </summary>
         public Button btn_add = new Button
         {
-            Width = Application.GetMinRealAverage(24),
-            Height = Application.GetMinRealAverage(24),
+            Width = Application.GetRealWidth(24),
+            Height = Application.GetRealWidth(24),
             X = Application.GetRealWidth(294),
             Y = Application.GetRealHeight(118),
             UnSelectedImagePath = "LogicIcon/+.png",
@@ -131,14 +131,12 @@
             frameLayout.AddChidren(seekBarVol);
             frameLayout.AddChidren(btn_add);
             frameLayout.AddChidren(btn_add_click);
-
-            ////鐣岄潰鐐瑰嚮浜嬩欢
-            fLayout.MouseUpEventHandler += (sender, e1) =>
+            //鍙栨秷鐐瑰嚮浜嬩欢
+            btnCancel.MouseUpEventHandler += (sender, e1) =>
             {
                 //绉婚櫎fLayout鐣岄潰
                 fLayout.RemoveFromParent();
             };
-            //鍙栨秷鐐瑰嚮浜嬩欢
 
         }
     }

--
Gitblit v1.8.0