From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 30 八月 2022 09:37:38 +0800 Subject: [PATCH] 合并了IOS的代码 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlJiguangMsgPushLogic.cs | 116 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 58 insertions(+), 58 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlJiguangMsgPushLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlJiguangMsgPushLogic.cs old mode 100755 new mode 100644 index af8a585..309d8eb --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlJiguangMsgPushLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlJiguangMsgPushLogic.cs @@ -1,61 +1,61 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Text; - -namespace Shared.Phone.UserCenter -{ - /// <summary> - /// 鏋佸厜鎺ㄩ�佹秷鎭殑澶勭悊閫昏緫 - /// </summary> - public class HdlJiguangMsgPushLogic - { - #region 鈻� 鍙橀噺澹版槑___________________________ - - /// <summary> - /// 鏋佸厜鎺ㄩ�佹秷鎭殑澶勭悊閫昏緫 +锘縰sing System; +using System.Collections.Generic; +using System.Text; + +namespace Shared.Phone.UserCenter +{ + /// <summary> + /// 鏋佸厜鎺ㄩ�佹秷鎭殑澶勭悊閫昏緫 + /// </summary> + public class HdlJiguangMsgPushLogic + { + #region 鈻� 鍙橀噺澹版槑___________________________ + + /// <summary> + /// 鏋佸厜鎺ㄩ�佹秷鎭殑澶勭悊閫昏緫 /// </summary> private static HdlJiguangMsgPushLogic m_Current = null; - /// <summary> - /// 鏋佸厜鎺ㄩ�佹秷鎭殑澶勭悊閫昏緫 + /// <summary> + /// 鏋佸厜鎺ㄩ�佹秷鎭殑澶勭悊閫昏緫 /// </summary> - public static HdlJiguangMsgPushLogic Current - { - get - { - if (m_Current == null) - { - m_Current = new HdlJiguangMsgPushLogic(); - } - return m_Current; - } - } - - #endregion - - #region 鈻� 澶勭悊鏋佸厜淇℃伅鎺ㄩ�乢__________________ - - /// <summary> - /// 澶勭悊鏋佸厜淇℃伅鎺ㄩ�� - /// </summary> - /// <param name="title">鏍囬</param> - /// <param name="message">淇℃伅</param> - /// <param name="extras">璐熻浇鏁版嵁</param> - public void AdjustJiguangMsgPush(string title, string message, string extras) - { - if (extras.Contains("Offline") == true) - { - HdlThreadLogic.Current.RunMain(() => - { - //姝ゅ笎鍙峰凡鍦ㄥ埆澶勭櫥褰�,鎮ㄨ杩笅绾� - string msg = Language.StringByID(R.MyInternationalizationString.uHadBeenLoginAndOffLine); - var contr = new ShowMsgControl(ShowMsgType.Tip, msg); - contr.Show(); - //璐﹀彿鍦ㄥ埆澶勭櫥闄嗭紝琚涪涓嬬嚎 - UserCenterLogic.ReLoginAgain(UserCenterResourse.UserInfo.Account, false); - }); - return; - } - } - #endregion - } -} + public static HdlJiguangMsgPushLogic Current + { + get + { + if (m_Current == null) + { + m_Current = new HdlJiguangMsgPushLogic(); + } + return m_Current; + } + } + + #endregion + + #region 鈻� 澶勭悊鏋佸厜淇℃伅鎺ㄩ�乢__________________ + + /// <summary> + /// 澶勭悊鏋佸厜淇℃伅鎺ㄩ�� + /// </summary> + /// <param name="title">鏍囬</param> + /// <param name="message">淇℃伅</param> + /// <param name="extras">璐熻浇鏁版嵁</param> + public void AdjustJiguangMsgPush(string title, string message, string extras) + { + if (extras.Contains("Offline") == true) + { + HdlThreadLogic.Current.RunMain(() => + { + //姝ゅ笎鍙峰凡鍦ㄥ埆澶勭櫥褰�,鎮ㄨ杩笅绾� + string msg = Language.StringByID(R.MyInternationalizationString.uHadBeenLoginAndOffLine); + var contr = new ShowMsgControl(ShowMsgType.Tip, msg); + contr.Show(); + //璐﹀彿鍦ㄥ埆澶勭櫥闄嗭紝琚涪涓嬬嚎 + UserCenterLogic.ReLoginAgain(UserCenterResourse.UserInfo.Account, false); + }); + return; + } + } + #endregion + } +} -- Gitblit v1.8.0