From 23420922845c9e77019a55c3b3e3271eb1ec261e Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 13 七月 2020 11:42:18 +0800
Subject: [PATCH] 新版本
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightFloorMenuControl.cs | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightFloorMenuControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightFloorMenuControl.cs
index 9238cc3..4ed629e 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightFloorMenuControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightFloorMenuControl.cs
@@ -35,6 +35,10 @@
/// 琛屾暟
/// </summary>
private int RowCount = 0;
+ /// <summary>
+ /// 褰撳墠妤煎眰id
+ /// </summary>
+ private string nowFloorId = string.Empty;
#endregion
@@ -48,9 +52,11 @@
/// <para>1: 395瀹藉害</para>
/// <para>2: 449瀹藉害</para>
/// </param>
+ /// <param name="i_floorId">褰撳墠閫夋嫨鐨勬ゼ灞侷D</param>
/// <param name="titleText">鏍囬鏂囨湰(濡傛灉涓嶄负绌�,鑿滃崟妯″紡鍙樻洿涓烘嫢鏈夋爣棰樼殑妯″紡)</param>
- public TopRightFloorMenuControl(int i_RowCount, int i_widthType, string titleText = null)
+ public TopRightFloorMenuControl(int i_RowCount, int i_widthType,string i_floorId, string titleText = null)
{
+ this.nowFloorId = i_floorId;
this.RowCount = i_RowCount;
if (i_widthType == 1)
{
@@ -162,7 +168,7 @@
btnLine.X = Application.GetRealWidth(81);
}
- if (floorId == Common.Config.Instance.Home.CurrentFloorId)
+ if (this.nowFloorId == floorId)
{
//褰撳墠妤煎眰榛樿璁剧疆涓洪�夋嫨鐘舵��
this.SetRowSelectStatu(rowFrame, true);
--
Gitblit v1.8.0