wxr
2023-07-19 6fe1c5ebeb8312edc479a4576f05d80c5051a6c6
HDL_ON/UI/MainPage.cs
@@ -26,7 +26,7 @@
        /// <summary>
        /// 版本号
        /// </summary>
        public static string VersionString = "1.8.0";
        public static string VersionString = "1.8.1";
        ///// <summary>
        ///// 客户端类型
        ///// </summary>
@@ -121,6 +121,7 @@
            SPK.AirSwitch,
            SPK.PanelSocket,SPK.ElectricSocket,
            SPK.MechanicalArm,SPK.IpCam_Imou,
            SPK.GroupControl
        };
@@ -223,7 +224,7 @@
#if __ANDROID__
            new System.Threading.Thread(async () =>
            {
                int i = 0;
                int i = 10;
                while (i < 10) {
                    try
                    {
@@ -505,6 +506,19 @@
                }
            }).Start();
            try
            {
#if __ANDROID__
                Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString);
#else
                Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString);
#endif
            }
            catch (Exception ex)
            {
                MainPage.Log("Bugly error");
            }
        }
        /// <summary>
@@ -594,7 +608,11 @@
        public static void Log(string msg)
        {
#if DEBUG
            Console.WriteLine(msg);
            if (msg.Contains("收到数据")
                || msg.Contains("发送")
                )
                Console.WriteLine(msg);
#endif
        }