From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 11 九月 2020 09:16:59 +0800
Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp20200828/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs
old mode 100644
new mode 100755
similarity index 96%
rename from ZigbeeApp20200828/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs
rename to ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs
index 3b8d198..1207a80
--- a/ZigbeeApp20200828/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs
@@ -14,10 +14,6 @@
         #region 鈻� 鍙橀噺澹版槑___________________________
 
         /// <summary>
-        /// 璁惧Mac鍦板潃
-        /// </summary>
-        private string deviceMac = string.Empty;
-        /// <summary>
         /// 浜害璋冭妭鐨勪俊鎭�
         /// </summary>
         private Panel.PanelSwitchLevelInfo linghtLevelInfo = null;
@@ -45,7 +41,6 @@
         {
             this.ScrollEnabled = false;
 
-            this.deviceMac = i_deviceMac;
             this.listDevice = Common.LocalDevice.Current.GetDevicesByMac(i_deviceMac);
 
             //璁剧疆澶撮儴淇℃伅
@@ -235,6 +230,12 @@
                 btnProgressView1.Visible = true;
                 btnProgress1.Visible = true;
             }
+            //濡傛灉褰撳墠鏄睍绀烘ā鏉�
+            if (Common.Config.Instance.Home.IsShowTemplate == true)
+            {
+                seekBar1.Enable = false;
+                btnSwitch.CanClick = false;
+            }
         }
 
         #endregion
@@ -299,6 +300,12 @@
             btnLine.Gravity = Gravity.CenterHorizontal;
             btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
             frameLinght.AddChidren(btnLine);
+
+            //濡傛灉褰撳墠鏄睍绀烘ā鏉�
+            if (Common.Config.Instance.Home.IsShowTemplate == true)
+            {
+                seekBar1.Enable = false;
+            }
         }
 
         #endregion
@@ -363,6 +370,12 @@
             btnLine.Y = Application.GetRealHeight(651);
             btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
             frameLinght.AddChidren(btnLine);
+
+            //濡傛灉褰撳墠鏄睍绀烘ā鏉�
+            if (Common.Config.Instance.Home.IsShowTemplate == true)
+            {
+                seekBar1.Enable = false;
+            }
         }
 
         #endregion

--
Gitblit v1.8.0