From c90de55be7a33e196029c1f4a1bb7f84ea449f29 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 02 二月 2021 10:39:11 +0800 Subject: [PATCH] 2021-02-01 1.增加丰林可视对讲测试 --- HDL_ON/UI/UI1-Login/LoginPageBLL.cs | 52 ++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 38 insertions(+), 14 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs index 3eb157d..7d8eace 100644 --- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs +++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs @@ -840,6 +840,12 @@ //2020-12-22 澧炲姞鐐瑰嚮闅愯棌閿洏浜嬩欢 Application.HideSoftInput(); + +#if DEBUG + TestEZSDK(); + return; +#endif + //鍒ゆ柇鏄惁鍚屾剰浜嗛殣绉佹斂绛� if (CheckPrivacyPolicy() == false) return; @@ -862,6 +868,36 @@ }; } + + void TestESVideo() + { + +#if __Android__ +#else + //EZSDK.IOS.EZSDK.Go2EZvizMonitor(); + Shared.ESVideoInfo eSVideoInfo = new Shared.ESVideoInfo(); + eSVideoInfo.DeviceName = "瀹ゅ鏈�88"; + eSVideoInfo.ESVideoUUID = "JJY000019VPLLF"; + eSVideoInfo.ESRoomID = 801; + eSVideoInfo.RoomName = "0801"; + Shared.ESVideo.ShowESVideoMonitor(eSVideoInfo); + return; +#endif + + } + + void TestEZSDK() + { + +#if __Android__ +#else + EZSDK.IOS.EZSDK.Go2EZvizMonitor(); + + return; +#endif + + } + /// <summary> /// 蹇樿瀵嗙爜 /// </summary> @@ -871,23 +907,11 @@ { //2020-12-22 澧炲姞鐐瑰嚮闅愯棌閿洏浜嬩欢 Application.HideSoftInput(); + #if DEBUG -#if __Android__ -#else - //EZSDK.IOS.EZSDK.Go2EZvizMonitor(); - - - Shared.ESVideoInfo eSVideoInfo = new Shared.ESVideoInfo(); - eSVideoInfo.DeviceName = "瀹ゅ鏈�88"; - eSVideoInfo.ESVideoUUID = "JJY000019VPLLF"; - eSVideoInfo.ESRoomID = 801; - eSVideoInfo.RoomName = "0801"; - Shared.ESVideo.ShowESVideoMonitor(eSVideoInfo); + TestESVideo(); return; #endif -#endif - - //鍒ゆ柇鏄惁鍚屾剰浜嗛殣绉佹斂绛� if (CheckPrivacyPolicy() == false) return; -- Gitblit v1.8.0