wjc
2023-08-09 44d6b49d86f8c531cbed718a8c109f3bc2db2177
HDL_ON/UI/UI2/FuntionControlView/Aks/TvPage.cs
@@ -2,6 +2,7 @@
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
@@ -11,9 +12,24 @@
    /// </summary>
    public class TvPage : BaseFramLayout
    {
        public TvPage()
        /// <summary>
        ///
        /// </summary>
        /// <param name="remoteControlEntity">遥控器对象</param>
        /// <param name="sequencerList">时序器列表</param>
        public TvPage(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;
        /// <summary>
        /// 最上面功能键容器
@@ -92,7 +108,7 @@
            //时序器
            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();