wxr
2023-06-05 a2572dfd5f01df2f8c6980e53ff01d1100fbb5c8
HDL_ON/UI/UI2/FuntionControlView/DoorLock/DoorLockPage.cs
@@ -856,6 +856,12 @@
                HdlMessageLogic.Current.ShowMassage(ShowMsgType.Tip, Language.StringByID(StringId.EffectiveTimeMustBeOverFailureTime));
                return false;
            }
            if ((endTime - startTime).TotalHours>=24)
            {
                //临时密码有效期不能大于24小时
                HdlMessageLogic.Current.ShowMassage(ShowMsgType.Tip, Language.StringByID(StringId.TempPwdValidityTip));
                return false;
            }
            return true;
        }
@@ -887,6 +893,8 @@
        /// </summary>
        private void RefreshFormStatu()
        {
            try
            {
            //如果不在线
            if (this.doorLockData.IsOnline == false)
            {
@@ -916,6 +924,13 @@
                    this.btnNormallyOpenIcon.UnSelectedImagePath = "FunctionIcon/DoorLock/NormallyOpenIcon1.png";
                }
            }
                this.seekBarVoiceControl.Progress = this.doorLockData.Voice;
                this.btnVoicePersent.Text = this.doorLockData.Voice.ToString();
            }
            catch (Exception ex)
            {
                MainPage.Log($"界面更新异常,门锁:{ex.Message}");
            }
        }
        /// <summary>