| | |
| | | |
| | | void TestESVideo() |
| | | { |
| | | var mESVideoInfo = new ESVideoInfo() |
| | | { |
| | | DeviceName = "室外机88", |
| | | ESVideoUUID = "JJY000019VPLLF", |
| | | ESRoomID = 801, |
| | | RoomName = "801" |
| | | |
| | | }; |
| | | |
| | | #if __Android__ |
| | | |
| | | Android.Content.Intent intent = new Android.Content.Intent(Application.Activity, typeof(HDL_ON_Android.VideoActivity)); |
| | | intent.PutExtra("DeviceName", mESVideoInfo.DeviceName);//室外机的名称,例,室外机 |
| | | intent.PutExtra("ESRoomID", mESVideoInfo.ESRoomID);//当前用户的房间 ID |
| | | intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID);//室外机UUID,例:JJY000007FSEYX |
| | | intent.PutExtra("IsCollect", mESVideoInfo.IsCollect);//是否收藏 |
| | | intent.PutExtra("RoomName", mESVideoInfo.RoomName);//房间命名,例 8栋1单元0801 |
| | | intent.AddFlags(Android.Content.ActivityFlags.NewTask); |
| | | intent.PutExtra("Type", 0);//类型,0 监控,1反呼 |
| | | Application.Activity.StartActivity(intent); |
| | | #else |
| | | //EZSDK.IOS.EZSDK.Go2EZvizMonitor(); |
| | | Shared.ESVideoInfo eSVideoInfo = new Shared.ESVideoInfo(); |
| | |
| | | new PublicAssmebly().LoadPage_WaitPage(loginThread, bodyView, waitPage); |
| | | } |
| | | } |
| | | |
| | | public class ESVideoInfo |
| | | { |
| | | /// <summary> |
| | | /// 室外机的UUID |
| | | /// 例:JJY000007FSEYX |
| | | /// </summary> |
| | | public string ESVideoUUID = string.Empty; |
| | | /// <summary> |
| | | /// 当前用户的房间ID |
| | | /// 例:0801 |
| | | /// </summary> |
| | | public int ESRoomID; |
| | | /// <summary> |
| | | /// 室外机的名称 |
| | | /// 例:室外机 |
| | | /// </summary> |
| | | public string DeviceName = string.Empty; |
| | | /// <summary> |
| | | /// 房间命名 |
| | | /// 例:8栋1单元0801 |
| | | /// </summary> |
| | | public string RoomName = string.Empty; |
| | | /// <summary> |
| | | /// 是否收藏 |
| | | /// </summary> |
| | | public bool IsCollect; |
| | | |
| | | } |
| | | } |