From f703a411c0ebdf7ada490fda75b52fd839dae079 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 16 三月 2023 14:04:59 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-cqy(1.5.9)' into dev--wxr

---
 SiriIntents/SiriIntents.csproj                              |    1 
 HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs                   |   15 +++
 HDL-ON_iOS/HDL-ON_iOS.csproj                                |   37 +++++---
 HDL_ON/Common/ApiUtlis.cs                                   |    4 
 DLL/LC/IOS/Shared.IOS.LCVideoOnSDK.dll                      |    0 
 HDL_ON/Entity/FunctionList.cs                               |   11 ++
 HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs |   77 ++++++++++++++++--
 HDL-ON_iOS/Resources/zh-Hans.lproj/Localizable.strings      |   41 ++++++++++
 HDL-ON_iOS/Info.plist                                       |    6 +
 HDL_ON/Common/HDLCommon.cs                                  |    4 +
 HDL-ON_iOS/Resources/com.hri.hpc.mobile.ios.player.metallib |    0 
 DLL/IOS/Shared.IOS.HDLCNVRSDK.dll                           |    0 
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs          |    2 
 SiriIntentsUI/SiriIntentsUI.csproj                          |    1 
 HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs                       |   11 +-
 15 files changed, 174 insertions(+), 36 deletions(-)

diff --git a/DLL/IOS/Shared.IOS.HDLCNVRSDK.dll b/DLL/IOS/Shared.IOS.HDLCNVRSDK.dll
new file mode 100644
index 0000000..f34d504
--- /dev/null
+++ b/DLL/IOS/Shared.IOS.HDLCNVRSDK.dll
Binary files differ
diff --git a/DLL/LC/IOS/Shared.IOS.LCVideoOnSDK.dll b/DLL/LC/IOS/Shared.IOS.LCVideoOnSDK.dll
index 8faec09..db8e6ba 100644
--- a/DLL/LC/IOS/Shared.IOS.LCVideoOnSDK.dll
+++ b/DLL/LC/IOS/Shared.IOS.LCVideoOnSDK.dll
Binary files differ
diff --git a/HDL-ON_iOS/HDL-ON_iOS.csproj b/HDL-ON_iOS/HDL-ON_iOS.csproj
index d6e2020..a959ecc 100644
--- a/HDL-ON_iOS/HDL-ON_iOS.csproj
+++ b/HDL-ON_iOS/HDL-ON_iOS.csproj
@@ -59,6 +59,7 @@
         <MtouchEnableSGenConc>false</MtouchEnableSGenConc>
 <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+<CodesignProvision>OnPro230308-3-Dev</CodesignProvision>
     </PropertyGroup>
     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
         <DebugType>none</DebugType>
@@ -86,20 +87,8 @@
           <HintPath>..\DLL\Shared.IOS.TBL.dll</HintPath>
           <Private>False</Private>
         </Reference>
-        <Reference Include="MJRefresh_Xamarin">
-          <HintPath>..\DLL\IOS\MJRefresh_Xamarin.dll</HintPath>
-        </Reference>
         <Reference Include="Shared.IOS.JLCountryCode">
           <HintPath>..\DLL\IOS\Shared.IOS.JLCountryCode.dll</HintPath>
-        </Reference>
-        <Reference Include="EZSDK.IOS">
-          <HintPath>..\DLL\IOS\EZSDK.IOS.dll</HintPath>
-        </Reference>
-        <Reference Include="Shared.IOS.ESVideoOnSDK">
-          <HintPath>..\DLL\FL\iOS\Shared.IOS.ESVideoOnSDK.dll</HintPath>
-        </Reference>
-        <Reference Include="Shared.IOS.LCVideoOnSDK">
-          <HintPath>..\DLL\LC\IOS\Shared.IOS.LCVideoOnSDK.dll</HintPath>
         </Reference>
         <Reference Include="Shared.IOS.HDLSceneSiri">
           <HintPath>..\DLL\IOS\Shared.IOS.HDLSceneSiri.dll</HintPath>
@@ -107,14 +96,26 @@
         <Reference Include="Shared.IOS.HDLLinphoneSDK">
           <HintPath>..\DLL\Linphone\iOS\Shared.IOS.HDLLinphoneSDK.dll</HintPath>
         </Reference>
