WJC
2019-10-31 d7ad5a3953a8cd001659092ebde204b881f94b9d
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs
@@ -572,11 +572,6 @@
                //不能删除Config文件
                return true;
            }
            else if (fileName.StartsWith("DeviceUI_") == true)
            {
                //不能删除设备UI文件
                return true;
            }
            else if (fileName.StartsWith("House_") == true)
            {
                //不能删除住宅文件
@@ -620,7 +615,6 @@
                try
                {
                    ZigBee.Device.ZbGateway.RemoteMqttClient?.DisconnectAsync();
                    ZigBee.Device.ZbGateway.RemoteMqttClient = null;
                }
                catch { }
@@ -840,6 +834,9 @@
                //同步云端的网关id,如果本地拥有云端不存在的id,则表示应该被换绑了,直接删除
                HdlGatewayLogic.Current.SynchronizeDbGateway();
                //初始化住宅对象
                Common.Config.Instance.Home = House.GetHouseByHouseId(Common.Config.Instance.HomeId);
                //初始化房间(郭雪城那边不做处理,需要这里特殊执行一步)
                Room.RefreshAllRoomByLocation();