From f71e74b5f0d2716fbf05da016cdaa18d64e09f80 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期四, 31 十二月 2020 17:01:18 +0800
Subject: [PATCH] 又换完成最新门锁。空气质量传感器完成数据和基本配置功能。开发图表和自动化的同事可下载此代码

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs
index a2bcb2a..91c6590 100755
--- a/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs
@@ -333,18 +333,18 @@
                             UnSelectedImagePath = "ZigeeLogic/seek.png",
                             Gravity = Gravity.CenterHorizontal
                         };
-                        completeView.Show(2).AddChidren(seekIconBtn);
-                       
-                        var horizontalSeekBarVol = new UserCenter.SeekBarControl(918)
-                        {
-                            ProgressBarColor = 0x00000000,// ZigbeeColor.Current.LogicProgressColorSelected,//閫変腑杩涘害鏉¢鑹�
-                            SeekBarBackgroundColor = 0x00000000,
-                            SeekBarViewHeight = Application.GetRealHeight(20),
-                            SeekBarPadding = Application.GetRealWidth(60),
-                            MinValue = 30,
-                            MaxValue = 60,
-                            ProgressChangeDelayTime = 0,
-                        };
+                        completeView.Show(2).AddChidren(seekIconBtn);
+                       
+                        var horizontalSeekBarVol = new UserCenter.SeekBarControl(918)
+                        {
+                            ProgressBarColor = 0x00000000,// ZigbeeColor.Current.LogicProgressColorSelected,//閫変腑杩涘害鏉¢鑹�
+                            SeekBarBackgroundColor = 0x00000000,
+                            SeekBarViewHeight = Application.GetRealHeight(20),
+                            SeekBarPadding = Application.GetRealWidth(60),
+                            MinValue = 30,
+                            MaxValue = 60,
+                            ProgressChangeDelayTime = 0,
+                        };
                         completeView.Show(2).AddChidren(horizontalSeekBarVol);
                         horizontalSeekBarVol.Y = seekIconBtn.Y - (horizontalSeekBarVol.Height - seekIconBtn.Height) / 2;
                         horizontalSeekBarVol.ShowCustomTextView(Application.GetRealWidth(200), 12, ZigbeeColor.Current.LogicBtnCancelColor);
@@ -367,15 +367,15 @@
                                 {
                                     var intvalue = int.Parse(value["Data1"]);
                                     var lightbrightnessvalue = 1000000 / (intvalue * 100);
-                                    horizontalSeekBarVol.Progress = lightbrightnessvalue;
+                                    horizontalSeekBarVol.Progress = lightbrightnessvalue;
 
                                     break;
                                 }
 
                             }
-                        }
-                        var intValue = horizontalSeekBarVol.Progress;
-                        if (intValue == 0) { intValue = 30; }
+                        }
+                        var intValue = horizontalSeekBarVol.Progress;
+                        if (intValue == 0) { intValue = 30; }
                         horizontalSeekBarVol.SetCustomText(intValue * 100 + "K");
                     }
                     break;

--
Gitblit v1.8.0