-        <Reference Include="Shared.IOS.HDLFVSDK">
-          <HintPath>..\DLL\IOS\Shared.IOS.HDLFVSDK.dll</HintPath>
-        </Reference>
         <Reference Include="HDL.Shared.IOS.ScanQRCode">
           <HintPath>..\DLL\IOS\HDL.Shared.IOS.ScanQRCode.dll</HintPath>
         </Reference>
         <Reference Include="Shared.IOS">
           <HintPath>..\DLL\Shared.IOS.dll</HintPath>
+        </Reference>
+        <Reference Include="Shared.IOS.HDLFVSDK">
+          <HintPath>..\DLL\IOS\Shared.IOS.HDLFVSDK.dll</HintPath>
+        </Reference>
+        <Reference Include="Shared.IOS.ESVideoOnSDK">
+          <HintPath>..\DLL\FL\iOS\Shared.IOS.ESVideoOnSDK.dll</HintPath>
+        </Reference>
+        <Reference Include="EZSDK.IOS">
+          <HintPath>..\DLL\IOS\EZSDK.IOS.dll</HintPath>
+        </Reference>
+        <Reference Include="Shared.IOS.HDLCNVRSDK">
+          <HintPath>..\DLL\IOS\Shared.IOS.HDLCNVRSDK.dll</HintPath>
+        </Reference>
+        <Reference Include="Shared.IOS.LCVideoOnSDK">
+          <HintPath>..\DLL\LC\IOS\Shared.IOS.LCVideoOnSDK.dll</HintPath>
         </Reference>
     </ItemGroup>
     <ItemGroup>
@@ -142,6 +143,12 @@
       <PackageReference Include="Xamarin.Essentials">
         <Version>1.7.0</Version>
       </PackageReference>
+      <PackageReference Include="Xamarin.iOS.SwiftRuntimeSupport">
+        <Version>0.2.1</Version>
+      </PackageReference>
+      <PackageReference Include="Xamarin.iOS.MJRefresh">
+        <Version>3.2.2</Version>
+      </PackageReference>
     </ItemGroup>
     <ItemGroup>
         <ImageAsset Include="Assets.xcassets\add_server1.imageset\add_server1.png" />
diff --git a/HDL-ON_iOS/Info.plist b/HDL-ON_iOS/Info.plist
index 0bc7840..02d0012 100644
--- a/HDL-ON_iOS/Info.plist
+++ b/HDL-ON_iOS/Info.plist
@@ -42,7 +42,7 @@
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
 	<key>MinimumOSVersion</key>
-	<string>12.0</string>
+	<string>12.2</string>
 	<key>UIDeviceFamily</key>
 	<array>
 		<integer>1</integer>
@@ -66,6 +66,8 @@
 	<key>UISupportedInterfaceOrientations</key>
 	<array>
 		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
 	</array>
 	<key>UIAppFonts</key>
 	<array>
@@ -138,5 +140,7 @@
 	<array>
 		<string>HDLRunSceneIntent</string>
 	</array>
+	<key>Custom Property</key>
+	<string></string>
 </dict>
 </plist>
diff --git a/HDL-ON_iOS/Resources/com.hri.hpc.mobile.ios.player.metallib b/HDL-ON_iOS/Resources/com.hri.hpc.mobile.ios.player.metallib
index 53bacd9..927d741 100644
--- a/HDL-ON_iOS/Resources/com.hri.hpc.mobile.ios.player.metallib
+++ b/HDL-ON_iOS/Resources/com.hri.hpc.mobile.ios.player.metallib
Binary files differ
diff --git a/HDL-ON_iOS/Resources/zh-Hans.lproj/Localizable.strings b/HDL-ON_iOS/Resources/zh-Hans.lproj/Localizable.strings
index 941dd22..7eac42e 100644
--- a/HDL-ON_iOS/Resources/zh-Hans.lproj/Localizable.strings
+++ b/HDL-ON_iOS/Resources/zh-Hans.lproj/Localizable.strings
@@ -28,6 +28,9 @@
 "get_info_fail"="鏌ヨ澶辫触锛岀綉缁滀笉缁欏姏";
 "ad_input_manual"="鎵嬪姩杈撳叆";
 
