黄学彪
2019-12-09 163777d8a2cb7cfa469f54a7042528870ebc10a3
ZigbeeApp/Shared/Common/CommonPage.cs
@@ -7,7 +7,7 @@
using Shared.Phone.UserCenter.Abount;
namespace Shared.Common
{
    public class CommonPage : FrameLayout
    public class CommonPage : UIDrawerLayout
    {
        static CommonPage commonPage;
        public static CommonPage Instance
@@ -43,6 +43,11 @@
            Application.MainPage.AddChidren(Loading);
            //}
            Phone.UserView.HomePage.Instance.InitPage();
            var roomList = new Shared.Phone.Device.Room.RoomManagement();
            Instance.AddLeftView(roomList);
            roomList.Show();
        }
        public static string SoftTitle = "ZigBee";
@@ -57,7 +62,7 @@
        /// <summary>
        /// 版本号
        /// </summary>
        public static string CodeIDString = "1.0.19112201";
        public static string CodeIDString = "1.0.19120901";
        /// <summary>
        /// 注册来源(0:HDL On 1:Zigbee)
        /// </summary>
@@ -325,8 +330,6 @@
#if DEBUG
                System.Console.WriteLine(e.Message);
#endif
                //Log出力
                Phone.UserCenter.HdlLogLogic.Current.WriteLog(e);
                return null;
            }
        }
@@ -388,7 +391,7 @@
                    }
                    var responeData = Newtonsoft.Json.JsonConvert.DeserializeObject<ResponseEntity.ApkInfoRes>(result.ResponseData.ToString());
                    if (responeData == null || responeData.pageData == null || responeData.pageData.Count==0)
                    if (responeData == null || responeData.pageData == null || responeData.pageData.Count == 0)
                    {
                        return null;
                    }
@@ -535,7 +538,7 @@
        {
            try
            {
                Application.RunOnMainThread( () =>
                Application.RunOnMainThread(() =>
                {
                    //设定一个时间
                    Config.Instance.LoginDateTime = new DateTime(1970, 1, 1);