From b304a3c78df10b6e9b867e677d3e4719f1d4a7aa Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期二, 24 三月 2020 09:12:15 +0800 Subject: [PATCH] 2020-03-23-3 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs | 37 ++++++++++++++++++++++++++++--------- 1 files changed, 28 insertions(+), 9 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs index ac08e64..062c187 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UserDoorLockPage.cs @@ -171,7 +171,7 @@ #endregion /// <summary> - /// UI鏄剧ず + /// UI鏄剧ず /// </summary> public void Show() { @@ -242,6 +242,16 @@ IsBold = true, }; midTopFrameLayout.AddChidren(btnDoorLockTitle); + //鑾峰彇Mac鍚嶅瓧 + btnDoorLockTitle.Text = Common.LocalDevice.Current.GetDeviceMacName(doorLock); + + var btnRecordFrameLayout = new FrameLayout() + { + Width = Application.GetRealWidth(69+15+46), + Height = Application.GetRealHeight(69+46 * 2), + X = Application.GetRealWidth(752-46), + }; + midTopFrameLayout.AddChidren(btnRecordFrameLayout); //璁板綍 btnRecordFrameLayout = new FrameLayout() @@ -449,6 +459,15 @@ }; midTopFrameLayout.AddChidren(btnCurrentTopFrameLayout); + var btnCurrentTopFrameLayout = new FrameLayout() + { + Height = Application.GetRealHeight(50), + Width = Application.GetRealWidth(965), + BackgroundColor = ZigbeeColor.Current.XMBlack, + Y = Application.GetRealHeight(1100), + }; + midTopFrameLayout.AddChidren(btnCurrentTopFrameLayout); + var btnCurrentFrameLayout = new FrameLayout() { Width = Application.GetRealWidth(965), @@ -483,7 +502,7 @@ TextAlignment = TextAlignment.CenterLeft, }; btnCurrentFrameLayout.AddChidren(btnCurrentRoomName); - #endregion + #endregion } #region 闊抽噺寮圭獥 @@ -537,7 +556,7 @@ ThumbImagePath = "DoorLock/UnLockButton.png",//杩涘害鏉℃寜閽浘鏍� ThumbImageHeight = Application.GetRealHeight(81),//杩涘害鏉℃寜閽浘鏍囩殑楂樺害锛堥粯璁ゆ鏂瑰舰锛氬鍜岄珮涓�鏍凤級 ProgressTextColor = ZigbeeColor.Current.LogicBtnCancelColor, - ProgressTextSize = 12,//鏄剧ず鐧惧垎姣斿瓧浣撳ぇ灏� + ProgressTextSize = 12,//鏄剧ず鐧惧垎姣斿瓧浣撳ぇ灏� SeekBarViewHeight = Application.GetRealHeight(17),//杩涘害鏉$殑瀹藉害 Progress = (currentVolume * (Convert.ToInt32(((float)100 / 15) * 100))) / 100, }; @@ -651,9 +670,9 @@ #endregion - #region 鍏叡浜嬩欢澶勭悊 + #region 鍏叡浜嬩欢澶勭悊 /// <summary> - /// 浜嬩欢澶勭悊 + /// 浜嬩欢澶勭悊 /// </summary> public void ClickHandle() { @@ -938,7 +957,7 @@ } #endregion - #region 甯稿紑妯″紡 + #region 甯稿紑妯″紡 /// <summary> /// 甯稿紑妯″紡澶勭悊 /// </summary> @@ -999,7 +1018,7 @@ alertNomallyModeIsTurnOn.Show(); alertNomallyModeIsTurnOn.LogicClickEvent += () => { - //鑷姩鍖� + //鑷姩鍖� }; alertNomallyModeIsTurnOn.InvalidClickEvent += async () => { @@ -1109,7 +1128,7 @@ /// </summary> private void NomallyOpenModeInvalidTimeDialog() { - //澶辨晥璁剧疆 + //澶辨晥璁剧疆 string msgTimeInValidSetting = Language.StringByID(R.MyInternationalizationString.DoorLockOpenAllTheTime); var timeConfrim = Language.StringByID(R.MyInternationalizationString.Confrim); var alertTimeInValidSetting = new ShowDoorLockMsgControl(ShowDoorLockMsgControl.DoorLockMsgType.InValid, msgTimeInValidSetting, timeConfrim); @@ -1174,7 +1193,7 @@ } #endregion - #region 寮�閿佸鐞� + #region 寮�閿佸鐞� /// <summary> /// 寮�閿佸鐞� /// </summary> -- Gitblit v1.8.0