陈嘉乐
2020-06-16 7167334c0e89dd84827d59e726123d14776e3a09
HDL_ON/UI/MainPage.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using HDL_ON.DAL;
using HDL_ON.UI;
using HDL_ON.UI.CSS;
using Shared;
@@ -19,6 +20,10 @@
        public static string VersionString = "1.0103";
        public static Entity.CityInfo cityInfo = new Entity.CityInfo();
        public static Action RefreshAir;
        /// <summary>
        /// 公司代码
        /// 预留第三方定制标记
@@ -26,6 +31,9 @@
        /// </summary>
        public static int Company = 0;
        /// <summary>
        /// 是否全面屏手机
        /// </summary>
        public static bool Increase
        {
            get
@@ -64,12 +72,25 @@
                }
                else
                {
                    new System.Threading.Thread(() =>
                    {
                        var pm =new DAL.Server.HttpServerRequest();
                        pm.GetUserInfo();//刷新个人信息
                    })
                    { IsBackground = true }.Start();
                    new System.Threading.Thread(() =>
                    {
                        var pm = new DAL.Server.HttpServerRequest();
                        pm.GetHomePager();//刷新住宅信息
                    })
                    { IsBackground = true }.Start();
                    GoUserPage();
                    AppUnlockPage.LoadPage();
                }
            }
            catch (Exception ex)
            {
                MainPage.Log("root erorr : " + ex.Message);
                Log("root erorr : " + ex.Message);
            }
        }