From f9a358dfe06d22913acb2624f27e49783955aa59 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 31 三月 2022 09:24:08 +0800
Subject: [PATCH] 集成大华最新的sdk库
---
HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs | 67 ++++++++++++++++++++++++++-------
1 files changed, 52 insertions(+), 15 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
index 8fd0334..710917c 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AboutOn/AboutOnPage.cs
@@ -105,26 +105,26 @@
bodyView.AddChidren(lineView);
#region 鍔熻兘浠嬬粛
- var functionView = new ListCellView()
- {
- Y = lineView.Bottom,
- };
- bodyView.AddChidren(functionView);
- functionView.BtnTilte.TextID = StringId.FunctionIntroduced;
- Action functionAction = () =>
- {
- var mPage = new FunctionIntroductionPage();
- MainPage.BasePageView.AddChidren(mPage);
- mPage.LoadPage();
- MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
- };
- functionView.GoAction = functionAction;
+ //var functionView = new ListCellView()
+ //{
+ // Y = lineView.Bottom,
+ //};
+ //bodyView.AddChidren(functionView);
+ //functionView.BtnTilte.TextID = StringId.FunctionIntroduced;
+ //Action functionAction = () =>
+ //{
+ // var mPage = new FunctionIntroductionPage();
+ // MainPage.BasePageView.AddChidren(mPage);
+ // mPage.LoadPage();
+ // MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ //};
+ //functionView.GoAction = functionAction;
#endregion
#region 鎶曡瘔
var complaintsView = new ListCellView()
{
- Y = functionView.Bottom,
+ Y = lineView.Bottom,
};
bodyView.AddChidren(complaintsView);
complaintsView.BtnTilte.TextID = StringId.Complaints;
@@ -184,6 +184,43 @@
#endregion
privacyPolicyView.GoAction = privacyPolicyAction;
CheckIfNeedUpdateAsync();
+
+#if __IOS__
+ #region 鍥轰欢鍗囩骇
+ var firUpdateView = new ListCellView()
+ {
+ Y = privacyPolicyView.Bottom,
+ };
+ firUpdateView.BtnTilte.TextID = StringId.FirmwareUpdate;
+ bodyView.AddChidren(firUpdateView);
+ Action firmwareUpdateAction = () =>
+ {
+ var mPage = new HDL_ON.UI.UI2.PersonalCenter.AboutOn.FirmwareUpdateView();
+ MainPage.BasePageView.AddChidren(mPage);
+ mPage.ShowPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
+ firUpdateView.GoAction = firmwareUpdateAction;
+ #endregion
+
+
+ #region HomeKit鏀寔璇存槑
+ var homeKitView = new ListCellView()
+ {
+ Y = firUpdateView.Bottom,
+ };
+ bodyView.AddChidren(homeKitView);
+ homeKitView.BtnTilte.TextID = StringId.SupportHomeKitNotes;
+ Action homeKitSupportViewAction = () => {
+ var mPage = new HDL_ON.UI.UI2.PersonalCenter.AboutOn.SupportHomeKitNotesPage();
+ MainPage.BasePageView.AddChidren(mPage);
+ mPage.ShowPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
+ homeKitView.GoAction = homeKitSupportViewAction;
+ #endregion
+#endif
+
}
--
Gitblit v1.8.0