+"ad_result_verify_local_lock"="璇峰湪2鍒嗛挓涔嬪唴鏍¢獙宸叉坊鍔犵殑涓荤敤鎴锋寚绾广�佸瘑閽ユ垨鎰熷簲鍗★紝鏍¢獙瀹屾垚璇风偣鍑诲凡鏍¢獙鎸夐挳";
+"ad_verified"="宸叉牎楠�";
+
 "device_camera_list_title"="璁惧閫氶亾鍒楄〃";
 "device_input_vierify_code"="璇疯緭鍏ヨ澶囬獙璇佺爜";
 "device_verify_code_wrong"="楠岃瘉鐮侀敊璇�";
@@ -64,6 +67,44 @@
 "device_account_pw_empty"="甯愬彿鎴栧瘑鐮佷笉鑳戒负绌�";
 "device_lan_preview_title"="灞�鍩熺綉棰勮";
 
+"device_open"="寮�闂�";
+"device_open_success"="寮�闂ㄦ垚鍔燂紒";
+"device_temp_pass"="涓存椂瀵嗙爜";
+"device_temp_year"="骞�";
+"device_temp_month"="鏈�";
+"device_temp_date"="鏃�";
+"device_temp_left"="鍓╀綑";
+"device_temp_times"="娆�";
+"device_temp_save"="淇濆瓨";
+"device_temp_user"="浣跨敤浜�";
+"device_temp_valid_date"="鏈夋晥鏈�";
+"device_temp_valid_begin"="寮�濮�";
+"device_temp_valid_end"="缁撴潫";
+"device_temp_use_times"="浣跨敤娆℃暟";
+"device_temp_please_select"="璇烽�夋嫨";
+"device_temp_unlimited_times"="涓嶉檺";
+"device_temp_sure"="纭";
+"device_temp_cancle"="鍙栨秷";
+"device_temp_please_input"="璇疯緭鍏�";
+"device_temp_input_use_count_describe"="杈撳叆1鍒�100鐨勬暣鏁帮紝 涓虹┖琛ㄧず涓嶉檺娆℃暟";
+"device_temp_input_pure_number"="璇疯緭鍏ョ函鏁板瓧";
+"device_temp_input_valid_number"="璇疯緭鍏�1-100涔嬮棿鐨勬暟瀛�";
+"device_temp_unit_year"="骞�";
+"device_temp_unit_month"="鏈�";
+"device_temp_unit_date"="鏃�";
+"device_temp_unit_hour"="鏃�";
+"device_temp_unit_minute"="鍒�";
+"device_temp_please_input_user_name"="璇疯緭鍏ヤ娇鐢ㄤ汉";
+"device_temp_please_select_begin_time"="璇烽�夋嫨寮�濮嬫椂闂�";
+"device_temp_please_select_end_time"="璇烽�夋嫨缁撴潫鏃堕棿";
+"device_temp_please_end_time_should_later"="缁撴潫鏃堕棿涓嶅緱鏃╀簬寮�濮嬫椂闂�";
+"device_temp_unlimited_use_times"="涓嶉檺娆℃暟";
+"device_temp_total"="鎬绘暟";
+"device_temp_copied"="宸插鍒�";
+"device_temp_long_tap_copy"="闀挎寜澶嶅埗涓存椂瀵嗙爜";
+"device_temp_sure_to_delete"="纭鍒犻櫎涓存椂瀵嗙爜鍚楋紵";
+
+
 "dmessage_title"="娑堟伅";
 "message_read"="鏍囪宸茶";
 "message_deleting"="姝e湪鍒犻櫎锛岃绋嶅��...";
diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 5b7c278..cb5844c 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -315,8 +315,8 @@
                                 if (isInterphoneType_FREEVIEW)
                                 {
 #if __IOS__
-                        //鐧诲綍鍏ㄨ閫�
-                        Shared.IOS.HDLFVSDK.Video.Init("", DB_ResidenceData.Instance.CurrentRegion.id);
+                                    //鐧诲綍鍏ㄨ閫�
+                                    Shared.IOS.HDLFVSDK.Video.Init("", DB_ResidenceData.Instance.CurrentRegion.id);
 #endif
                                 }
 
diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 7aa1087..afe7b93 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -687,6 +687,10 @@
                                 EZSDK.IOS.EZSDK.SharedInstance().SetRequestHttpsHostAndPlatform(OnAppConfig.Instance.RequestHttpsHost, 1, DB_ResidenceData.Instance.CurrentRegion.id);
                                 //2.璁剧疆钀ょ煶瀛愯处鍙风殑AccessToken鍒癝DK
                                 EZSDK.IOS.EZSDK.SharedInstance().SetEZAccessToken(ezChildAccessToken);
