From dc840e2d67654781ebc9c7640e6c44a63a6d04d0 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 11 十二月 2020 09:44:37 +0800 Subject: [PATCH] 2020-12-11 1.注册、忘记密码、重置密码、点击返回到时候屏蔽检测错误提示。底部按钮使能效果优化修改。邮箱变密码输入问题修复。2.网络请求底层增加token过期检测刷新方法。3.更新控件库,iOS EditText取消默认密码输入方式。 --- HDL_ON/Entity/DB_ResidenceData.cs | 37 +++++++++++++++++-------------------- 1 files changed, 17 insertions(+), 20 deletions(-) diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs index 0d6b029..a6e4901 100644 --- a/HDL_ON/Entity/DB_ResidenceData.cs +++ b/HDL_ON/Entity/DB_ResidenceData.cs @@ -134,25 +134,6 @@ instance.SaveResidenceData(); } - new Light() - { - sid = "030101123456780202010005ABCD", - name = "鐏厜1", - attributes = new List<FunctionAttributes>() { - new FunctionAttributes { key="on_off", max=100,min = 0, value= new List<string> { "on","off"} }, - }, - roomIds = new List<string>() { "0001" }, - bus_Data = new BusData - { - addresses = "2A06", - loopId = 1, - }, - }.SaveFunctionData(); - - - - - } catch (Exception ex) @@ -176,6 +157,7 @@ Rooms = null; ins_OidList = null; functionList = null; + HomeGateway = null; if (MainPage.IsRemote) { DAL.Mqtt.MqttClient.DisConnectRemote("閫�鍑虹櫥褰曪紝鎴栬�呭垏鎹綇瀹�"); @@ -287,7 +269,22 @@ public List<Room> Rooms = SpatialInfo.CurrentSpatial.RoomList; #region 鍔熻兘鏁版嵁 - public static FunctionList functionList = FunctionList.List; + static FunctionList _functionList; + public static FunctionList functionList + { + get + { + if (_functionList == null) + { + _functionList = FunctionList.List; + } + return _functionList; + } + set + { + _functionList = value; + } + } #endregion -- Gitblit v1.8.0