예제 #1
0
        protected bool CheckItemData()
        {
            var data = Data as TotalRecordItemData;

            if (data != null)
            {
                _curItemData = data;
                ShowItem(Id, App.UserId);
                return(true);
            }
            return(false);
        }
예제 #2
0
 /// <summary>
 /// 设置时间,房卡号,局数相关信息
 /// </summary>
 /// <param name="itemData"></param>
 private void SetItemInfo(TotalRecordItemData itemData)
 {
     if (Time != null)
     {
         Time.text = itemData.Time;
     }
     SelfSpecialColorldata();
     if (UpdateTime != null)
     {
         var updateTime = itemData.UpdateTime;
         if (string.IsNullOrEmpty(updateTime))
         {
             updateTime = itemData.Time;
         }
         UpdateTime.text = updateTime;
     }
     RoomId.text   = itemData.ShowRoomId;
     RoundNum.text = string.Format(RoundFormat, Id);
 }
예제 #3
0
 /// <summary>
 /// 设置时间,房卡号,局数相关信息
 /// </summary>
 /// <param name="itemData"></param>
 private void SetItemInfo(TotalRecordItemData itemData)
 {
     Time.text     = itemData.Time;
     RoomId.text   = itemData.ShowRoomId;
     RoundNum.text = string.Format(RoundFormat, Id);
 }