mac
2023-10-14 b55fe675d1dd17748a29e4e7de60d14e36740a6e
HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs
@@ -47,6 +47,13 @@
        public SxqPage(List<SequencerEntity> sequencerList, string deviceId)
        {
            this.sequencerList = sequencerList;
            for (int i = 0; i < 12; i++) {
                this.sequencerList.Add(new SequencerEntity {seqId=i.ToString(),name=i.ToString(),type=1 });
            }
            for (int i = 0; i < 4; i++)
            {
                this.sequencerList.Add(new SequencerEntity { seqId = i.ToString(), name = i.ToString(), type = 2 });
            }
            this.deviceId = deviceId;
        }
        public void Show()
@@ -97,7 +104,7 @@
                VerticalBoutonFLayout buttonFram = new VerticalBoutonFLayout();
                buttonFram.AddView(fLayout);
                buttonFram.Tag = sequencer;
                buttonFram.Y = Application.GetRealWidth(16) + Application.GetRealHeight((VerticalBoutonFLayout.heightFrameLayout + 16) * line);
                buttonFram.Y = Application.GetRealWidth(16) + Application.GetRealHeight((VerticalBoutonFLayout.heightFrameLayout + 8) * line);
                buttonFram.X = Application.GetRealWidth(16) + Application.GetRealWidth((VerticalBoutonFLayout.widthFrameLayout + 8) * xCount);
                buttonFram.btnName.Text = sequencer.name;
                xCount++;
@@ -127,7 +134,7 @@
            }
            fLayout.AdjustRealHeight(16);
            fLayout.AdjustRealHeight(8);
            var list2 = this.sequencerList.FindAll((o) => o.type == 2);
            for (int i = 0; i < list2.Count; i++)