| | |
| | | lightSwitchView.btnText.TextID = StringId.switchLogic; |
| | | fLayout.AddChidren(lightSwitchView.FLayoutView()); |
| | | |
| | | |
| | | ///设备延时iewv |
| | | DelayView(fLayout, lightSwitchView.frameLayout.Bottom); |
| | | #endregion |
| | |
| | | brightnessView.frameLayout.Y = lightSwitchView.frameLayout.Bottom; |
| | | brightnessView.btnText.TextID = StringId.brightnesLogic; |
| | | fLayout.AddChidren(brightnessView.FLayoutView()); |
| | | //brightnessView.btnState.Text = "5%";//产品经理晓辉要求改的 2021-11-06 |
| | | brightnessView.btnState.Text = "5%";//产品经理晓辉要求改的 2021-11-06 |
| | | ///设备延时iewv |
| | | DelayView(fLayout, brightnessView.frameLayout.Bottom); |
| | | #endregion |
| | |
| | | { |
| | | //HDL_ON.DriverLayer.Control.Ins.GetMusicDirectory(device); |
| | | //var palyListName = Music.SendMethod.mMethod.GetListName(device); |
| | | var palyList= Music.SendMethod.mMethod.GetListMusic(device, "hdl_special"); |
| | | var palyList= Music.SendMethod.Current.GetListMusic(device, "hdl_special"); |
| | | List<string> musicNameList = new List<string>(); |
| | | for (int i = 0; i < palyList.songs.Count; i++) |
| | | { |
| | |
| | | { |
| | | loading.Hide(); |
| | | PublicInterface publicInterface = new PublicInterface(); |
| | | publicInterface.FrameOrVv(this, musicNameList, new List<string> { funTypeView.btnState.Text }, palyList.group, (index) => |
| | | publicInterface.FrameOrVv(this, musicNameList, new List<string> { funTypeView.btnState.Text }, palyList.group, (index2) => |
| | | { |
| | | var musicSelecetd = palyList.songs[index]; |
| | | var musicSelecetd = palyList.songs[index2]; |
| | | //界面显示选中值 |
| | | funTypeView.btnState.Text = musicSelecetd.name; |
| | | //数据封装 |
| | |
| | | /// <summary> |
| | | /// 亮度/百分比=功能下一级界面 |
| | | /// </summary> |
| | | /// <param name="device">设备对象</param> |
| | | /// <param name="button">显示状态对象</param> |
| | | /// <param name="titleName">标题</param> |
| | | /// <param name="device"></param> |
| | | /// <param name="button"></param> |
| | | private void BrightnessMethod(Entity.Function device, Button button, string titleName) |
| | | { |
| | | #region 界面 |