From c1547bfd3de3528fbadfd7b9154086a1f1c7ece2 Mon Sep 17 00:00:00 2001 From: lss <lsc@hdlchina.com.cn> Date: 星期三, 15 六月 2022 13:03:59 +0800 Subject: [PATCH] 测试推送正常 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs index 459e2bd..68a3f11 100644 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs @@ -1,8 +1,6 @@ 锘縰sing Shared.Common; using System; using System.Collections.Generic; -using System.Text; -using Shared.IOS.HDLFVSDK; namespace Shared.Phone.UserCenter { /// <summary> @@ -116,6 +114,13 @@ Shared.IOS.HDLFVSDK.Video.Logout(); //閲嶆柊鐧诲綍鍏ㄨ閫� Shared.IOS.HDLFVSDK.Video.Init("", residenceId); +#endif +#if Android + string userName = residenceId; + string uuid = "10F908BA-CA5A-4041-9D1A-382E6A004F74"; + string code = "T0001"; + string httpServer = "120.24.41.192"; + Com.Evoyohome.Sphonelibs.Global.Global.Login(Application.Activity, userName, uuid, code, httpServer, null); #endif @@ -306,6 +311,13 @@ Shared.IOS.HDLFVSDK.Video.Init("", listHouse[0].Id); #endif +#if Android + string userName = listHouse[0].Id; + string uuid = "10F908BA-CA5A-4041-9D1A-382E6A004F74"; + string code = "T0001"; + string httpServer = "120.24.41.192"; + Com.Evoyohome.Sphonelibs.Global.Global.Login(Application.Activity, userName, uuid, code, httpServer, null); +#endif } } else { @@ -314,6 +326,13 @@ //鍒濆鍖栧叏瑙嗛�� Shared.IOS.HDLFVSDK.Video.Init("", Config.Instance.HomeId); #endif +#if Android + string userName = Config.Instance.HomeId; + string uuid = "10F908BA-CA5A-4041-9D1A-382E6A004F74"; + string code = "T0001"; + string httpServer = "120.24.41.192"; + Com.Evoyohome.Sphonelibs.Global.Global.Login(Application.Activity, userName, uuid, code, httpServer, null); +#endif } Config.Instance.Save(); } -- Gitblit v1.8.0