WJC
2020-01-15 c6ff92e84b6cb2815cb98065ecb0ecf95d0689c3
ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs
@@ -62,6 +62,10 @@
        private Button StatuBtn;
        /// <summary>
        /// IsDrawerLockMode
        /// </summary>
        public bool IsDrawerLockMode;
        #endregion
        #region ◆ 接口__________________________
@@ -182,6 +186,10 @@
            ZbGateway.StatusList.Remove(this);
            //action();
            //action = null;
            if (IsDrawerLockMode)
            {
                CommonPage.Instance.IsDrawerLockMode = false;
            }
            RemoveUpdateControlDeviceStatuAction();
            base.RemoveFromParent();
        }