From f23ad1b3f9f6193f35f72104d690b21dc67d5c1f Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 06 七月 2020 12:35:25 +0800
Subject: [PATCH] 去掉了访问外网的异步

---
 ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs
index 8383026..5ce1f29 100755
--- a/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs
@@ -22,7 +22,7 @@
             this.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor;
             TopView view = new TopView();
             this.AddChidren(view.TopRowView());
-            view.toptitleNameBtn.Text = Name;
+            view.toptitleNameBtn.Text = LocalDevice.Current.GetDeviceEpointName(common);
             view.clickBtn.MouseDownEventHandler += (sender, e) =>
             {
                 RemoveFromParent();
@@ -270,10 +270,10 @@
                         Send.dictionary(brightnessDictionary, "Data2", "0");
                         var horizontalSeekBarVol = new DiyImageSeekBar
                         {
-                            Y = Application.GetRealHeight(140),
-                            X = Application.GetRealWidth(78),
-                            Width = Application.GetRealWidth(918),
-                            Height = Application.GetRealHeight(320),//婊戝姩鏉$埗鎺т欢楂樺害
+                            Y = Application.GetRealHeight(140),//杩涘害鏉$埗鎺т欢Y鍧愭爣
+                            X = Application.GetRealWidth(78),//杩涘害鏉鍧愭爣
+                            Width = Application.GetRealWidth(918),//杩涘害鏉$殑闀垮害
+                            Height = Application.GetRealHeight(320),//杩涘害鏉$埗鎺ф帶浠堕珮搴�
                             IsProgressTextShow = true,//鏄剧ず鐧惧垎姣�
                             IsClickable = true,//杩涘害鏉℃槸鍚︽粦鍔�
                             ProgressBarColor = ZigbeeColor.Current.LogicProgressColorSelected,//閫変腑杩涘害鏉¢鑹�

--
Gitblit v1.8.0