gxc
2019-12-11 0ca3aa21580e988e340b88360cda23b501fa65f2
ZigbeeApp/Shared/Phone/UserView/UserPage.cs
@@ -39,7 +39,7 @@
        /// <summary>
        /// 底部按钮文字的Y值
        /// </summary>
        private static readonly int tabBarEnumName_Y = 104;
        private static readonly int tabBarEnumName_Y = 98;
        #endregion
        #region ◆ 接口____________________________
@@ -186,6 +186,18 @@
                                    case 28:
                                        ac.currentSystemMode = attriButeList[0].AttriButeData;
                                        ac.LastDateTime = DateTime.Now;
                                        break;
                                    case 4099:
                                        var value = Convert.ToString(attriButeList[0].AttriButeData, 2).PadLeft(16, '0');
                                        var modeStr = value.Substring(value.Length - 5, 5);
                                        for (int j = 0; j < modeStr.Length; j++)
                                        {
                                            ac.listSupportMode[j] = Convert.ToInt32(modeStr[j]) == 49 ? 1 : 0;
                                        }
                                        break;
                                    case 4097:
                                        ac.CleanStatu = attriButeList[0].AttriButeData == 42;
                                        break;
                                }
                            }
@@ -483,7 +495,7 @@
                var home = new UserHomeView { };
                Instance.BodyView.AddChidren(home);
                home.Show();
            }
            else if (sender == Instance.categoryIMG || sender==Instance.categoryName)
            {