黄学彪
2020-04-29 b68cdc7e103a00d5df73e4b75603be8da1815b4a
ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceAddSuccessForm.cs
@@ -53,8 +53,8 @@
            //设置全部回路的默认名字
            this.SetAllEpointName();
            //保存门锁时间
            this.SaveDoorTime();
            // 设置网关所在的时区的时间给门锁时间
            this.SetDoorTime();
        }
        /// <summary>
@@ -179,6 +179,8 @@
            btnHelp.Text = Language.StringByID(R.MyInternationalizationString.uMoreSettion);
            btnHelp.ButtonClickEvent += (sender, e) =>
            {
                //更改过一次之后,则界面关闭后不再更改
                this.saveDefultName = string.Empty;
                //改名字
                btnNote.txtInput.FinishInputEvent();
@@ -235,6 +237,8 @@
            detailBackFrame.AddChidren(btnFinish);
            btnFinish.MouseUpEventHandler += (sender, e) =>
            {
                //更改过一次之后,则界面关闭后不再更改
                this.saveDefultName = string.Empty;
                //改名字
                btnNote.txtInput.FinishInputEvent();
                //关闭自身
@@ -283,9 +287,9 @@
        }
        /// <summary>
        /// 保存门锁时间
        /// 设置网关所在的时区的时间给门锁时间
        /// </summary>
        private async void SaveDoorTime()
        private async void SetDoorTime()
        {
            //如果是门锁
            if (this.listNewDevice[0].Type == DeviceType.DoorLock)