+                                //Console.WriteLine("loginToken锛�" + UserInfo.Current.LoginTokenString);
+                                //Console.WriteLine("refreshToken锛�" + UserInfo.Current.RefreshToken);
+
+
                                 ////3.鎵撳紑鎽勫儚澶磋澶囧垪琛ㄩ〉闈�
                                 EZSDK.IOS.EZSDK.SharedInstance().Go2EZvizMonitor();
 
diff --git a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
index 700f956..37fc391 100644
--- a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
+++ b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
@@ -98,7 +98,6 @@
             }
             else if(interphoneType == InterphoneType.FLVI.ToString())
             {
-
                 ESOnMonitorViewController vc = new ESOnMonitorViewController();
                 vc.MESVideoID = mESVideoInfo.ESVideoUUID;
                 vc.MESRoomID = roomID;
@@ -106,13 +105,11 @@
                 //vc.RoomName = mESVideoInfo.RoomName;
                 //vc.MESCallDelegate = new OnESCallDelegate(this);
                 Shared.Application.currentVC.NavigationController.PushViewController(vc, true);
-            }else if (interphoneType == InterphoneType.HDL.ToString())
+            }
+            else if (interphoneType == InterphoneType.HDL.ToString())
             {
                 //HDLLinphone 鐙勮�愬厠
                 HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, interphoneType);
-                ////鍏ㄨ閫�
-                //NSDictionary deviceInfo = new NSDictionary("deviceCode","3-1-11-2", "deviceName", mESVideoInfo.DeviceName);
-                //Shared.IOS.HDLFVSDK.Video.Monitor(deviceInfo);
             } else if (interphoneType == InterphoneType.FREEVIEW.ToString())
             {
                 //鍏ㄨ閫氱洃瑙�
@@ -229,7 +226,6 @@
             }
             else if (interphoneType == InterphoneType.FLVI.ToString())
             {
-
                 ESOnIntercomViewController vc = new ESOnIntercomViewController();
                 vc.MESVideoID = mESVideoInfo.ESVideoUUID;
                 vc.MESRoomID = roomID;
@@ -239,7 +235,8 @@
                 mOnESCallDelegate = new OnESCallDelegate(this);
                 vc.MESCallDelegate = mOnESCallDelegate;
                 Shared.Application.currentVC.NavigationController.PushViewController(vc, true);
-            }else{
+            }
+            else{
                 HDLUtils.WriteLine("鏈敮鎸佺殑鍙瀵硅绫诲瀷");
 
             }
diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index b294d7d..f8e9c99 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -77,6 +77,17 @@
                 if (_IpCamImou.Count > 0)
                 {
 #if __IOS__
+                    //鍒濆鍖栧ぇ鍗庢憚鍍忓ごsdk
+                    Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().InitSDKWithAppKey("HDL-HOME-APP-TEST", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", OnAppConfig.Instance.RequestHttpsHost);
+                    Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().AccessToken = UserInfo.Current.LoginTokenString;
+                    Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().RefreshToken = UserInfo.Current.RefreshToken;
+                    Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
+                    Console.WriteLine("token锛�" + UserInfo.Current.LoginTokenString);
+                    Console.WriteLine("token锛�" + UserInfo.Current.RefreshToken);
+                    Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().RefreshDeviceList();
+
+
+
 #else
                     Com.Utils.HdlToLcUtils.Instance.InitData(Shared.Application.Activity, "HDL-HOME-APP-TEST", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", OnAppConfig.Instance.RequestHttpsHost);
                     Com.Utils.HdlToLcUtils.Instance.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
diff --git a/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs b/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs
index 0a872aa..25f51a0 100644
--- a/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs
+++ b/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs
@@ -233,7 +233,20 @@
                         doorLockPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor);
                         break;
                     case SPK.IpCam_Imou:
+
 #if __IOS__
+                        if (Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().AccessToken==null) {//鏈垵濮嬪寲鎽勫儚澶�
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().InitSDKWithAppKey("HDL-HOME-APP-TEST", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", OnAppConfig.Instance.RequestHttpsHost);
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().AccessToken = UserInfo.Current.LoginTokenString;
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().RefreshToken = UserInfo.Current.RefreshToken;
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().RefreshDeviceList();
+                        }
+                        //璺宠浆澶у崕鎽勫儚澶�
+                        Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().RefreshDeviceList();
+                        //Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().ToMonitorViewWithDeviceId(function.extDevId, function.name);
+
+                        Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().ToMonitorViewWithDeviceId(function.extDevId, function.name, Shared.Application.currentVC);
 #else
                         FunctionList.List.GetIpCamImouList();
                         if (string.IsNullOrEmpty(Com.Utils.HdlToLcUtils.Instance.SubAccessToken))
@@ -259,6 +272,7 @@
                                         Application.RunOnMainThread(() =>{
                                             try
                                             {
+
                                                 Com.Utils.HdlToLcUtils.Instance.SubAccessToken = pack.Data.ToString();
                                                 Com.Utils.HdlToLcUtils.Instance.Play(function.extDevId, function.name);
                                             }
@@ -298,6 +312,7 @@
                         {
                             try
                             {
+
                                 Com.Utils.HdlToLcUtils.Instance.Play(function.extDevId, function.name);
                             }
                             catch (Exception ex)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
index 415b219..21466f5 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/AddDevciePage.cs
@@ -7,10 +7,40 @@
 using HDL_ON.Entity;
 using HDL_ON.UI.CSS;
 using Shared;
+#if __IOS__
+using Shared.IOS.HDLCNVRSDK;
+#endif
 namespace HDL_ON.UI
 {
+
+
     public class AddDevciePage : FrameLayout
     {
+#if __ANDROID__
+    public class dddxx { }
+#else
+        hdlLCNVRSDKDelegate hdlLCNVRDelegate;
+        public class hdlLCNVRSDKDelegate : HDLLCNVRSDKDelegate
+        {
+            Action act;
+            public hdlLCNVRSDKDelegate(Action action)
+            {
+                act = action;
+
+
+            }
+
+            public override void AddDeviceFailWithErrorCode(string errorCode)
+            {
+
+            }
+
+            public override void BackFromAddDeviceView()
+            {
+                act?.Invoke();
+            }
+        }
+#endif
         FrameLayout bodyView;
         IntegratedBrand brand;
         VerticalRefreshLayout contentView;
@@ -23,6 +53,7 @@
 
         public void LoadPage(VerticalRefreshLayout refreshView)
         {
+
             new TopViewDiv(bodyView, Language.StringByID(StringId.AddDevice)).LoadTopView();
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
 
@@ -49,7 +80,8 @@
         {
             var waitPage = new Loading();
             waitPage.Start();
-            new System.Threading.Thread(() => {
+            new System.Threading.Thread(() =>
+            {
                 try
                 {
                     var pm = new HttpServerRequest();
@@ -122,7 +154,7 @@
                     Width = Application.GetRealWidth(32),
                     Height = Application.GetRealWidth(32),
                     Radius = (uint)Application.GetRealWidth(4),
-                    UnSelectedImagePath =  $"FunctionIcon/Icon/{device.IconName}.png",
+                    UnSelectedImagePath = $"FunctionIcon/Icon/{device.IconName}.png",
                 };
                 row.AddChidren(btnIcon);
                 Button btnRight = new Button()
@@ -146,11 +178,30 @@
                 };
                 row.AddChidren(btnName);
 
-                btnName.MouseUpEventHandler = (sender, e) => {
+
+
+                btnName.MouseUpEventHandler = (sender, e) =>
+                {
                     switch (device.spk)
                     {
                         case SPK.IpCam_Imou:
-#if __ANDROID__
+
+#if __IOS__
+
+                            //鍒濆鍖栧ぇ鍗庢憚鍍忓ごsdk
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().InitSDKWithAppKey("HDL-HOME-APP-TEST", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", OnAppConfig.Instance.RequestHttpsHost);
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().AccessToken = UserInfo.Current.LoginTokenString;
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().RefreshToken = UserInfo.Current.RefreshToken;
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
+                            //璺宠浆娣诲姞鎽勫儚澶�
+                            hdlLCNVRDelegate = new hdlLCNVRSDKDelegate(() =>
+                            {//娣诲姞鎴愬姛杩斿洖浜嬩欢
+                                refreshView.BeginHeaderRefreshing();
+                                this.RemoveFromParent();
+                            });
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().Delegate = hdlLCNVRDelegate;
+                            Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().ToAddDeviceView();
+#else
                                 FunctionList.List.GetIpCamImouList();
                                 if (string.IsNullOrEmpty(Com.Utils.HdlToLcUtils.Instance.SubAccessToken))
                                 {
@@ -183,6 +234,7 @@
                                                 Com.Utils.HdlToLcUtils.Instance.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
                                                 Com.Utils.HdlToLcUtils.Instance.Token = UserInfo.Current.AccessToken;
                                                 Com.Utils.HdlToLcUtils.Instance.SubAccessToken = pack.Data.ToString();
+
 #if __ANDROID__
                                                 Application.RunOnMainThread(() =>
                                                 {
@@ -333,24 +385,28 @@
                         case SPK.IrModule:
                             var form = new AddMiniRemoteControlDirection1Page();
                             form.AddForm();
-                            form.AddDeviceEvent = (functionObj) => {
+                            form.AddDeviceEvent = (functionObj) =>
+                            {
                                 refreshView.BeginHeaderRefreshing();
-                            }; 
+                            };
                             break;
                         case SPK.SenesorMegahealth:
                         case SPK.SenesorMegahealth2:
                         case SPK.SensorMmvPose:
                             var form1 = new AddSenesorMegahealthDirection1Page();
                             form1.AddForm(device);
-                            form1.AddDeviceEvent = (functionObj) => {
+                            form1.AddDeviceEvent = (functionObj) =>
+                            {
                                 refreshView.BeginHeaderRefreshing();
                                 this.RemoveFromParent();
                             };
                             break;
-                        case SPK.SensorEnvironment:case SPK.SensorEnvironmentHailin:
+                        case SPK.SensorEnvironment:
+                        case SPK.SensorEnvironmentHailin:
                             var form2 = new AddSensorEnvironmentPage();
                             form2.AddForm(device);
-                            form2.AddDeviceEvent = (functionObj) => {
+                            form2.AddDeviceEvent = (functionObj) =>
+                            {
                                 refreshView.BeginHeaderRefreshing();
                                 this.RemoveFromParent();
                             };
@@ -359,7 +415,8 @@
                         case SPK.SensorEnvironment3:
                             var form3 = new AddQingpingSensorEnvirTipPage();
                             form3.AddForm(device);
-                            form3.AddDeviceEvent = (functionObj) => {
+                            form3.AddDeviceEvent = (functionObj) =>
+                            {
                                 refreshView.BeginHeaderRefreshing();
                                 this.RemoveFromParent();
                             };
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index 9cbb1e1..b4b4f4a 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -744,7 +744,7 @@
                     //鍒锋柊鎺ュ彛璇锋眰鎵�闇�瑕佺殑鍙傛暟
                     Foundation.NSDictionary info = new Foundation.NSDictionary("regionUrl", HttpUtil.GlobalRequestHttpsHost, "token", UserInfo.Current.LoginTokenString, "appkey", "HDL-HOME-APP-TEST", "secret", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", "refreshToken", UserInfo.Current.RefreshToken);
                     Shared.IOS.HDLFVSDK.Video.RefreshInfo(info);
-                    //璺宠浆璁垮绠$悊鐣岄潰
+                    ////璺宠浆璁垮绠$悊鐣岄潰
                     Shared.IOS.HDLFVSDK.Video.ShowVisitorManager();
 #else
                     var page = new VisitorQRCodePage();
diff --git a/SiriIntents/SiriIntents.csproj b/SiriIntents/SiriIntents.csproj
index a36210c..c2bf1ca 100644
--- a/SiriIntents/SiriIntents.csproj
+++ b/SiriIntents/SiriIntents.csproj
@@ -79,6 +79,7 @@
     <MtouchArch>ARM64</MtouchArch>
     <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
     <MtouchVerbosity></MtouchVerbosity>
+    <CodesignProvision>OnProSiri230308-2-Dev</CodesignProvision>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/SiriIntentsUI/SiriIntentsUI.csproj b/SiriIntentsUI/SiriIntentsUI.csproj
index da2da8b..a65fe33 100644
--- a/SiriIntentsUI/SiriIntentsUI.csproj
+++ b/SiriIntentsUI/SiriIntentsUI.csproj
@@ -83,6 +83,7 @@
     <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
     <MtouchVerbosity></MtouchVerbosity>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <CodesignProvision>OnProSiriUI230308-2-Dev</CodesignProvision>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />

--
Gitblit v1.8.0