wxr
2023-04-07 a3313818a548d51777ae4e6cc006e9d1e2c1036e
HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs
@@ -214,11 +214,11 @@
                TextAlignment = TextAlignment.Center,
                UnSelectedImagePath = "FunctionIcon/DoorLock/Cell.png",
            };
            cellFrame.AddChidren(btnCell);
            cellFrame.AddChidren(btnCell);
             //门锁状态
             btnDoorLockIcon = new Button
            //门锁状态
            btnDoorLockIcon = new Button
            {
                X = Application.GetRealWidth(65),
                Y = Application.GetRealHeight(108),
@@ -317,7 +317,7 @@
            //实时视频
            this.rtvFL.SetClickListener((fl, btnStateImage, btnStateText) =>
            {
                CommonMethod.Current.SkipRTVActivity(this.device.sid, this.device.deviceId, this.device.spk,false);
                CommonMethod.Current.SkipRTVActivity(this.device.sid, this.device.deviceId, this.device.spk, false);
            });
            //临时密码
            this.pswFL.SetClickListener((fl, btnStateImage, btnStateText) =>
@@ -363,7 +363,7 @@
            });
        }
        /// <summary>
        /// 重新计算宽度(设备名称,房间控件)
@@ -392,15 +392,22 @@
        {
            CommonMethod.Current.MainThread(() =>
            {
                if (this.btnDoorLockIcon != null && !this.btnDoorLockIcon.IsSelected)
                if (pushMessageType == PushMessageType.Alarm)
                {
                    this.btnDoorLockIcon.IsSelected = false;
                    //门锁电池值
                    if (this.btnCell != null)
                    {
                        //videoDoorLockPage.btnCell.Text = "";
                    }
                }
                //门锁电池值
                if (this.btnCell != null)
                else
                {
                    //videoDoorLockPage.btnCell.Text = "";
                    if (this.btnDoorLockIcon != null && !this.btnDoorLockIcon.IsSelected)
                    {
                        this.btnDoorLockIcon.IsSelected = false;
                    }
                }
            });
        }