From 557c8c4f75aafc97533721766272410042440d34 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期六, 21 八月 2021 11:00:29 +0800
Subject: [PATCH] 安防功能
---
HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelScenePage.cs | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelScenePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelScenePage.cs
index 2ecfb81..e1706e6 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelScenePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelScenePage.cs
@@ -149,17 +149,17 @@
};
bodyView.AddChidren(sceneListView);
- foreach (var function in DB_ResidenceData.functionList.scenes)
+ foreach (var function in FunctionList.List.scenes)
{
- var sbkScene = sbk_Devcie.number.Find((obj) => obj.sid == function.sid);
- if (sbkScene != null)
- {
- addedList.Add(function);
- }
- else
- {
- notAddedList.Add(function);
- }
+ //var sbkScene = sbk_Devcie.number.Find((obj) => obj.sid == function.sid);
+ //if (sbkScene != null)
+ //{
+ // addedList.Add(function);
+ //}
+ //else
+ //{
+ // notAddedList.Add(function);
+ //}
}
foreach (var ddd in sbk_Devcie.number)
{
@@ -174,8 +174,8 @@
Gravity = Gravity.CenterHorizontal,
Y = Application.GetRealHeight(582),
Width = Application.GetRealWidth(220),
- Height = Application.GetRealHeight(44),
- Radius = (uint)Application.GetRealHeight(22),
+ Height = Application.GetRealWidth(44),
+ Radius = (uint)Application.GetRealWidth(22),
BackgroundColor = CSS_Color.MainColor,
TextColor = CSS_Color.MainBackgroundColor,
TextSize = CSS_FontSize.SubheadingFontSize,
--
Gitblit v1.8.0