| | |
| | | #region ■ 变量声明___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 设备Mac地址
|
| | | /// </summary>
|
| | | private string deviceMac = string.Empty;
|
| | | /// <summary>
|
| | | /// 亮度调节的信息
|
| | | /// </summary>
|
| | | private Panel.PanelSwitchLevelInfo linghtLevelInfo = null;
|
| | |
| | | {
|
| | | this.ScrollEnabled = false;
|
| | |
|
| | | this.deviceMac = i_deviceMac;
|
| | | this.listDevice = Common.LocalDevice.Current.GetDevicesByMac(i_deviceMac);
|
| | |
|
| | | //设置头部信息
|
| | |
| | | btnProgressView1.Visible = true;
|
| | | btnProgress1.Visible = true;
|
| | | }
|
| | | //如果当前是展示模板
|
| | | if (Common.Config.Instance.Home.IsShowTemplate == true)
|
| | | {
|
| | | seekBar1.Enable = false;
|
| | | btnSwitch.CanClick = false;
|
| | | }
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | btnLine.Gravity = Gravity.CenterHorizontal;
|
| | | btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
|
| | | frameLinght.AddChidren(btnLine);
|
| | |
|
| | | //如果当前是展示模板
|
| | | if (Common.Config.Instance.Home.IsShowTemplate == true)
|
| | | {
|
| | | seekBar1.Enable = false;
|
| | | }
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | btnLine.Y = Application.GetRealHeight(651);
|
| | | btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
|
| | | frameLinght.AddChidren(btnLine);
|
| | |
|
| | | //如果当前是展示模板
|
| | | if (Common.Config.Instance.Home.IsShowTemplate == true)
|
| | | {
|
| | | seekBar1.Enable = false;
|
| | | }
|
| | | }
|
| | |
|
| | | #endregion
|