gxc
2019-11-26 2294816f28804660a441038b5cc89921703f4f41
ZigbeeApp/Shared/Phone/Device/AC/ACControl.cs
@@ -117,6 +117,10 @@
        /// </summary>
        private LeftIconButtonRow cleanStatu;
        /// <summary>
        /// IsDrawerLockMode
        /// </summary>
        public bool IsDrawerLockMode;
        #endregion
        #region ◆ 接口___________________________
@@ -354,6 +358,7 @@
            BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor;
            ZigBee.Device.ZbGateway.StatusList.Add(this);
            HomePage.Instance.ScrollEnabled = false;
        }
        #endregion
@@ -370,6 +375,10 @@
            //action = null;
            RemoveUpdateControlDeviceStatuAction();
            HomePage.Instance.ScrollEnabled = true;
            if (IsDrawerLockMode)
            {
                CommonPage.Instance.IsDrawerLockMode = false;
            }
            base.RemoveFromParent();
        }