| | |
| | | using Shared.Common; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | using Shared.IOS.HDLFVSDK; |
| | | namespace Shared.Phone.UserCenter |
| | | { |
| | | /// <summary> |
| | |
| | | Shared.IOS.HDLFVSDK.Video.Logout(); |
| | | //重新登录全视通 |
| | | Shared.IOS.HDLFVSDK.Video.Init("", residenceId); |
| | | #endif |
| | | #if Android |
| | | string userName = residenceId; |
| | | string uuid = "0E6AD0F4-FC17-45B4-AB63-08DAD3B09516"; |
| | | string code = "T0061"; |
| | | string httpServer = "120.25.212.198"; |
| | | Com.Evoyohome.Sphonelibs.Global.Global.Login(Application.Activity, userName, uuid, code, httpServer, null); |
| | | #endif |
| | | |
| | | |
| | |
| | | |
| | | Shared.IOS.HDLFVSDK.Video.Init("", listHouse[0].Id); |
| | | #endif |
| | | #if Android |
| | | string userName = listHouse[0].Id; |
| | | string uuid = "0E6AD0F4-FC17-45B4-AB63-08DAD3B09516"; |
| | | string code = "T0061"; |
| | | string httpServer = "120.25.212.198"; |
| | | Com.Evoyohome.Sphonelibs.Global.Global.Login(Application.Activity, userName, uuid, code, httpServer, null); |
| | | #endif |
| | | } |
| | | } |
| | | else { |
| | |
| | | |
| | | Shared.IOS.HDLFVSDK.Video.Init("", Config.Instance.HomeId); |
| | | #endif |
| | | #if Android |
| | | string userName = Config.Instance.HomeId; |
| | | string uuid = "0E6AD0F4-FC17-45B4-AB63-08DAD3B09516"; |
| | | string code = "T0061"; |
| | | string httpServer = "120.25.212.198"; |
| | | Com.Evoyohome.Sphonelibs.Global.Global.Login(Application.Activity, userName, uuid, code, httpServer, null); |
| | | #endif |
| | | } |
| | | Config.Instance.Save(); |
| | | } |