| | |
| | | using System.Collections.Generic; |
| | | using HDL_ON.UI.Music; |
| | | using HDL_ON.UI.UI2.FuntionControlView.Aks.CommonView; |
| | | using HDL_ON.UI.UI2.FuntionControlView.Aks.Entity; |
| | | using Shared; |
| | | using static HDL_ON.UI.UI2.FuntionControlView.Aks.AksPage; |
| | | namespace HDL_ON.UI.UI2.FuntionControlView.Aks |
| | |
| | | /// </summary> |
| | | public class TyyPage : BaseFramLayout |
| | | { |
| | | public TyyPage() |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="remoteControlEntity">遥控器对象</param> |
| | | /// <param name="sequencerList">时序器列表</param> |
| | | public TyyPage(RemoteControlEntity remoteControlEntity, List<SequencerEntity> sequencerList) |
| | | { |
| | | this.remoteControl = remoteControlEntity; |
| | | this.sequencerList = sequencerList; |
| | | } |
| | | /// <summary> |
| | | /// 时序器列表 |
| | | /// </summary> |
| | | private List<SequencerEntity> sequencerList; |
| | | /// <summary> |
| | | /// 当前的遥控器对象 |
| | | /// </summary> |
| | | private RemoteControlEntity remoteControl; |
| | | public Action<IntType> action; |
| | | CornerFramLayout cornerTopFram; |
| | | MenuFramLayout menuFram; |
| | |
| | | //时序器 |
| | | typeMultiFramLayout.SetLeftFlClickListener((f) => |
| | | { |
| | | SxqPage sxqPage = new SxqPage(); |
| | | SxqPage sxqPage = new SxqPage(this.sequencerList, this.remoteControl.deviceId); |
| | | MainPage.BasePageView.AddChidren(sxqPage); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | sxqPage.Show(); |
| | |
| | | cornerTopFram.X = Application.GetRealWidth(16); |
| | | cornerTopFram.Y = btnTitle.Bottom + Application.GetRealHeight(16); |
| | | this.AddChidren(cornerTopFram); |
| | | cornerTopFram.SetList(cornerTopFram.GetTestList(17)); |
| | | cornerTopFram.SetMargin(16, 0, 16, 0); |
| | | cornerTopFram.LoadButtonPage(new List<int> { 3, 4, 5 }); |
| | | cornerTopFram.LoadButtonPage(AksCommonMethod.Current.GetTYYKeypadList(),new List<int> { 3, 4, 5 }); |
| | | |
| | | |
| | | CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 17); |