コード例 #1
0
        private void MakePlaybackOrder()
        {
            switch (Helper.CurrentPlaybackScale)
            {
            case Helper.PlaybackScaleEnum.ACR:
                switch (Helper.CurrentPlaybackMode)
                {
                case Helper.PlaybackModeEnum.Descending:
                    ListOfMediaFiles = Helper.ACR_Descending(ListOfMediaFiles);
                    break;

                case Helper.PlaybackModeEnum.Ascending:
                    ListOfMediaFiles = Helper.ACR_Ascending(ListOfMediaFiles);
                    break;

                case Helper.PlaybackModeEnum.Concave:
                    ListOfMediaFiles = Helper.ACR_Concave(ListOfMediaFiles);
                    break;

                case Helper.PlaybackModeEnum.Convex:
                    ListOfMediaFiles = Helper.ACR_Convex(ListOfMediaFiles);
                    break;

                case Helper.PlaybackModeEnum.Random:
                    ListOfMediaFiles = Helper.ACR_Random(ListOfMediaFiles);
                    break;
                }
                break;

            case Helper.PlaybackScaleEnum.CCR:
                throw new NotImplementedException();

            case Helper.PlaybackScaleEnum.DCR:
                switch (Helper.CurrentPlaybackMode)
                {
                case Helper.PlaybackModeEnum.Descending:
                    ListOfMediaFiles = Helper.DCR_Descending(ListOfMediaFiles, FilesControlObject.TextBox_RefPath.Text);
                    break;

                case Helper.PlaybackModeEnum.Ascending:
                    ListOfMediaFiles = Helper.DCR_Ascending(ListOfMediaFiles, FilesControlObject.TextBox_RefPath.Text);
                    break;

                case Helper.PlaybackModeEnum.Concave:
                    ListOfMediaFiles = Helper.DCR_Concave(ListOfMediaFiles, FilesControlObject.TextBox_RefPath.Text);
                    break;

                case Helper.PlaybackModeEnum.Convex:
                    ListOfMediaFiles = Helper.DCR_Convex(ListOfMediaFiles, FilesControlObject.TextBox_RefPath.Text);
                    break;

                case Helper.PlaybackModeEnum.Random:
                    ListOfMediaFiles = Helper.DCR_Random(ListOfMediaFiles, FilesControlObject.TextBox_RefPath.Text);
                    break;
                }
                break;

            case Helper.PlaybackScaleEnum.DCRmod:
                throw new NotImplementedException();
            }
        }