From c5cb6840bd986bbd71a9ebc232bbf44ed0e1fc3d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 五月 2024 17:43:11 +0800 Subject: [PATCH] jpush更新完成 --- HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs | 94 +++++++++++++++++++++++----------------------- 1 files changed, 47 insertions(+), 47 deletions(-) diff --git a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs index 8441526..707f12f 100644 --- a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs +++ b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs @@ -137,36 +137,36 @@ Shared.Application.Activity.StartActivity(intent); } - else if (interphoneType == InterphoneType.FLVI.ToString()) - { + //else if (interphoneType == InterphoneType.FLVI.ToString()) + //{ - intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); - intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); - intent.PutExtra("uuid", mESVideoInfo.uuid); - intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); - intent.PutExtra("cmtID", mESVideoInfo.cmtID); - intent.PutExtra("roomno", mESVideoInfo.roomno); - intent.PutExtra("unitno", mESVideoInfo.unitno); - intent.PutExtra("HomeID", PirSend.HomeId); - intent.PutExtra("callId", mESVideoInfo.callId); - intent.PutExtra("Type", 0); + // intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); + // intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); + // intent.PutExtra("uuid", mESVideoInfo.uuid); + // intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); + // intent.PutExtra("cmtID", mESVideoInfo.cmtID); + // intent.PutExtra("roomno", mESVideoInfo.roomno); + // intent.PutExtra("unitno", mESVideoInfo.unitno); + // intent.PutExtra("HomeID", PirSend.HomeId); + // intent.PutExtra("callId", mESVideoInfo.callId); + // intent.PutExtra("Type", 0); - Shared.Application.Activity.StartActivity(intent); - } - else if (interphoneType == InterphoneType.HDL.ToString()) - { - //HDLLinphone 鐙勮�愬厠 - HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.HDL.ToString()); - } - else if (interphoneType == InterphoneType.FREEVIEW.ToString()) - { - string sip_account = "sip:D" + mESVideoInfo.deviceCode + "@139.159.157.75:46000"; + // Shared.Application.Activity.StartActivity(intent); + //} + //else if (interphoneType == InterphoneType.HDL.ToString()) + //{ + // //HDLLinphone 鐙勮�愬厠 + // HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.HDL.ToString()); + //} + //else if (interphoneType == InterphoneType.FREEVIEW.ToString()) + //{ + // string sip_account = "sip:D" + mESVideoInfo.deviceCode + "@139.159.157.75:46000"; - mESVideoInfo.deviceSipAccount = sip_account; - HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.FREEVIEW.ToString()); - } + // mESVideoInfo.deviceSipAccount = sip_account; + // HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.FREEVIEW.ToString()); + //} else { HDLUtils.WriteLine("鏈鎺ワ紝涓嶆敮鎸佺洃瑙�"); @@ -268,28 +268,28 @@ Shared.Application.Activity.StartActivity(intent); } - else if (interphoneType == InterphoneType.HDL.ToString()) - { - //HDL Linphone 鐙勮�愬厠 + //else if (interphoneType == InterphoneType.HDL.ToString()) + //{ + // //HDL Linphone 鐙勮�愬厠 - } - else if (interphoneType == InterphoneType.FLVI.ToString()) - { - //寰呭垹鍑忎笉蹇呰鍙傛暟 - intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); - intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); - intent.PutExtra("uuid", mESVideoInfo.uuid); - intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); - intent.PutExtra("cmtID", mESVideoInfo.cmtID); - intent.PutExtra("roomno", mESVideoInfo.roomno); - intent.PutExtra("unitno", mESVideoInfo.unitno); - intent.PutExtra("HomeID", PirSend.HomeId); - intent.PutExtra("callId", mESVideoInfo.callId); - intent.PutExtra("Type", 1); + //} + //else if (interphoneType == InterphoneType.FLVI.ToString()) + //{ + // //寰呭垹鍑忎笉蹇呰鍙傛暟 + // intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); + // intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); + // intent.PutExtra("uuid", mESVideoInfo.uuid); + // intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); + // intent.PutExtra("cmtID", mESVideoInfo.cmtID); + // intent.PutExtra("roomno", mESVideoInfo.roomno); + // intent.PutExtra("unitno", mESVideoInfo.unitno); + // intent.PutExtra("HomeID", PirSend.HomeId); + // intent.PutExtra("callId", mESVideoInfo.callId); + // intent.PutExtra("Type", 1); - Shared.Application.Activity.StartActivity(intent); - } + // Shared.Application.Activity.StartActivity(intent); + //} else { HDLUtils.WriteLine("鏈敮鎸佺殑鍙瀵硅绫诲瀷"); @@ -853,7 +853,7 @@ /// <summary> /// 涓版灄骞冲彴 /// </summary> - FLVI, + //FLVI, /// <summary> /// 澶у崕鍙瀵硅骞冲彴 /// </summary> @@ -865,11 +865,11 @@ /// <summary> /// 鐙勮�愬厠 HDL Linphone /// </summary> - HDL, + //HDL, /// <summary> /// 鍏ㄨ閫氬璁� /// </summary> - FREEVIEW, + //FREEVIEW, } } -- Gitblit v1.8.0